title: In Eclipse, how to load executable to remote ARM based embedded target while remote debugging
body: <p>I build a "hello world" program in Eclipse CDT with cross development plugin for an ARM Cortex-A8 based board. I define arm-none-linux-gnueabi compiler for cross development and when I transfer my output binary file to the board with a USB, it works ok. I connect to the board with ssh and execute commands.</p>
  
  <p>Through ssh, I run the following command:</p>
  
  <blockquote>
    <blockquote>
      <p>gdbserver :2345 mydebugexecutable</p>
      
      <p>Process NeonDenemeler_debug created; pid = 1692</p>
      
      <p>Listening on port 2345</p>
    </blockquote>
  </blockquote>
  
  <p>"mydebugexecutable" is the executable which is cross compiled on my host pc (Ubuntu) in Eclipse CDT with debug setting. I create a debug configuration just as described in 
  <a href="http://linuxtortures.blogspot.com.tr/2012/06/cross-compiling-and-cross-debugging-c.html" rel="nofollow">http://linuxtortures.blogspot.com.tr/2012/06/cross-compiling-and-cross-debugging-c.html</a></p>
  
  <p>To summarize the procedure, I created a new C/C++ Remote Debug cofiguration, set debugger to "arm-none-linux-gnueabi-gdb" instead of "gdb" and set connection settings to ip and port of my remote target. Everything works ok when I launch that debug configuration, since the gdbserver on board waits for packets from port 2345.</p>
  
  <p>However, my problem is, when I change my source and compile again, <strong>is there a way to load binary through gdb from host to the target by Eclipse</strong>? I could not manage to find an option such as "load executable" etc. I make my changes and build, but always the old executable runs on the target. One of my companions performs the same remote debugging process by using QT successfully, this means "arm-none-linux-gnueabi-gdb" has that remote executable loading feature.</p>