This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: cannot subscript something of type <data variable, no debug info>
----- Original Message -----
From: "Daniel Jacobowitz" <drow@false.org>
To: "Daniel Miller (IMI)" <dan@imi-test.com>
Cc: "Michael Chastain" <mec.gnu@mindspring.com>; <gdb@sources.redhat.com>
Sent: Tuesday, August 24, 2004 09:34
Subject: Re: cannot subscript something of type <data variable, no debug
info>
> > But, when I run 'objdump tester -g', it says:
> >
> > I tried -ggdb, and it says the same thing... clearly, something's wrong
with
> > my system, or at least with my compiler installation...
>
> No, that's standard. Nowadays use readelf -wi.
>
Ahhh!!! Thank you, Daniel... I've never heard of readelf before...
And indeed, the symbol table of the binary with separate header does *not*
show S_Module, while the combined file does... hmmm...