|
|
|
|
|
by nneonneo
2336 days ago
|
|
GDB supports expressions on both sides of the @ sign, so you could also probably do p *values@array_size(values)
and that is probably short enough that you could wrap that in a macro. (Of course, Python is definitely the more extensible/hackable option - but quick 'n' dirty can often be highly effective for debugging!) |
|
I also used this as a stepping stone into some of the more complicated extensions, which I hope to share in the future.