diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-07-26 12:06:08 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-07-26 12:06:08 +0000 |
commit | 4c3a88a284b288e0ed3c097de7fc07111d848003 (patch) | |
tree | 8f4a8190c97d326f26b4e7d603ac8f98c50e8706 /op-i386.c | |
parent | d6b4936796b37f629879de69d847c5cdc4892157 (diff) |
gdb stub breakpoints support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@332 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'op-i386.c')
-rw-r--r-- | op-i386.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -471,6 +471,12 @@ void OPPROTO op_hlt(void) cpu_loop_exit(); } +void OPPROTO op_debug(void) +{ + env->exception_index = EXCP_DEBUG; + cpu_loop_exit(); +} + void OPPROTO op_raise_interrupt(void) { int intno; |