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: [rfc] Allow watchpoints on inaccessible memory


Daniel Jacobowitz <drow@false.org> writes:
> This is much nicer :-)  Any opinions on this change?  Also, does it
> deserve a NEWS entry and should it go in 6.7?

This is definitely very cool.  Certainly watchpoints shouldn't refuse
to be set because their expression (currently) yields an error.

One thing I don't understand: why are the "always watch the outermost
value even if it is lazy" changes needed?  The code that evaluates the
watchpoint condition should always simply unlazy the expression's
final value to begin with, so it'll never be lazy by the time the
other code sees it.


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