diff options
author | root <root@phys.ethz.ch> | 2009-12-19 20:23:04 +0100 |
---|---|---|
committer | root <root@phys.ethz.ch> | 2009-12-19 20:25:15 +0100 |
commit | 4ba400c77201a8f9efe595792bfdf264741a85a9 (patch) | |
tree | b9004e491e55af0c366f659bde25a6799d9bb5b2 /xen/console.c | |
parent | 155d3ff9361676190ff4483b37a2f7048625cd1e (diff) | |
download | gnumach-4ba400c77201a8f9efe595792bfdf264741a85a9.tar.gz gnumach-4ba400c77201a8f9efe595792bfdf264741a85a9.tar.bz2 gnumach-4ba400c77201a8f9efe595792bfdf264741a85a9.zip |
Fix debugger trigger
* i386/i386/locore.S [MACH_XEN] (RET_OFFSET): Define to 8
* xen/console.c (hypcnintr): On pound sign, call kdb_kintr instead of
panicing.
Diffstat (limited to 'xen/console.c')
-rw-r--r-- | xen/console.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xen/console.c b/xen/console.c index c65e6d29..a289b8e6 100644 --- a/xen/console.c +++ b/xen/console.c @@ -112,8 +112,11 @@ static void hypcnintr(int unit, spl_t spl, void *ret_addr, void *regs) { mb(); console->in_cons++; #ifdef MACH_KDB - if (c == (char)'£') - panic("£ pressed"); + if (c == (char)'£') { + printf("£ pressed\n"); + kdb_kintr(); + continue; + } #endif /* MACH_KDB */ if ((tp->t_state & (TS_ISOPEN|TS_WOPEN))) (*linesw[tp->t_line].l_rint)(c, tp); |