diff options
| author | Nick Roberts | 2004-10-06 07:19:04 +0000 |
|---|---|---|
| committer | Nick Roberts | 2004-10-06 07:19:04 +0000 |
| commit | 444ee6d730b2d4506872596e786926bd4db04ef8 (patch) | |
| tree | fb82bd989b40dde0bb94284463fbbc3792a7009f | |
| parent | 07f7e9aede707c188ec0e88ac3fade20bc3b4725 (diff) | |
| download | emacs-444ee6d730b2d4506872596e786926bd4db04ef8.tar.gz emacs-444ee6d730b2d4506872596e786926bd4db04ef8.zip | |
(Starting GUD): Note that multiple debugging
sessions requires `gdb --fullname'.
| -rw-r--r-- | man/building.texi | 12 |
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 |
| 337 | Run GDB as a subprocess of Emacs. If the variable | 337 | Run 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 |
| 339 | value) then GDB starts as for @kbd{M-x gdba} below. If you want to | 339 | value) then GDB starts as for @kbd{M-x gdba} below. If you want GDB |
| 340 | GDB to start as in Emacs 21.3 and earlier then set | 340 | to 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 | 341 | minibuffer or set @code{gud-gdb-command-name} to ``gdb --fullname''. |
| 342 | command creates a buffer for input and output to GDB, and switches to | 342 | You need to do this if you want to run multiple debugging sessions |
| 343 | it. If a GDB buffer already exists, it just switches to that buffer. | 343 | within one Emacs session. In this case, the command creates a buffer |
| 344 | for input and output to GDB, and switches to it. If a GDB buffer | ||
| 345 | already 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} |
| 346 | Run GDB as a subprocess of Emacs, providing a graphical interface | 348 | Run GDB as a subprocess of Emacs, providing a graphical interface |