title: How to do a remote debug using GDB from Qt Creator?
body: <p>I'm working on a Embedded Linux application and I would like to use GDB to debug it. The problem is that, although the Kit configuration seems fine (the Debugger option is correctly pointed to the GDB correspondent to the device's GCC - device is a Linux ARM), when I ask Qt Creator to run in debug mode it returns an error in the "Application Output":</p>
  
  <pre><code>sh: gdbserver: not found
  </code></pre>
  
  <p>This seems strange since, as I sad, the configuration is fine and no error about that is reported by Qt Creator in any moment before starting debug mode. </p>
  
  <p>I did some research on the web to find which was the exact steps to use GDB to debug an Embedded Linux application from within Qt Creator (to use breakpoints, etc.) and the closest thing to an answer I got was <a href="http://qt-project.org/forums/viewthread/23370" rel="noreferrer">this commentary</a> by Tobias Hunger:</p>
  
  <blockquote>
    <p>You will need to have ssh and gdbserver installed on your board for
    this to work. Then you need to set up your board [qt-project.org] in
    Creator. Afterwards you need to set up a kit [qt-project.org] using
    this device.</p>
  </blockquote>
  
  <p>Those steps, thought, are not clear to me. </p>
  
  <ul>
  <li>First, why would I need to have a GDB inside the device if the Kit should point to my local GDB? </li>
  <li>Or it shouldn't?</li>
  <li>Where would I put the GDB anyway?</li>
  <li>How do I know if I have this <code>ssh</code> on my device? </li>
  <li>If I don't, how do I install it?</li>
  <li>All the other mentioned steps are already done, but related to the GDB located on my Desktop Ubuntu. Should I change something if I do the above steps?</li>
  </ul>
  
  <p>And of course, is this manual my Tobias complete or do I need to do something else for this to work?</p>