summaryrefslogtreecommitdiff
path: root/microkernel/mach/gnumach/debugging.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'microkernel/mach/gnumach/debugging.mdwn')
-rw-r--r--microkernel/mach/gnumach/debugging.mdwn4
1 files changed, 4 insertions, 0 deletions
diff --git a/microkernel/mach/gnumach/debugging.mdwn b/microkernel/mach/gnumach/debugging.mdwn
index 0bf0ee79..bcff970e 100644
--- a/microkernel/mach/gnumach/debugging.mdwn
+++ b/microkernel/mach/gnumach/debugging.mdwn
@@ -73,6 +73,10 @@ and then type continue, to let Mach continue execution. The debugger will be ent
struct db_watchpoint watch = { .task = NULL, .loaddr= 0x40e, .hiaddr = 0x40e+2, .link = NULL};
db_set_hw_watchpoint(&watch, 0);
+To discover what an arbitrary address points to, try
+
+ whatis 0x123400
+
# GDB in QEMU
When you're [[running_a_system_in_QEMU|hurd/running/qemu]] you can directly