gdbstub: Catch and report more vmstop reasons
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 22 Mar 2011 10:02:09 +0000 (11:02 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 3 Apr 2011 21:57:39 +0000 (23:57 +0200)
commit425189a8ffc1247cc803bf6e1ffea42c47831684
treef9373837aa0deaf9765bbe7f5dd8936b92322a49
parent2917dce477f91e933052f5555b4c6be961ff624e
gdbstub: Catch and report more vmstop reasons

When the VM goes into stop state while there is a gdb frontend attached,
it makes sense to inform gdb about this fact and at least a bit about
the stop reason. Basically, all stops are interesting except for the
temporary VMSTOP_SAVE/LOADVM.

The patch maps the relevant VMSTOP reasons on unique and more or less
associatable signals that gdb understands.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
gdbstub.c