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] |
Would it be able to include the incr? "eval gcore foo.$a++"?
I do not think so, not as suggested by Tom, I believe. The suggestion is to expand convenience variables, not evaluate full-fledged expressions. The issue with full-fledged expressions is that you have to recognize them and find where they start and end. But I think that this would not be a serious limitation in practice, since the above can be rewritten as:
eval gcore foo.$a set $a = $a + 1
Well, that would suit me OK, so long as somebody else implements it.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |