[commit] Fix gdb.mi watchpoint tests for remote

Maciej W. Rozycki macro@linux-mips.org
Fri Sep 7 12:00:00 GMT 2007


On Thu, 6 Sep 2007, Daniel Jacobowitz wrote:

> The non-MI watchpoint tests do the same thing: if the board file
> requests we not try hardware watchpoints, tell GDB not to.  So
> I made the MI watchpoint tests do the same, which fixes two
> failures when using gdbserver.
> 
> Of course this makes the tests run with software watchpoints.
> They happen to fail, because we don't realize when we're in
> the epilogue early enough (true on both amd64 and powerpc).
> Progress, anyway...

 In case you or somebody else is interested and/or working in this area 
now -- I have a patch in my queue that makes these tests be run twice: 
once with hw watchpoints and once with sw watchpoints.  I could merge it 
with your changes and make it jump the queue.  I cannot guarantee it will 
not introduce regressions, but this was the very idea of this change 
actually -- to discover rotting support for sw watchpoints for platforms 
normally using hw ones (it succeeds both ways for my usual MIPS platforms 
though).

  Maciej



More information about the Gdb-patches mailing list