This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: List command question
- From: Manoj Iyer <manjo at austin dot ibm dot com>
- To: Monika Chaddha <monika at acmet dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 17 May 2004 10:13:06 -0500 (CDT)
- Subject: RE: List command question
- References: <004801c43a43$36fc9800$5100a8c0@monika>
> >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/libthread_db.so.1".
> >
> >(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