[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 58999] debugger will not start
From:       Jeroen van Disseldorp <jdizzl () xs4all ! nl>
Date:       2003-05-27 8:54:28
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=58999     




------- Additional Comments From jdizzl@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@kdevelop.org  2003-05-27 01:06
> ------- Jeroen,
> So if you typed the very first line "/bin/sh -c ..." what happens?

[dizzl@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@newton dizzl]$ cd /mnt/share/iebserver
[dizzl@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@newton iebserver]$ cd src
[dizzl@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@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@xs4all.nl          http://www.dizzl.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic