# HG changeset patch # User Nick Roberts # Date 1097047144 0 # Node ID e256f5578609411473f0fcb568b5fad410f7730e # Parent 32a9d7f91e8efc5bee02997c4da38ae1e2376972 (Starting GUD): Note that multiple debugging sessions requires `gdb --fullname'. diff -r 32a9d7f91e8e -r e256f5578609 man/building.texi --- a/man/building.texi Wed Oct 06 06:04:41 2004 +0000 +++ b/man/building.texi Wed Oct 06 07:19:04 2004 +0000 @@ -336,11 +336,13 @@ @findex gdb Run GDB as a subprocess of Emacs. If the variable @code{gud-gdb-command-name} is ``gdb --annotate=3'' (the default -value) then GDB starts as for @kbd{M-x gdba} below. If you want to -GDB to start as in Emacs 21.3 and earlier then set -@code{gud-gdb-command-name} to ``gdb --fullname''. In this case, the -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. +value) then GDB starts as for @kbd{M-x gdba} below. If you want GDB +to start as in Emacs 21.3 and earlier then edit the string in the +minibuffer or set @code{gud-gdb-command-name} to ``gdb --fullname''. +You need to do this if you want to run multiple debugging sessions +within one Emacs session. In this case, the 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 gdba @key{RET} @var{file} @key{RET} Run GDB as a subprocess of Emacs, providing a graphical interface