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: Tue, 26 Feb 2002 09:44:19 +0200 (EET)
- Subject: Re: gdb-5.x and step over inline functions
On Sun, 24 Feb 2002, Iso-H wrote:
> On Sun, 24 Feb 2002, Michael Elizabeth Chastain wrote:
>
> > ...
> >
> > You wrote:
> > > gdb-5.0 works as expected, but now I have problem ...
> > >
> > > ...Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.
> >
> > I am suggesting that you try gdb 5.0, gcc 3.x, and "-gstabs+" when you
> > ....
>
> 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...
>
Doesn't work (perfectly); here are the results:
gcc gdb
------------------------------------------------
2.95.3 5.0: gdb works as expected
3.0.1 5.0: gdb starts, but gdb can't list anything
ie. if I say: 'list f_somefunction' then
gdb says: 'Function "f_somefunction" not defined.'
even if "f_somefunction" is there.
3.0.3 5.0: same
3.1-20020114 5.0: gdb starts if source is compiled with
"-gstabs+", but I still can't list anything
x.x.x 5.1-20020124: gdb works, but with "inline problem"
>
> >
> > Michael C
> >
>
>
--
Iso-H