1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 15:21:46 +00:00

A minor addition to etc/DEBUG

* etc/DEBUG: Add a note for macOS users who get error messages
when trying to run GDB.
This commit is contained in:
Eli Zaretskii 2018-05-04 17:43:29 +03:00
parent 4590414265
commit 58f9e15a49

View File

@ -78,6 +78,14 @@ described in the node "Auto-loading safe path" in the GDB user manual.
If nothing else helps, type "source /path/to/.gdbinit RET" at the GDB
prompt, to unconditionally load the GDB init file.
Running GDB on macOS sometimes brings an error message like this:
Unable to find Mach task port for process-id NNN: (os/kern) failure (0x5).
To overcome this, search the Internet for the phrase "Unable to find
Mach task port for process-id", and you will find detailed
instructions to follow.
*** Use the Emacs GDB UI front-end
We recommend using the GUI front-end for GDB provided by Emacs. With