We know, in C language, if there is an array
int data[100];
then ,in gdb, we can print data[4] to data[14] by typing:
print *(data+4)@11
so, the question is: when we program in Pascal language, we may have an array:
var
data: array[0..100] of Integer;
when we debug it in gdb, how can we print the value from data[4] to data[14]?
Thank you very much.
*(data+4)@11?