Bug 49496

Summary: Can't start the debugger
Product: [Applications] kdevelop Reporter: Alexandros Karypidis <karypid>
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand_baudet
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alexandros Karypidis 2002-10-21 15:34:41 UTC
Version:           3.0.0 (using KDE KDE 3.0.8)
Installed from:    SuSE RPMs
Compiler:          gcc version 2.95.3 
OS:          Linux

When starting the debugger for the simple "hello world" C program, I get the message:

--- CUT HERE ---
gdb message:
"/laptop-home/testgideon/src/testgideon": No such file or directory.
--- CUT HERE ---

The gdb message log contains the following:

--- CUT HERE ---
(gdb) set edit off
(gdb) set confirm off
Excess command line arguments ignored. ("-nx" ...)
"/myhome/project/src/project": No such file or directory.
/myhome/"-fullname": No such file or directory.
quit
--- CUT HERE ---
Comment 1 Alexandros Karypidis 2002-10-21 15:44:40 UTC
* Please note that the "SuSE RPMs" refer to KDE 3.1 beta 2 packages that do       
not include Gideon.      
      
* I compiled Gideon myself from the "kdevelop-3.0a1.tar" file which      
accompanies the announcement for the Alpha release.      
      
* I have not set ANY options (default Gideon options as well as project     
options). The program is "Simple Hello world program" from the C programs 
template. 
   
Comment 2 Robert Atwood 2002-10-23 13:05:33 UTC
I have the identical problem, using Redhat 8.0. It seems to me that there is 
something slightly wrong with parts/debugger/gdbcontroller.cpp line 1095, in 
that the "/bin/sh" << "-c"  creates the string "/bin/sh-c" which is not likely 
to be recognized as a command. I am not sure that this is the only thing causing 
the above probelm because I have not managed to compile properly with a change 
here (added a space " -c", and I am not yet sure when the 'if' is executed or 
when the 'else' is executed. 
Comment 3 Harald Fernengel 2002-10-23 21:42:55 UTC
*** Bug 49555 has been marked as a duplicate of this bug. ***
Comment 4 Harald Fernengel 2002-10-23 21:45:13 UTC
workaround: remove "libtool" in project options->Debugger  
Comment 5 Harald Fernengel 2002-10-23 22:14:55 UTC
Fixed the app-templates in CVS, for existing project just remove "libtool"  
from project settings ->debugging shell.