[Bug 74585] New: Unable to debug Hello World C++ program

Casteyde.Christian casteyde.christian at free.fr
Sun Feb 8 16:54:02 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=74585      
           Summary: Unable to debug Hello World C++ program
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: casteyde.christian at free.fr


Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.3 20040202 (prerelease) 
OS:          Linux

I think 49496 should be reopened for KDevelop 3.0.0/KDE3.2
since it still doesn't work. Removing the libtool in
project debugging options does solve the problem,
but the template is STILL false.

I use gdb 6.0, autoconf 2.57, automake 1.7.7 (slack 9.1).
Simple Hello world + Build + Debug gives :

/bin/sh -c /home/christian/testkdev/debug/libtool gdb /home/christian/testkdev/debug/src/testkdev -fullname -nx -quiet
(gdb) set edit off 
(gdb) set confirm off 
Excess command line arguments ignored. ("-nx" ...)
GNU gdb 6.0
Copyright 2003 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 "i686-pc-linux-gnu"...
"/home/christian/testkdev/debug/src/testkdev": Aucun fichier ou répertoire de ce type.


/home/christian/testkdev/"-fullname": Aucun fichier ou répertoire de ce type.

(gdb) 
(gdb) 
(gdb) set print static-members off 
(gdb) tty /dev/pts/2 
(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/christian/testkdev/debug/src 
(gdb) break testkdev.cpp:22 
No symbol table is loaded.  Use the "file" command.

(gdb) run 
No executable file specified.
Use the "file" or "exec-file" command.




More information about the KDevelop-devel mailing list