This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Variable "foo" is not available


On Sat, Apr 02 2005, Eli Zaretskii wrote:

> Rainer, could you please use the GDB "up" command a few times, and
> after each time type "info args" and see whether that does give you
> the arguments of the function call in that frame?

I will do this when I'm back in the office.

> Rainer, could you please tell exactly which compiler switches were
> used to build that version of Emacs?

I didn't specify any compiler related configure arguments (only
--prefix, --with-gtk and --exec-prefix) so I use the default options
from Emacs' built system:

,----[ src/Makefile ]
| CC=gcc
| CPP=gcc -E
| CFLAGS=-g -O2
| CPPFLAGS=-D_BSD_SOURCE  
| LDFLAGS= -Wl,-znocombreloc -L/usr/X11R6/lib64
`----

> In any case, if Rainer could build the latest snapshot of GDB and see
> if the values of the rest of the function call arguments are printed
> (as opposed to all of them generating the "not available" message), it
> would perhaps tell us something about the underlying problem.

This problem is not reproducible.  It's the first time I got those
`Variable "foo" is not available' messages when running Emacs under
gdb (see my previous reports on emacs-pretest).  Is it possible to
detach from this session from gdb and re-attach it to the snapshot
gdb?

Bye, Reiner                ...without any `a' in his name.  ;-)
-- 
PGP key available                  http://rsteib.home.pages.de/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]