Einzelnen Beitrag anzeigen
Alt 08.07.2007, 07:03   #1
xandl33
Elite
 
Registriert seit: 07.02.2003
Beiträge: 1.037


Standard LINUX GDB: init.c no such file or directory

hi,

ich habe folgendes problem:

ich kompiliere mein programm mit

g++ -g -o ......

und möchte das ganze dann anschließende debuggen. wenn ich jetzt gdb mit

gdb programname

aufrufe und list eingebe bekomme ich den fehler

Code:
GNU gdb 6.6-debian
Copyright (C) 2006 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 "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) list
1       init.c: No such file or directory.
        in init.c
(gdb)
xandl33 ist offline   Mit Zitat antworten