From 38746ff51596dd06c6c1ddc4e5bca2d370734743 Mon Sep 17 00:00:00 2001 From: "jbranso@dismail.de" Date: Wed, 11 Oct 2023 01:18:43 -0400 Subject: microkernel/mach/gnumach/debugging.mdwn: documented new whatis command. Message-ID: <20231011051844.1763-1-jbranso@dismail.de> --- microkernel/mach/gnumach/debugging.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'microkernel') 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 -- cgit v1.2.3