qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 0/5] Debugger enhancements


From: Jan Kiszka
Subject: [Qemu-devel] Re: [PATCH 0/5] Debugger enhancements
Date: Sun, 01 Jun 2008 15:56:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

Jamie Lokier wrote:
> Paul Brook wrote:
>> On most targets watchpoint traps occur after the instruction
>> completes, so you have to defer the DEBUG exception.  Normal MMU
>> faults occur before the instruction completes.
> 
> Ok.  It might be a useful architecture-independent debugging feature
> to _also_ have the ability to trap a watchpoint before the memory
> access though - especially writes.  Are there any tracing tools which
> use the gdbstub support and could make use of that?  Can GDB make use
> of that?

The spec of gdb's remote protocol does not mention where the instruction
pointer is supposed to point at when a watchpoint is reported. But
making this configurable is a good idea, will take it into account. I'm
currently reworking my queue, and I just added a watchpoint flag that
will decide about this behavior. Just needs to be implemented, but that
shouldn't be hard. Will likely take yet another monitor command, just
like for allow/block IRQs on singlestep.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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