title: GDB Core Analysis of a thread core dump
body: <p>For some reason, the generated core file is only a core from a thread that is part of the main application.</p>
  
  <p>When I load it with the binary that actualy crashed, I get</p>
  
  <pre><code>BFD: Warning: core is truncated: expected core file size &gt;= 40919040, found: 61440.
  </code></pre>
  
  <p>How can I tell gdb that this is a thread from that binary?</p>