On Fri, Jul 22, 2005 at 02:19:42PM -0400, Kamaraju Kusumanchi wrote:
> But when debugging this program with gdb and when using the list command I am
> getting the following error.
> $gdb ./a.out
> GNU gdb 6.3-debian
> 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 "i386-linux"...Using host libthread_db library 
> "/lib/tls/libthread_db.so.1".
> 
> (gdb) list
> 1       ../sysdeps/i386/elf/start.S: No such file or directory.
>         in ../sysdeps/i386/elf/start.S

Try "list MAIN__"; other than that GDB should work OK.  I'll include a
patch in gdb 6.4-1 to fix this.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to