unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Unfifying M-x gdb and M-x gdba
@ 2003-12-28 13:46 Nick Roberts
  2003-12-29 11:54 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Roberts @ 2003-12-28 13:46 UTC (permalink / raw)



I have just committed changes that allow both modes for gdb to be run from M-x
gdb, in the manner suggested by Stefan over a year ago. Now if you type M-x gdb,
you get something like:

Run gdb (like this): gdb --annotate=3 myprog

which will start the mode in gdb-ui.el which previously was invoked (and still
can be) with M-x gdba.

If you want the old behaviour you can edit the minibuffer to give:

Run gdb (like this): gdb --fullname myprog

and if you always want this behaviour you set gud-gdb-command-name to
"gdb --fullname".

I think the mode in gdb-ui.el is quite reliable now, and by the time of the next
release of Emacs, should be better than the one in gud.el in nearly all respects.
If people generally don't like it then I will set the default back, of course.

Apart from the elegance of unification or integration, this approach has the
advantage that Valgrind in the GUD buffer for both modes. I have already
touched on this in help-gnu-emacs and will elaborate on this list shortly.


    Nick                                         http://www.nick.uklinux.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unfifying M-x gdb and M-x gdba
  2003-12-28 13:46 Unfifying M-x gdb and M-x gdba Nick Roberts
@ 2003-12-29 11:54 ` Richard Stallman
  2003-12-30 23:54   ` Kim F. Storm
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2003-12-29 11:54 UTC (permalink / raw)
  Cc: emacs-devel

Thanks for bringing this neat feature to fruition.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unfifying M-x gdb and M-x gdba
  2003-12-29 11:54 ` Richard Stallman
@ 2003-12-30 23:54   ` Kim F. Storm
  0 siblings, 0 replies; 3+ messages in thread
From: Kim F. Storm @ 2003-12-30 23:54 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

> Thanks for bringing this neat feature to fruition.

I'll second that.

Now we finally have a reason not to discard the tool-bar.  
IMHO, running GDB from emacs using the tool-bar is a big improvement.  
And the visible breakpoints are great too.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-30 23:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-28 13:46 Unfifying M-x gdb and M-x gdba Nick Roberts
2003-12-29 11:54 ` Richard Stallman
2003-12-30 23:54   ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).