Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader

hagaiy
hagaiy used Ask the Experts™
on
 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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
jkr
Top Expert 2012

Commented:
"DWARF" is is a debug information format. Try to add '-ggdb' to the compiler options to produce native degugging information.
jkr
Top Expert 2012

Commented:
Well, did this help?
jkr
Top Expert 2012

Commented:
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?
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Author

Commented:
my os is solaris 8 runing on a sparc balde 100 machine.
gcc 3.1 and gdb 5.0.

Author

Commented:
my os is solaris 8 runing on a sparc balde 100 machine.
gcc 3.1 and gdb 5.0.

Author

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

tx jkr.
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial