hagaiy
asked on
Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader
hello.
i am compiling a program with gcc 3.1 .
i am trying to debug it with gdb 5.0 and i get this error :
"Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader"
can anyone tell me what "Dwarf" is ? what causes this problem ? how can i solve it ?
tx.
hagai yaffe.
i am compiling a program with gcc 3.1 .
i am trying to debug it with gdb 5.0 and i get this error :
"Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader"
can anyone tell me what "Dwarf" is ? what causes this problem ? how can i solve it ?
tx.
hagai yaffe.
"DWARF" is is a debug information format. Try to add '-ggdb' to the compiler options to produce native degugging information.
Well, did this help?
Err, if not, could you give some more detailed information about e.g. the OS you are using as well as the gdb version involved?
ASKER
my os is solaris 8 runing on a sparc balde 100 machine.
gcc 3.1 and gdb 5.0.
gcc 3.1 and gdb 5.0.
ASKER
my os is solaris 8 runing on a sparc balde 100 machine.
gcc 3.1 and gdb 5.0.
gcc 3.1 and gdb 5.0.
ASKER
the problem was the the linker, i have got a new version of ld and now o can use gdb.
tx jkr.
tx jkr.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.