RFC Break the debug session on sw errors
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gdbstub: Add gdbserver_break()gdbstub.c include/ | +56 | 0 replies | |
| 2/2 | qemu-log: Interrupt the GDB session on guest-errorsqemu-log.c | +20 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [RFC 0/2] Break the debug session on sw errors
From: "Edgar E. Iglesias" <[email protected]>
Hi,
I've been using variations of this scheme to aid with debugging guest errors that QEMU can detect. I'm posting this RFC to see if there is interest to get something like this upstreamed.
Patch 1 adds the mechanism to break the debugger session from within emulation models.
Patch 2 hardcodes the interruption of the GDB session on log_guest_error calls to qemu_log_mask.
Some possible ways to conditionalize the behaviour could be through cmdline options or through GDB remote commands.
Any thoughts/ideas on this?
Cheers,
Edgar
Edgar E. Iglesias (2):
gdbstub: Add gdbserver_break()
qemu-log: Interrupt the GDB session on guest-errors
gdbstub.c | 68 ++++++++++++++++++++++++++++++++++++++---------- include/exec/gdbstub.h | 2 ++ qemu-log.c | 20 ++++++++++++++ 3 files changed, 76 insertions(+), 14 deletions(-)
Signature · 1 line
1.7.10.4