Bug 75186

Summary: GDB: "can not find executable"
Product: [Applications] kdevelop Reporter: Jan Trmal <jtrmal>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jan Trmal 2004-02-13 21:58:38 UTC
Version:           3.0.0 (using KDE 3.2.0, Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
OS:          Linux (i686) release 2.4.24

When I cofigure options (Project/Project Options/Configure Options) for specific target (let's say add -Wall into CXXFLAGS for target debug) after the recompilation I'm unable to start GDB, it just produces error "GDB message: no executable file specified". I've investigated a bit. Before reconfiguration, the gdb execution command line is 
gdb /home/yenda/projekty/test_debug/debug/src/test_debug -fullname -nx -quiet

and after (not working debugging)
/bin/sh -c /home/yenda/projekty/comxviii/debug/libtool gdb /home/yenda/projekty/test_debug/debug/src/test_debug -fullname -nx -quiet

I believe, problem is in configuration file (unimportant part stripped)
  <kdevdebugger>
    <general>
      <dbgshell>libtool</dbgshell>
    </general>
  </kdevdebugger>
Having deleted <dbgshell>libtool</dbgshell> it all works OK.
Comment 1 Jan Trmal 2004-02-13 21:59:38 UTC
I'm sorry for the tabs, it's not my fault, I just CnP command line :)
Comment 2 Amilcar do Carmo Lucas 2004-02-14 03:34:17 UTC
It's a known issue and you found the solution I also use.
But it's now fixed (I hope) in CVS HEAD
Comment 3 Amilcar do Carmo Lucas 2004-02-14 21:21:16 UTC

*** This bug has been marked as a duplicate of 58999 ***