title: command to suspend a thread with GDB
body: <p>I'm a little new to GDB.  I'm hoping someone can help me with something that should be quite simple, I've used Google/docs but I'm just missing something.</p>
  
  <p>What is the 'normal' way folks debug threaded apps with GDB? I'm using pthreads. I'm wanting to watch only one thread - the two options I see are</p>
  
  <p>a) tell the debugger somehow to attach to a particular thread, such that stepping wont result in jumping threads on each context switch</p>
  
  <p>b) tell the debugger to suspend/free any 'uninteresting' threads</p>
  
  <p>I'd prefer to go route b) - reading the help for GDB I dont see a command for this,  tips?</p>