summaryrefslogtreecommitdiff
path: root/doc/emacs/building.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-11-30 10:45:28 +0200
committerEli Zaretskii <eliz@gnu.org>2018-11-30 10:45:28 +0200
commitbce1d1afabe24c8461d56336fb966e819f20a175 (patch)
treea3fca082da3c64e9178294f78d3b7eb6d587e882 /doc/emacs/building.texi
parent809989f79ee4038f50d18765c4b727c8451ae0da (diff)
downloademacs-bce1d1afabe24c8461d56336fb966e819f20a175.tar.gz
emacs-bce1d1afabe24c8461d56336fb966e819f20a175.tar.bz2
emacs-bce1d1afabe24c8461d56336fb966e819f20a175.zip
Improve documentation of gdb-mi.el
* lisp/progmodes/gdb-mi.el (gdb-show-changed-values) (gdb-max-children): Doc fixes. * doc/emacs/building.texi (Source Buffers, Stack Buffer) (GDB User Interface Layout): Mention some additional customizable variables. (Bug#33548)
Diffstat (limited to 'doc/emacs/building.texi')
-rw-r--r--doc/emacs/building.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index 7e250bf4250..5cd3221928f 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -912,6 +912,7 @@ height and width values during the debugging session.
@cindex GDB User Interface layout
@vindex gdb-many-windows
+@vindex gdb-show-main
If the variable @code{gdb-many-windows} is @code{nil} (the default),
@kbd{M-x gdb} normally displays only the GUD interaction buffer.
However, if the variable @code{gdb-show-main} is also non-@code{nil},
@@ -1011,6 +1012,15 @@ allows you to go backwards, which can be useful for running through
code that has already executed, in order to examine its execution in
more detail.
+@vindex gdb-mi-decode-strings
+ If the file names of the source files are shown with octal escapes,
+set the variable @code{gdb-mi-decode-strings} to the appropriate
+coding-system, most probably @code{utf-8}. (This is @code{nil} by
+default because GDB may emit octal escapes in situations where
+decoding is undesirable, and also because the program being debugged
+might use an encoding different from the one used to encode non-ASCII
+file names on your system.)
+
@node Breakpoints Buffer
@subsubsection Breakpoints Buffer
@@ -1150,6 +1160,11 @@ also updates the Locals buffer
(described in the next section).
@end iftex
+@vindex gdb-stack-buffer-addresses
+ If you want the frame address to be shown each stack frame,
+customize the variable @code{gdb-stack-buffer-addresses} to a
+non-@code{nil} value.
+
@node Other GDB Buffers
@subsubsection Other GDB Buffers