Since watchpoints are optional it might be better to reject attempts to add watchpoints when there is no support.
Subject: Re: New: ppc hpd panics - no wp support cagney at redhat dot com wrote: > Since watchpoints are optional it might be better to reject attempts to add > watchpoints when there is no support. > > - Log ----------------------------------------------------------------- commit 9da8189a51b382e4d3e46fbf770808d8592e357e Author: Phil Muldoon <pmuldoon@redhat.com> Date: Wed May 14 15:43:48 2008 +0100 On unsupported arch, do not check watchpoints in handleTrapped. 2008-05-14 Phil Muldoon <pmuldoon@redhat.com> * WatchpointFunctionFactory.java (getWatchpointFunctions): Return null on unknown arch, do not pass along exception. 2008-05-14 Phil Muldoon <pmuldoon@redhat.com> * LinuxPtraceTaskState.java (Running.checkWatchpoint): Check watchpoint factory does not return null.