Link to home
Start Free TrialLog in
Avatar of hagaiy
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.
Avatar of jkr
jkr
Flag of Germany image

"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?
Avatar of hagaiy
hagaiy

ASKER

my os is solaris 8 runing on a sparc balde 100 machine.
gcc 3.1 and gdb 5.0.
Avatar of hagaiy

ASKER

my os is solaris 8 runing on a sparc balde 100 machine.
gcc 3.1 and gdb 5.0.
Avatar of hagaiy

ASKER

the problem was the the linker, i have got a new version of ld and now o can use gdb.

tx jkr.
ASKER CERTIFIED SOLUTION
Avatar of Mindphaser
Mindphaser

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial