title: Debugging the AVR with GDB
body: <p>I've got a pcb with an Atmega88 and I only put the 6 pin header on the pcb for ICSP.  I have an AVR Dragon, and the 6 pin header there is for debugWIRE.</p>
  
  <p>The problem I ran into is that my firmware guy is unable to finish the project and I need to do some debugging, but I only have a Linux machine. </p>
  
  <p>I can program it with eclipse and with avrdude on the command line, but I have no clue where to begin with debugging. </p>
  
  <p>I'm a hardware guy and only have a cursory exposure to embedded programming. I've seen a lot of posts regarding jtag and a few with debugWIRE, but they all start over my head.</p>
  
  <p>My question is, what is a good resource to learn the basics for debugging a bare metal avr with Ubuntu Linux? </p>