From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Brobecker To: 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:36:00 -0000 Message-id: <20010731103646.E31388@act-europe.fr> 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> <1010731081941.ZM6307@ocotillo.lan> X-SW-Source: 2001-07/msg00749.html > > > (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.) I'm using 2.95.2 20000220 (Debian GNU/Linux) (debian potato). I get the same results with gcc 2.8.1. -- Joel