summaryrefslogtreecommitdiff
path: root/doc/emacs/building.texi
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-10-31 14:44:58 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2020-11-06 13:55:32 +0100
commit1b9e159525409d6a1ad41686c34f66aa2effa71e (patch)
treef101a75c49e4645e7b56ce6ff57a4a37ad492ba2 /doc/emacs/building.texi
parent0c5eb1c7e798fdf16c3f2694285fe0d18367c6ea (diff)
downloademacs-1b9e159525409d6a1ad41686c34f66aa2effa71e.tar.gz
Change the default value of gdb-mi-decode-strings to t (bug#44173)
This is likely to be a more commonly wanted default value today. * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): Change default. * doc/emacs/building.texi (Source Buffers): Update manual. * etc/NEWS: Announce.
Diffstat (limited to 'doc/emacs/building.texi')
-rw-r--r--doc/emacs/building.texi13
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index 3e09f243226..91c749aa2d5 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -1092,13 +1092,12 @@ 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.)
+ By default, source file names and non-ASCII strings in the program
+being debugged are decoded using the default coding-system. If you
+prefer a different decoding, perhaps because the program being
+debugged uses a different character encoding, set the variable
+@code{gdb-mi-decode-strings} to the appropriate coding-system, or to
+@code{nil} to leave non-ASCII characters as undecoded octal escapes.
@node Breakpoints Buffer
@subsubsection Breakpoints Buffer