diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-12-21 23:00:13 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-12-21 23:00:13 +0100 |
commit | 7b9d0458105831a79d211f1ca98a184adedf82f5 (patch) | |
tree | 4d4bd7a0b764b1bd36c919d0fc528cc625de6f5a /kern/debug.h | |
parent | eec36e70c95490b5ffd73e1b3c90289e38fa3127 (diff) | |
download | gnumach-7b9d0458105831a79d211f1ca98a184adedf82f5.tar.gz gnumach-7b9d0458105831a79d211f1ca98a184adedf82f5.tar.bz2 gnumach-7b9d0458105831a79d211f1ca98a184adedf82f5.zip |
Add a SoftDebugger function
* kern/debug.h (SoftDebugger): Add prototype.
* kern/debug.c (Debugger): Move code invoking debugging trap
to...
(SoftDebugger): ... new function. Print the passed message.
* kern/lock_mon.c (decl_simple_lock_data, retry_bit_lock): Call
SoftDebugger instead of Debugger.
* device/ds_routines.c (ds_device_open, device_read,
device_read_inband): Call SoftDebugger instead of Debugger.
* i386/i386at/model_dep.c (c_boot_entry): Call SoftDebugger
instead of Debugger.
* kern/syscall_sw.c (null_port, kern_invalid): Call SoftDebugger
instead of Debugger.
* vm/vm_object.c (vm_object_collapse): Call SoftDebugger instead
of Debugger.
Diffstat (limited to 'kern/debug.h')
-rw-r--r-- | kern/debug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kern/debug.h b/kern/debug.h index 287b152f..f4e8200d 100644 --- a/kern/debug.h +++ b/kern/debug.h @@ -60,6 +60,7 @@ extern void panic_init(void); extern void panic (const char *s, ...) __attribute__ ((noreturn)); +extern void SoftDebugger (char *message); extern void Debugger (char *message) __attribute__ ((noreturn)); #endif /* _mach_debug__debug_ */ |