This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Re: Refactored TaskObserver.Code
- From: Andrew Cagney <cagney at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: frysk at sourceware dot org
- Date: Thu, 21 Sep 2006 13:34:06 -0400
- Subject: Re: Refactored TaskObserver.Code
- References: <1158857583.2992.37.camel@dijkstra.wildebeest.org>
Mark Wielaard wrote:
Hi,
While writing faddr (a utility to easily set lots of breakpoints on a
process, more on that later) I noticed that the setup of Code
TaskObservers isn't very nice if you want to set lots of similar
observers. This patch refactors the Code observer so that the actual
address on which it is watching is always passed as argument to the task
request and when updateHit() is called. That way you can set the same
observer on a group of related addresses.
neat idea
Andrew