WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   LINUX GDB: init.c no such file or directory (http://www.wcm.at/forum/showthread.php?t=219184)

xandl33 08.07.2007 08:03

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)



Alle Zeitangaben in WEZ +2. Es ist jetzt 21:09 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag