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: Fw: [ppc-linux-nat]: set access flag for h/w watchpoint even if it is only read or write (fwd)


> Date: Wed, 12 Jul 2006 14:29:58 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Wu Zhou <woodzltc@cn.ibm.com>, gdb-patches@sourceware.org
> 
> Right now the i386 target says "you asked me to insert a read
> watchpoint.  OK!  I've done it" and sneakily inserts an access
> watchpoint instead.  That means higher layers can't tell that it's
> going to fire unexpectedly.
> 
> If the i386 target instead said "Sorry, I can't insert a read
> watchpoint" and the higher layer said "well, how about this - can
> you insert an access watchpoint?" then it would be able to handle and
> skip the unexpected firing.

I don't mind this change.  Thanks for explaining it.


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