diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2007-12-12 11:27:15 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2007-12-12 11:27:15 +0000 |
commit | bfeddb6751d4cdb7337170176c1cb55230a95b18 (patch) | |
tree | 548a80cacfb6f1c9fe64fbc3a42c9d3dcff7bca3 /xen/common/keyhandler.c | |
parent | 73f67c0d9a0a3dff0fe27e977706492316126a1e (diff) | |
download | xen-bfeddb6751d4cdb7337170176c1cb55230a95b18.tar.gz xen-bfeddb6751d4cdb7337170176c1cb55230a95b18.tar.bz2 xen-bfeddb6751d4cdb7337170176c1cb55230a95b18.zip |
Fix gdb debugging of hypervisor.
This patch:
* enables the gdbstubs to properly access hypervisor memory;
* prevents an assertion failure in __spurious_page_fault's call
to map_domain_page if such accesses fail, by testing in_irq();
* prints some additional helpful messages;
* fixes the endianness of register transfers from the gdbstubs
so that gdb is much less confused.
* fixes the documentation in docs/misc/crashdb.txt
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'xen/common/keyhandler.c')
-rw-r--r-- | xen/common/keyhandler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/common/keyhandler.c b/xen/common/keyhandler.c index f7756cd324..14ed246703 100644 --- a/xen/common/keyhandler.c +++ b/xen/common/keyhandler.c @@ -275,6 +275,7 @@ extern void perfc_reset(unsigned char key); static void do_debug_key(unsigned char key, struct cpu_user_regs *regs) { + printk("'%c' pressed -> trapping into debugger\n", key); (void)debugger_trap_fatal(0xf001, regs); nop(); /* Prevent the compiler doing tail call optimisation, as that confuses xendbg a |