title: gdb: size of a struct that isn't in context?
body: <p>Sometimes I need to know size of a struct which is not in the scope <em>(not even on the stack, i.e. <code>frame</code>-related commands won't help)</em>. E.g. it happens for debugging client + server communication, when restarting the apps to just break somewhere in context of the struct with the purpose of finding the size is uncomfortable and time consuming.</p>
  
  <p>How do I find size of a <code>struct</code> defined in a header with disregard to my current context?</p>