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]

Re: breakpoint for accessing memory location


Daniel Jacobowitz wrote:

I really don't think we should be optimizing expressions.  One
certainly could be devised - but it would look like "fold" in GCC,
which is a huge and horrendously complex thing.

And it would lead to surprising results, if you watch p-p and p is out of scope, it would be surprising if it did NOT lead to an error!



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