[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs gud does not work with libtool
From: |
Nick Roberts |
Subject: |
Re: emacs gud does not work with libtool |
Date: |
Wed, 15 Oct 2003 23:04:02 +0100 |
> > *** gud.el.~1.10.~ 2003-09-30 18:53:05.000000000 +0100
> > --- gud.el 2003-10-11 23:40:42.000000000 +0100
> > ***************
> > *** 2337,2342 ****
> > --- 2337,2344 ----
> > ;; and put t in its place.
> > ;; Later on we will put the modified file name arg back there.
> > (file-word (let ((w (cdr words)))
> > + (unless (= ?- (aref (car w) 0))
> > + (setq w (cdr w)))
> > (while (and w (= ?- (aref (car w) 0)))
> > (setq w (cdr w)))
> > (and w
>
> The patch looks odd and unrelated to your explanation.
> And the email given as context doesn't help me understand
> what is the problem and how we are trying to solve it.
>
> Could you explain a bit more, showing what is the wrong behavior
> we're trying to fix and with what we are trying to replace it ?
Currently,
Run gdb (like this): gdb -fullname ~/myprog
works in CVS but:
Run gdb (like this): libtool gdb -fullname ~/myprog
doesn't as the GUD buffer is called gud-gdb and the default directory is not set
to that of the executable.
The patch above rectifies this (try it) by finding the start of gdb's
arguments and sets things up as without libtool. If I check with
list-processes, I can see that libtool has actually been invoked but I don't
know enough about libtool to know how the behaviour should differ. Presumably
you need a program with libraries that have been built by libtool(?).
- Re: emacs gud does not work with libtool, Nick Roberts, 2003/10/11
- Re: emacs gud does not work with libtool, Stefan Monnier, 2003/10/14
- Re: emacs gud does not work with libtool,
Nick Roberts <=
- Re: emacs gud does not work with libtool, Stefan Monnier, 2003/10/16
- Re: emacs gud does not work with libtool, Nick Roberts, 2003/10/16
- Re: emacs gud does not work with libtool, Stefan Monnier, 2003/10/16
- Re: emacs gud does not work with libtool, Nick Roberts, 2003/10/16
- Re: emacs gud does not work with libtool, Stefan Monnier, 2003/10/16
- Re: emacs gud does not work with libtool, Eli Zaretskii, 2003/10/17
- Re: emacs gud does not work with libtool, Stefan Monnier, 2003/10/17