mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-18 18:05:07 +00:00
(Starting GUD): Note that multiple debugging
sessions requires `gdb --fullname'.
This commit is contained in:
parent
07f7e9aede
commit
444ee6d730
@ -336,11 +336,13 @@ to a particular debugger program.
|
||||
@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
|
||||
|
Loading…
Reference in New Issue
Block a user