title: GDB question: Pretty-Printing a 2D Array?
body: <p>I have a 2d array matrix[10][10] that I'd like to inspect at debug time.</p>
  
  <p>I understand that I can do this in GDB using</p>
  
  <pre><code>p *matrix@10
  </code></pre>
  
  <p>But it outputs this in one line, making it difficult to read.</p>
  
  <p>Is there a way to have this output formatted in any way, lets say as a matrix?</p>