[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC 0/2] Break the debug session on sw errors

From: edgar . iglesias
Subject: [Qemu-devel] [RFC 0/2] Break the debug session on sw errors
Date: Wed, 22 May 2013 12:38:23 +0200

From: "Edgar E. Iglesias" <address@hidden>


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?


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(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]