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

Michael Elizabeth Chastain
2002-02-24T20:33:21Z

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