Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 1998 21:20:24 -0400 (EDT)
From:      Thomas David Rivers <rivers@dignus.com>
To:        freebsd-hackers@freefall.cdrom.com
Subject:   Idea for a small project...
Message-ID:  <199809240120.VAA15313@lakes.dignus.com>

next in thread | raw e-mail | index | archive | help

I realize this is making work, but, if someone is looking for a way
to contribute, or a graduate student/senior computer science major
is looking for a good term project... this might be one.

   The Pentium chip has improved support for debugging programs, including
   a hardware assisted databreak manager.

   Unfortunately, the FreeBSD kernel doesn't take advantage of this facility.
   Which leaves debuggers to do "watchpoints" by single stepping the code
   and checking to see if the watchpoint had occurred.

   A nice improvement to FreeBSD would be to improve the ptrace() support
   so that it used the hardware assisted feature when running on a Pentium.

   The feature is limited in the number of breakpoints you can manage;
   extra credit would be to not expose this limitation.  Use the hardware
   break point feature for the first N watch points (I believe N would
   be 4 in this case) and the current software approach when you have more.

	- Dave Rivers -


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809240120.VAA15313>