Re: [Qemu-devel] [RFC 2/2] qemu-log: Interrupt the GDB session on guest-errors

2013-05-22 Thread Edgar E. Iglesias
On Wed, May 22, 2013 at 11:45:46AM +0100, Peter Maydell wrote: > On 22 May 2013 11:38, wrote: > > From: "Edgar E. Iglesias" > > @@ -45,6 +46,25 @@ void qemu_log_mask(int mask, const char *fmt, ...) > > vfprintf(qemu_logfile, fmt, ap); > > } > > va_end(ap); > > + > > +/* >

Re: [Qemu-devel] [RFC 2/2] qemu-log: Interrupt the GDB session on guest-errors

2013-05-22 Thread Peter Maydell
On 22 May 2013 11:38, wrote: > From: "Edgar E. Iglesias" > @@ -45,6 +46,25 @@ void qemu_log_mask(int mask, const char *fmt, ...) > vfprintf(qemu_logfile, fmt, ap); > } > va_end(ap); > + > +/* > + * Break the GDB session (if connected) so that the user can inspect the >

[Qemu-devel] [RFC 2/2] qemu-log: Interrupt the GDB session on guest-errors

2013-05-22 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- qemu-log.c | 20 1 file changed, 20 insertions(+) diff --git a/qemu-log.c b/qemu-log.c index 797f2af..693bc94 100644 --- a/qemu-log.c +++ b/qemu-log.c @@ -19,6 +19,7 @@ #include "qemu-common.h" #include "