Re: Debug and control registers in kdb.
- From: stas.ibragimov@xxxxxxxxx
- Date: Wed, 2 May 2007 19:36:00 +0400
The 'hwatch' interface can set breakepoint only to reading and writing, but not to execution.
Reading from cr3 can be used to display page tables.
On Wed May 02, 2007 at 11:02:56AM -0400, John Baldwin wrote:
On Tuesday 01 May 2007 06:17:48 pm stas.ibragimov@xxxxxxxxx wrote:_______________________________________________
Hello everybody.registers of CPU?
In ddb(4) we can read/write only cs-ss,eax-edx,esp,ebp,esi,edi,eip and efl
Why not implemented reding/writing to the dr0-dr7 and cr0-cr4 registers?
In attach there are small patch, that implements it.
DDB already provides a 'hwatch' interface to work with the debug registers
that is much easier to use than accessing drX directly. That said, it
doesn't appear that your patch does anything for drX. While it might be
slightly useful to read crX in DDB, I'm not sure how writing to them can
really be useful.
--
John Baldwin
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- Debug and control registers in kdb.
- From: stas . ibragimov
- Re: Debug and control registers in kdb.
- From: John Baldwin
- Debug and control registers in kdb.
- Prev by Date: Re: Debug and control registers in kdb.
- Next by Date: Re: msleep() on recursivly locked mutexes
- Previous by thread: Re: Debug and control registers in kdb.
- Next by thread: how to configure mail server by freebsd 4.11
- Index(es):
Relevant Pages
|