From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: Joel Brobecker , Kevin Buettner Cc: Michael Snyder , gdb-patches@sources.redhat.com Subject: Re: Pb when calling a nested function in the inferior Date: Tue, 31 Jul 2001 01:20:00 -0000 Message-id: <1010731081941.ZM6307@ocotillo.lan> References: <20010730144818.A4726@act-europe.fr> <3B659961.26242FE@cygnus.com> <1010730183050.ZM5116@ocotillo.lan> <20010730232457.A8362@act-europe.fr> <1010730224909.ZM5581@ocotillo.lan> <20010731092456.B31388@act-europe.fr> X-SW-Source: 2001-07/msg00747.html On Jul 31, 9:24am, Joel Brobecker wrote: > > BTW, GDB isn't particularly graceful in its handling of the ``get_value.0'' > > symbol. E.g, observe what happens when I do ``x/i get_value.0'': > > > > (gdb) x/i get_value.0 > > No symbol "get_value" in current context. > > That's curious. With my version of gdb, I don't get the same result > (using GNU gdb 2001-07-30-cvs (MI_OUT)): > (gdb) x/10i get_value.0 > A parse error in expression, near `'. > (gdb) x/4i get_value > 0x8048468 : push %ebp > 0x8048469 : mov %esp,%ebp > 0x804846b : sub $0x4,%esp > 0x804846e : mov %ecx,0xfffffffc(%ebp) Which vesion of gcc are you using? (I'm using 2.96 from Red Hat 7.0.) Kevin