breakpoint for accessing memory location

Robert Dewar dewar@adacore.com
Mon Oct 23 02:03:00 GMT 2006


Daniel Jacobowitz wrote:
>
>> Trouble? what trouble?  Just sample the value of the expression for
>> several random values of the variables, and if the value doesn't
>> change, consider it constant.
> 
> Was this sarcasm?  If not, please consider "watch p != 42" for a couple
> of random values of p.

I suspect it was not sarcasm, just an ill-thought out proposal,
but your counter-example is VERY nice indeed!



More information about the Gdb mailing list