How to filter non-zero members in a large struct with gdb
<p>In type flow_t, most members' value is zero. I want to check which members' value is not 0.I use command <code>x/1920xb</code> to watch memory, but it's not convenient.</p>

<pre><code>  typedef struct flow {
        ... // There are more than 100 members. Total size is 1920 bytes.
  }flow_t; 
</code></pre>