diff options
author | ach61@labyrinth.cl.cam.ac.uk <ach61@labyrinth.cl.cam.ac.uk> | 2004-06-08 11:59:46 +0000 |
---|---|---|
committer | ach61@labyrinth.cl.cam.ac.uk <ach61@labyrinth.cl.cam.ac.uk> | 2004-06-08 11:59:46 +0000 |
commit | 05f45943b27b15155adc10e901acd4f22936e22e (patch) | |
tree | 5021fe37815ee1064196eaf5d4478583ac25e09b /xen | |
parent | 0d8b8558a706cce617c95dd68f7fb4d43c6639aa (diff) | |
download | xen-05f45943b27b15155adc10e901acd4f22936e22e.tar.gz xen-05f45943b27b15155adc10e901acd4f22936e22e.tar.bz2 xen-05f45943b27b15155adc10e901acd4f22936e22e.zip |
bitkeeper revision 1.939.1.1 (40c5aa32hbEqDyGf0-BJufIsvBNHsg)
do_int3: only call pdb_handle_exception if pdb_initialized
Diffstat (limited to 'xen')
-rw-r--r-- | xen/arch/i386/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/i386/traps.c b/xen/arch/i386/traps.c index d30c324804..d798477a38 100644 --- a/xen/arch/i386/traps.c +++ b/xen/arch/i386/traps.c @@ -252,7 +252,7 @@ asmlinkage void do_int3(struct pt_regs *regs, long error_code) struct guest_trap_bounce *gtb = guest_trap_bounce+smp_processor_id(); trap_info_t *ti; - if ( pdb_handle_exception(3, regs) == 0 ) + if ( pdb_initialized && pdb_handle_exception(3, regs) == 0 ) return; if ( (regs->xcs & 3) != 3 ) { @@ -377,7 +377,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, long error_code) #endif } - if (pdb_page_fault_possible) + if (pdb_page_fault_possible) /* implicit pdb_initialized */ { pdb_page_fault = 1; /* make eax & edx valid to complete the instruction */ |