This is the mail archive of the gdb@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] |
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!
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |