[Bug 58999] debugger will not start
Jeroen van Disseldorp
jdizzl at xs4all.nl
Tue May 27 10:55:08 UTC 2003
------- 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=58999
------- Additional Comments From jdizzl at xs4all.nl 2003-05-27 10:54 -------
Subject: Re: debugger will not start
John,
It's strange, because libtool doesn't even do anything from the command
line. See below. What added value does it have (when working that is)
over directly invoking gdb?
Here's the output of the various commands:
> ------- Additional Comments From jbb at kdevelop.org 2003-05-27 01:06
> ------- Jeroen,
> So if you typed the very first line "/bin/sh -c ..." what happens?
[dizzl at newton dizzl]$ /bin/sh -c /mnt/share/iebserver/libtool gdb /mnt/share/iebserver/src/iebserver -fullname -nx -quiet
libtool: warning: cannot infer operation mode without MODE-ARGS
libtool: you must specify a MODE
Try `libtool --help' for more information.
> What happens if you cd into /mnt/share/iebserver and then did it.
[dizzl at newton dizzl]$ cd /mnt/share/iebserver
[dizzl at newton iebserver]$ /bin/sh -c /mnt/share/iebserver/libtool gdb /mnt/share/iebserver/src/iebserver -fullname -nx -quiet
libtool: warning: cannot infer operation mode without MODE-ARGS
libtool: you must specify a MODE
Try `libtool --help' for more information.
> And from .../src?
[dizzl at newton iebserver]$ cd src
[dizzl at newton src]$ /bin/sh -c /mnt/share/iebserver/libtool gdb /mnt/share/iebserver/src/iebserver -fullname -nx -quiet
libtool: warning: cannot infer operation mode without MODE-ARGS
libtool: you must specify a MODE
Try `libtool --help' for more information.
> Try dropping libtool and in the src dir do "gdb iebserver". Anything
> interesting?
[dizzl at newton src]$ gdb /mnt/share/iebserver/src/iebserver -fullname -nx -quiet
(gdb)
> Note the "Excess command line arguments ignored -nx". Very
> interesting. What does the info pages say for gdb startup?
This is from the man-page:
-nx
-n Do not execute commands from any â.gdbinitâ initialization
files. Normally, the commands in these files are executed after
all the command options and arguments have been processed.
Seems like -n and -nx are the same...
Regards,
Jeroen mailto:dizzl at xs4all.nl http://www.dizzl.com
More information about the KDevelop-devel
mailing list