[Bug 74133] New: Custom c++ Project, gdb path contains space

Andreas Schallenberg Andreas.Schallenberg at Eurobild.com
Wed Feb 4 15:51:03 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=74133      
           Summary: Custom c++ Project, gdb path contains space
           Product: kdevelop
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: Andreas.Schallenberg at Eurobild.com


Version:           3.0.0 (shipped with KDE 3.2.0) (using KDE KDE 3.2.0)
Installed from:    SuSE RPMs

Debugging a C++ project with custom makefile
requires to set a path to gdb in order to be
able to debug the application.
(Project->Project options->Debugger->Path to gdb)

Entering
/opt/customsw/gdb-5.3-local/bin/

Results in this gdb call
/opt/customsw/gdb-5.3-local/bin/ gdb /home....and_so_on

Note the extra space. Entering
/opt/customsw/gdb-5.3-local/bin/gdb
as path to gdb produces the expected result:

/opt/customsw/gdb-5.3-local/bin/gdb gdb /home/...and_so_on

This makes it impossible to debug the application.

P.S.: From this behavior I see that "gdb" is added
to the path. From the GUI i could not tell if "gdb"
was to be included or not (and if not, if a trailing
slash was required).




More information about the KDevelop-devel mailing list