all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gud.el: gdb doesn't work with libtool
@ 2003-04-01 21:49 Felix Berger
  0 siblings, 0 replies; only message in thread
From: Felix Berger @ 2003-04-01 21:49 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
 not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.7.2 (i386-debian-linux-gnu, X toolkit)
 of Thu Apr  4 2002 on cyberhq modified by Debian
configured using `configure  i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=yes'

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

In order to debug binaries built with libtool support you have to invoke gdb
like this:

libtool gdb binary-to-test

instead of just:

gdb binary-to-test

Since Emacs prepends the option "-fullname" in gud-gdb-massage-args libtool is
confused and bails out.

This simple fix seemed to to do the job for me:

(defun gud-gdb-massage-args (file args)
  (append args (list "-fullname")))

It also worked for binaries having no libtool support.

Sincerely,
Felix Berger

Recent input:
C-d / h o m e / b f l a t 1 return C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n 
C-n r u n return q u i t return M-x M-p p backspace 
return C-a M-d C-e M-backspace M-backspace M-backspace 
M-backspace c v tab c tab / tab tab a r r tab return 
C-g C-g M-x M-p return backspace return M-x M-p return 
C-a C-d C-e return r u n return q u i t return C-x 
k return C-x k return M-x C-g menu-bar help-menu r
eport-emacs-bug

Recent messages:
Scanning `gud.el'
Expansion found in 'gud.el'
gud-gdb-massage-args [3 times]
Quit
Undo!
Quit [2 times]
Hit space to flush [3 times]
Searching for program: success, 
Quit [2 times]
Searching for program: success, 
Quit

-- 
Use Debian GNU/Linux!
http://www.felix.beldesign.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-01 21:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-01 21:49 gud.el: gdb doesn't work with libtool Felix Berger

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.