aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Roberts2004-10-06 07:19:04 +0000
committerNick Roberts2004-10-06 07:19:04 +0000
commit444ee6d730b2d4506872596e786926bd4db04ef8 (patch)
treefb82bd989b40dde0bb94284463fbbc3792a7009f
parent07f7e9aede707c188ec0e88ac3fade20bc3b4725 (diff)
downloademacs-444ee6d730b2d4506872596e786926bd4db04ef8.tar.gz
emacs-444ee6d730b2d4506872596e786926bd4db04ef8.zip
(Starting GUD): Note that multiple debugging
sessions requires `gdb --fullname'.
-rw-r--r--man/building.texi12
1 files changed, 7 insertions, 5 deletions
diff --git a/man/building.texi b/man/building.texi
index 972f88abbde..2ec96b0f6bf 100644
--- a/man/building.texi
+++ b/man/building.texi
@@ -336,11 +336,13 @@ to a particular debugger program.
336@findex gdb 336@findex gdb
337Run GDB as a subprocess of Emacs. If the variable 337Run GDB as a subprocess of Emacs. If the variable
338@code{gud-gdb-command-name} is ``gdb --annotate=3'' (the default 338@code{gud-gdb-command-name} is ``gdb --annotate=3'' (the default
339value) then GDB starts as for @kbd{M-x gdba} below. If you want to 339value) then GDB starts as for @kbd{M-x gdba} below. If you want GDB
340GDB to start as in Emacs 21.3 and earlier then set 340to start as in Emacs 21.3 and earlier then edit the string in the
341@code{gud-gdb-command-name} to ``gdb --fullname''. In this case, the 341minibuffer or set @code{gud-gdb-command-name} to ``gdb --fullname''.
342command creates a buffer for input and output to GDB, and switches to 342You need to do this if you want to run multiple debugging sessions
343it. If a GDB buffer already exists, it just switches to that buffer. 343within one Emacs session. In this case, the command creates a buffer
344for input and output to GDB, and switches to it. If a GDB buffer
345already exists, it just switches to that buffer.
344 346
345@item M-x gdba @key{RET} @var{file} @key{RET} 347@item M-x gdba @key{RET} @var{file} @key{RET}
346Run GDB as a subprocess of Emacs, providing a graphical interface 348Run GDB as a subprocess of Emacs, providing a graphical interface