GNU bug report logs - #79144
[PATCH] New debugger-trap function to break to GDB

Previous Next

Package: emacs;

Reported by: Jeremy Bryant <jb <at> jeremybryant.net>

Date: Fri, 1 Aug 2025 23:21:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jeremy Bryant <jb <at> jeremybryant.net>
Cc: 79144 <at> debbugs.gnu.org, eliz <at> gnu.org
Subject: bug#79144: [PATCH] New debugger-trap function to break to GDB
Date: Sun, 3 Aug 2025 08:42:19 -0700
On 2025-08-02 13:10, Jeremy Bryant wrote:
> Would the following clarification be clearer from your perspective?
> 
>         doc: /* Trap execution flow and hand over control to GDB.
> To use, set up a breakpoint in GDB with
> break Fdebugger_trap
> This is done in the Emacs source distribution in src/.gdbinit.
> 
> The function itself is a do-nothing primitive.  It is reserved for
> debugging purposes, and not called by Emacs otherwise.  */)

Yes, thanks. Some minor wording tweaks, which make it easier for me to 
understand:

Trap execution flow and hand over control to GDB. The Emacs source file 
src/.gdbinit uses this via the GDB command "break Fdebugger trap".

This function has no effect.  It is reserved for debugging, and is not 
called by Emacs otherwise.




This bug report was last modified 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.