more expression parsing in cprint (add arithmetic)
This issue was previously sent in by mail, to track its state here is it as an issue, also because of a recent re-request of it:
(gdb) cp var(st:len)
--> already works and resolves all three variables correctly
requested: calculations with constants
(gdb) cp var(st - 1:len + 1)
(gdb) cp tab(idx - 1)
and "less rarely needed" (I don't know if that actually makes much of a difference): calculations with variables
(gdb) cp tab(idx - adj)
The only arithmetic mentioned as needed (so far) were addition and subtraction.
I guess multiplication and division will come "some day" (can also be tracked with a follow-up issue).