Printing a 2D array in a C program

Neven Sajko
2016-03-04T14:27:18Z

Hello,
I have a newbie question.

GDB version is 7.11, compiler is gcc 5.3.0 (-std=gnu90).

In my C program there is a square matrix implemented as an array
of arrays, which prints nicely in GDB with `info locals`.
But how can that nice output be accomplished if you are not in
the function in which the array was declared, but just have it
passed as a function parameter.

Thank you,
Neven