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>
On Tue, Aug 24, 2004 at 09:25:11AM -0700, Daniel Miller (IMI) wrote:
> Well, this gets odder and odder... I'm enclosing the newly-built binary,
> compiled exactly as you specified. I'm also enclosing the screen dump from
> the build, you can see my build command at the top...
>
> But, when I run 'objdump tester -g', it says:
>
> $ objdump tester -g
>
> tester: file format elf32-i386
>
> objdump: tester: no recognized debugging information
>
> !!!!!!!!!!!!!!
> 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.
--
Daniel Jacobowitz