summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-05-04 17:43:29 +0300
committerEli Zaretskii <eliz@gnu.org>2018-05-04 17:43:29 +0300
commit58f9e15a49efc3148359ad4c889b8105183d27bc (patch)
treedf085a49e3f5e4cf766bac836f40b95d44b5182a
parent45904142652a11ad48cb365f0c1530dc013bee20 (diff)
downloademacs-58f9e15a49efc3148359ad4c889b8105183d27bc.tar.gz
A minor addition to etc/DEBUG
* etc/DEBUG: Add a note for macOS users who get error messages when trying to run GDB.
-rw-r--r--etc/DEBUG8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/DEBUG b/etc/DEBUG
index ac95c7c8dc6..bd6ea74fa72 100644
--- a/etc/DEBUG
+++ b/etc/DEBUG
@@ -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