bug-hurd
[Top][All Lists]
Advanced

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

[PATCH] hardware breakpoint support


From: Samuel Thibault
Subject: [PATCH] hardware breakpoint support
Date: Mon, 22 Aug 2011 01:17:31 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Hello,

I couldn't stand not having it any more. Here are patches to finish
hardware breakpoint support to gnumach (including kdb) and gdb.  I have
uploaded pre-built gdb packages on
http://people.debian.org/~sthibault/hurd-i386/gdb/

Could people have a look at the interface and comment?  It's in straight
line with the existing thread state interface: get or set the whole 8
registers, so it should be just fine.

Mach makes sure that the addresses lie in the user space, and on task
switch, loads them into the cpu. The kernel can also makes use of the
hardware register. In that case, the userland-provided values are not
loaded any more until the kernel stops using them.

Thomas S., when we agree on the interface, could you review and commit
the gdb part?

Samuel

Attachment: patch-gnumach
Description: Text document

Attachment: patch-gdb
Description: Text document


reply via email to

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