This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] Fix gdb.mi watchpoint tests for remote


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]