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

Iso-H
2002-02-24T21:29:23Z

On Sun, 24 Feb 2002, Michael Elizabeth Chastain wrote:

> I was unclear, I am sorry.

I think I was more unclear, double 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.

Yes, I tried exactly that without success, but perhaps
I messed up something; I have to try that again later, I don't
have gdb-5.0 here at work...

>
> Michael C
>

--

Iso-H