From 23b671daf490acaec6fdad55f2bfa44021200a63 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 28 Apr 2014 20:17:15 +0100 Subject: [librm] Allow interrupts in protected mode When running in a virtual machine, switching to real mode may be expensive. Allow interrupts to be enabled while in protected mode and reflected down to the real-mode interrupt handlers. Signed-off-by: Michael Brown --- src/core/gdbstub.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core') diff --git a/src/core/gdbstub.c b/src/core/gdbstub.c index cbe328f9f..af06118b2 100644 --- a/src/core/gdbstub.c +++ b/src/core/gdbstub.c @@ -396,5 +396,6 @@ struct gdb_transport *find_gdb_transport ( const char *name ) { void gdbstub_start ( struct gdb_transport *trans ) { stub.trans = trans; stub.payload = &stub.buf [ 1 ]; + gdbmach_init(); gdbmach_breakpoint(); } -- cgit v1.2.3-55-g7522