Skip to content
Snippets Groups Projects
Commit eba6f9a1 authored by Avi Kivity's avatar Avi Kivity
Browse files

gdb: switch back to original state before 'cont'

'osv thread' mucks around cpu registers, restore them before resuming the
guest.
parent c72f5368
No related branches found
No related tags found
No related merge requests found
......@@ -273,6 +273,11 @@ class osv_thread_apply_all(gdb.Command):
gdb.execute(arg, from_tty)
gdb.write('\n')
def continue_handler(event):
exit_thread_context()
gdb.events.cont.connect(continue_handler)
osv()
osv_heap()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment