This is the mail archive of the gdb@sources.redhat.com 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]

Re: gdb-5.x and step over inline functions


I was unclear, I am sorry.

You wrote:
> gdb-5.0 works as expected, but now I have problem
> with gcc >= 3.x because gdb-5.0 won't work with binaries
>  compiled by gcc-3.x; when I start gdb, it only says:
> 
>     ...Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.

I was responding to that part.

I am suggesting that you try gdb 5.0, gcc 3.x, and "-gstabs+" when you
compile.  Then you can have the "step over inline functions" behavior
that you want in gdb 5.0, while avoiding any problems with the dwarf
symbol reader in gdb 5.0.

Michael C


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