summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2025-08-07 16:38:02 +0300
committerEli Zaretskii <eliz@gnu.org>2025-08-07 16:38:02 +0300
commite9fe0ebae057bd9e9015a16b9b3604a5ceddc0ea (patch)
tree1d1ecc1ef2aaf265dfb8476672e629b03683992a /src/eval.c
parentcaa6bc95c1b5904bd50c6aee5c70c6994594756c (diff)
; Fix last change
* src/eval.c (Fdebugger_trap): Minor wording changes in doc string. * etc/DEBUG: Some copyedits of a recently-added text.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/eval.c b/src/eval.c
index 829d6104618..0d4ae91136e 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3092,14 +3092,14 @@ FUNCTIONP (Lisp_Object object)
}
DEFUN ("debugger-trap", Fdebugger_trap, Sdebugger_trap, 0, 0, "",
- doc: /* Trap execution flow and hand over control to GDB.
-The Emacs source file src/.gdbinit uses this via the GDB command
-"break Fdebugger_trap".
+ doc: /* Stop Emacs and hand over control to GDB.
+The Emacs source file src/.gdbinit sets a breakpoint in this function.
-This function has no effect. It is reserved for debugging, and is not
-called by Emacs otherwise.
+This function does nothing. It is not called by Emacs otherwise, and
+exists so that calling it or invoking it interactively will cause
+GDB to kick in.
-For Lisp debugging see debug, as well as edebug, in the manual:
+For Lisp debugging see `debug', as well as `edebug', in the manual:
"(elisp) Debugging". */)
(void)
{