This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Lot of FAILs with gdb.base/structs.exp


Hi,

I'm working on OpenRISC GDB 7.5 port. While running the testsuite,
I get some FAILs with gdb.base/structs.exp. One of the problem is
isolated here:

dir ../../or1k-src/gdb/testsuite/gdb.base
file /home/franck/openRISC/bld-or1k-src/gdb/testsuite/gdb.base/structs-tc
target sim
load
set print sevenbit-strings
set print address off
set width 0
set print elements 300
delete breakpoints
info breakpoints
break main
target sim
load
run
info source
break 407
continue
p chartest
ptype foo1
p/c fun1()

result:
-------
....

type = struct struct1 {
    tc a;
}
[Inferior 1 (process 42000) exited with code 0400]
test_struct.txt:20: Error in sourced command file:
The program being debugged exited while in a function called from GDB.
Evaluation of the expression containing the function
(fun1) will be abandoned.
(gdb) bt
No stack.
(gdb)

While calling "p/c fun1()", the program exit and I have no clue
where I should start debugging this...

Any advice ?

Thanks in advance.

Franck.

Attachment: gdb.sum
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]