aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2006-06-23 18:14:57 +0000
committerEli Zaretskii2006-06-23 18:14:57 +0000
commita313dc7be6db20cf7921cd92fdbf68701f384b8f (patch)
tree79842ab71b6508f81a3b3b5ef2843595a3a1b954
parent98a9cad39007b1e43cfbcfb970a9c4214435c848 (diff)
downloademacs-a313dc7be6db20cf7921cd92fdbf68701f384b8f.tar.gz
emacs-a313dc7be6db20cf7921cd92fdbf68701f384b8f.zip
Add reference to description of .gdbinit commands.
-rw-r--r--etc/DEBUG8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/DEBUG b/etc/DEBUG
index 090947d57b5..63327b3ce5c 100644
--- a/etc/DEBUG
+++ b/etc/DEBUG
@@ -20,6 +20,8 @@ document.]
20** When you debug Emacs with GDB, you should start it in the directory 20** When you debug Emacs with GDB, you should start it in the directory
21where the executable was made. That directory has a .gdbinit file 21where the executable was made. That directory has a .gdbinit file
22that defines various "user-defined" commands for debugging Emacs. 22that defines various "user-defined" commands for debugging Emacs.
23(These commands are described below under "Examining Lisp object
24values" and "Debugging Emacs Redisplay problems".)
23 25
24** When you are trying to analyze failed assertions, it will be 26** When you are trying to analyze failed assertions, it will be
25essential to compile Emacs either completely without optimizations or 27essential to compile Emacs either completely without optimizations or
@@ -276,9 +278,9 @@ Debugging with GDB in Emacs offers some advantages over the command line (See
276the GDB Graphical Interface node of the Emacs manual). There are also some 278the GDB Graphical Interface node of the Emacs manual). There are also some
277features available just for debugging Emacs: 279features available just for debugging Emacs:
278 280
2791) The command gud-pp isavailable on the tool bar (the `pp' icon) and allows 2811) The command gud-pp is available on the tool bar (the `pp' icon) and
280 the user to print the s-expression of the variable at point, in the GUD 282 allows the user to print the s-expression of the variable at point,
281 buffer. 283 in the GUD buffer.
282 284
2832) Pressing `p' on a component of a watch expression that is a lisp object 2852) Pressing `p' on a component of a watch expression that is a lisp object
284 in the speedbar prints its s-expression in the GUD buffer. 286 in the speedbar prints its s-expression in the GUD buffer.