[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging M-x gdb
From: |
Eli Zaretskii |
Subject: |
Re: Debugging M-x gdb |
Date: |
Fri, 31 Mar 2023 21:04:41 +0300 |
> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Cc: emacs-devel@gnu.org
> Date: Fri, 31 Mar 2023 19:25:05 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> [...]
>
> > You didn't attach GDB to Emacs. Instead, you started Emacs under GDB.
>
> Ok I tried this but hit another road block:
> ptrace: Operation not permitted.
Sigh... You can still try to get the information with your original
steps (where I said you didn't attach GDB), if you first interrupt
Emacs from GDB. How to do that is described in etc/DEBUG, under
"Getting control to the debugger", where it describes the "handle
SIGINT" technique.