summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-04-02 00:13:56 +0200
committerJustus Winter <justus@gnupg.org>2017-08-05 17:08:36 +0200
commite8b45fe8b5c6801f60e2825d09a2bda22e80372a (patch)
tree3a2c1ebf8d9e5deb402f491776f9617ca4b6a4cc /doc
parentc9f2f450f92528f04ee00ead0a3fd79b475f2d2c (diff)
ddb: debug traps and port references
* ddb/db_command.c (db_debug_all_traps_cmd): New declaration and function. (db_debug_port_references_cmd): Likewise. * doc/mach.texi: Describe new commands. * i386/i386/db_interface.h (db_debug_all_traps): New declaration. * i386/i386/trap.c (db_debug_all_traps): New function. * ipc/mach_port.c (db_debug_port_references): New function. * ipc/mach_port.h (db_debug_port_references): New declaration.
Diffstat (limited to 'doc')
-rw-r--r--doc/mach.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/mach.texi b/doc/mach.texi
index 1f13b12c..b2357b81 100644
--- a/doc/mach.texi
+++ b/doc/mach.texi
@@ -7125,6 +7125,14 @@ If you want to clear a watch point in user space, specify @code{T} and
parameter is omitted, a task of the default target thread or a current
task is assumed. If you specify a wrong space address, the request is
rejected with an error message.
+
+@item debug traps /on|/off
+Enables or disables debugging of all traps with @code{ddb}.
+
+@item debug references /on|/off
+Enables or disables debugging of all port reference counting errors
+with @code{ddb}.
+
@end table