Mercurial > emacs
changeset 96056:966aa682b9a1
(Starting GUD): Add an entry for gud-gdb.
(GDB Graphical Interface): Explain that gud-gdb is now needed for text
command mode.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Tue, 17 Jun 2008 22:40:32 +0000 |
parents | d37c900369a0 |
children | d3e733e75a9d |
files | doc/emacs/building.texi |
diffstat | 1 files changed, 12 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/emacs/building.texi Tue Jun 17 22:39:03 2008 +0000 +++ b/doc/emacs/building.texi Tue Jun 17 22:40:32 2008 +0000 @@ -477,9 +477,15 @@ @table @kbd @item M-x gdb @key{RET} @var{file} @key{RET} @findex gdb -Run GDB as a subprocess of Emacs. By default, this uses an IDE-like -graphical interface; see @ref{GDB Graphical Interface}. Only GDB -works with the graphical interface. +Run GDB as a subprocess of Emacs. This uses an IDE-like graphical +interface; see @ref{GDB Graphical Interface}. Only GDB works with the +graphical interface. + +@item M-x gud-gdb @key{RET} @var{file} @key{RET} +@findex gud-gdb +Run GDB as a subprocess of Emacs. This command creates a buffer for +input and output to GDB, and switches to it. If a GDB buffer already +exists, it just switches to that buffer. @item M-x dbx @key{RET} @var{file} @key{RET} @findex dbx @@ -829,14 +835,9 @@ operation you must not change these values during the GDB session. @vindex gud-gdb-command-name - You can also run GDB in text command mode, like the other debuggers -in Emacs. To do this, replace the GDB @code{"--annotate=3"} option -with @code{"--fullname"} either in the minibuffer for the current -Emacs session, or the custom variable @code{gud-gdb-command-name} for -all future sessions. You need to use text command mode to debug -multiple programs within one Emacs session. You can also use -@kbd{M-x gud-gdb} to invoke GDB in text command mode if you have -problems before execution has started. + To run GDB in text command mode, like the other debuggers in Emacs, +use @kbd{M-x gud-gdb}. You need to use text command mode to debug +multiple programs within one Emacs session. @menu * GDB-UI Layout:: Control the number of displayed buffers.