List command question

Manoj Iyer
Mon May 17 15:29:00 GMT 2004

> >manjo@nefertiti:~/projects/src> cc -o ~/tests/test ~/tests/test.c
> >manjo@nefertiti:~/projects/src> ./gdb/gdb ~/tests/test
> >GNU gdb 2004-04-17-cvs
> >Copyright 2004 Free Software Foundation, Inc.
> >GDB is free software, covered by the GNU General Public License, and
> you
> >are
> >welcome to change it and/or distribute copies of it under certain
> >conditions.
> >Type "show copying" to see the conditions.
> >There is absolutely no warranty for GDB.  Type "show warranty" for
> >details.
> >This GDB was configured as "powerpc64-gnu-linux"...Using host
> libthread_db
> >libra
> >ry "/lib64/tls/".
> >
> >(gdb) list
> >1       ../sysdeps/powerpc/powerpc32/elf/start.S: No such file or
> >directory.
> >        in ../sysdeps/powerpc/powerpc32/elf/start.S
> >(gdb) quit
> >
> >

IMHO this output is simply misleading, it should print something
meaningful, like no symbols found, or no debug info in executable, or
compile with -g to generate more debug info etc.... 'file not found' is
not a clear indicator of what is going on.

Manoj Iyer

More information about the Gdb mailing list