Re: gdb can't read symbol table (Dwarf Error) Which platform are you on? What is the what string for gdb and gcc and what
is the version string for gdb
(gdb -version)?
-Bindu
"Ronald Fischer" <ronaldf@eml.cc> wrote in message
news:219750c.0404212341.791c6a3c@posting.google.co m...
> Even for a trivial C program which I compile with gcc -g, and which runs
> well, I can not access the symbol table with gdb. When I run gdb on the
> executable, it complains
>
> Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader
>
> and when I ask gdb to set a breakpoint on main (for instance), it says
that
> "main" was not found.
>
> The same happens when I compile with -ggdb instead of -g!
>
> I'm using gcc 3.2 and gdb 3.1
>
> Ronald |