This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb-5.x and step over inline functions
- From: Iso-H <jd at ts dot ray dot fi>
- To: gdb at sources dot redhat dot com
- Date: Sun, 24 Feb 2002 23:29:14 +0200 (EET)
- Subject: Re: gdb-5.x and step over inline functions
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