On 15.12.2016 19:45, Andrew Cagney wrote: > > > On 15 December 2016 at 13:22, Eduardo Horvath <eeh%netbsd.org@localhost > <mailto:eeh%netbsd.org@localhost>> wrote: > > > On Thu, 15 Dec 2016, Andrew Cagney wrote: > > > Might a better strategy be to first get the registers exposed, and then, if > > there's still time start to look at an abstract interface? > > That's one way of looking at it. > > Another way is to consider that watchpoints can be implemented through > careful use of the MMU. > > > Yes, HP implemented something like this with wildebeast (gdb fork) on HP-UX. Can it work for short data fields like shorts, integers? I know there are features like mprotect(2) that perhaps could be used for the same purpose... to some extend.
Attachment:
signature.asc
Description: OpenPGP digital signature