title: Print the values of variables of a structure array in GDB
body: <p>Here is the definition of structure in C:</p>
  
  <pre><code>typedef struct projection {
      angle_t angle;
      int size;
      element_t *element;
  } projection_t;
  
  projection_t *projections;
  projections = (projection_t *)malloc(sizeof(projection_t)*m);
  </code></pre>
  
  <p>An array of this structure is defined and values are assigned to each projection's variables. Using GDB, I am trying to display the value of the size of each projection. Printing the values one by one is a heavy process.</p>
  
  <p>I know that the content of arrays can be displayed with <code>print *projections@len</code> but I do not know if it is possible to access easily the values of projection's size with the <code>@</code> operand.</p>