Debugging issue - source file not found

Paul Eggleton bluelightning at bluelightning.org
Fri Mar 19 02:23:02 GMT 2004


Hi there,

I've recently moved from KDevelop 2.1.5 to 3.0.2, and I'm trying to use some 
breakpoints to debug my application. The problem seems to be that gdb doesn't 
know where to look for the source files:

------------- snip --------------
/bin/sh -c /home/paul/eboxy/libtool gdb /home/paul/eboxy/eboxy/eboxy -fullname 
-nx -quiet
(gdb) set edit off 
(gdb) set confirm off 
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) 
(gdb) 
(gdb) set print static-members off 
(gdb) tty /dev/pts/3 
(gdb) set width 0 
(gdb) set height 0 
(gdb) set stop-on 1 
(gdb) handle SIG32 pass nostop noprint 
(gdb) handle SIG43 pass nostop noprint 
(gdb) set print asm-demangle on 
(gdb) cd /home/paul/eboxy/eboxy 
(gdb) set args ~/eboxy-skin/test.xml 
(gdb) break gui_listbox.cpp:188 
No source file named gui_listbox.cpp.

(gdb) break page.cpp:91 
No source file named page.cpp.

(gdb) break page.cpp:172 
No source file named page.cpp.

(gdb) break ifsdl_gui.cpp:303 
No source file named ifsdl_gui.cpp.

(gdb) run 
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 27964)]
(gdb) backtrace 
Stopped due to shared library event
#0  0x4000beb0 in _dl_debug_state_internal () from /lib/ld-linux.so.2
#1  0x40001ae9 in dl_main () from /lib/ld-linux.so.2
#2  0x4000dce7 in _dl_sysdep_start () from /lib/ld-linux.so.2
#3  0x40000e6e in _dl_start () from /lib/ld-linux.so.2
#4  0x400009d7 in _start () from /lib/ld-linux.so.2
(gdb) info thread 
  1 Thread 16384 (LWP 27964)  0x4000beb0 in _dl_debug_state_internal () 
from /lib/ld-linux.so.2
(gdb) break gui_listbox.cpp:188 
No source file named gui_listbox.cpp.

(gdb) break page.cpp:91 
No source file named page.cpp.

(gdb) break page.cpp:172 
No source file named page.cpp.

(gdb) break ifsdl_gui.cpp:303 
No source file named ifsdl_gui.cpp.

(gdb) frame 0 
#0  0x4000beb0 in _dl_debug_state_internal () from /lib/ld-linux.so.2
------------- snip --------------

My project has subprojects (as imported from my old .kdevprj) and the files I 
am attempting to debug are in one of those subprojects.

As mentioned before I'm using KDevelop 3.0.2, with gdb 6.0.

Any ideas?

Cheers,
Paul

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list