Bug 75186 - GDB: "can not find executable"
Summary: GDB: "can not find executable"
Status: RESOLVED DUPLICATE of bug 58999
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.0.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 21:58 UTC by Jan Trmal
Modified: 2004-02-14 21:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***