From e8b45fe8b5c6801f60e2825d09a2bda22e80372a Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Sun, 2 Apr 2017 00:13:56 +0200 Subject: 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. --- ipc/mach_port.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ipc/mach_port.h') diff --git a/ipc/mach_port.h b/ipc/mach_port.h index c4d9a1c3..073f7946 100644 --- a/ipc/mach_port.h +++ b/ipc/mach_port.h @@ -65,4 +65,8 @@ mach_port_get_receive_status( mach_port_t name, mach_port_status_t *statusp); +#if MACH_KDB +void db_debug_port_references (boolean_t enable); +#endif /* MACH_KDB */ + #endif /* _IPC_MACH_PORT_H_ */ -- cgit v1.2.3