<p>I would like to debug an embedded system containing gdb remotely using some kind of gui (ie like ddd). The embedded system does not have the sources or build symbols. However my local x windows box has. However the execution must happen on the embedded system. How can I from my development box drive gdb remotely with some gui ? </p>

<p>leds and jtag are not an option. </p>

[{'answer_id': 71268, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 3, 'selected': True, 'text': '<p>I think, gdbserver could help you.</p>\n'}, {'answer_id': 4675868, 'author': 'FractalSpace', 'author_id': 175169, 'author_profile': 'https://Stackoverflow.com/users/175169', 'pm_score': 2, 'selected': False, 'text': '<p>On Remote target:</p>\n\n<pre><code>target&gt; gdbserver localhost:1234 &lt;application&gt;\n</code></pre>\n\n<p>On Host (build machine):</p>\n\n<pre><code>host&gt; gdb &lt;application&gt;\n</code></pre>\n\n<p>Note that the  on target may be stripped off from the symbols. But host  may have all the symbols.</p>\n\n<pre><code>gdb&gt; set &lt;path-to-libs-search&gt;\ngdb&gt; target remote &lt;target-ip&gt;:1234\ngdb&gt; break main\ngdb&gt; cont\n</code></pre>\n\n<p>If this works, get some GDB gui on the host machine and try to replicate the same settings. (I have used SlickEdit and eclipse for this purpose).</p>\n'}]
['https://Stackoverflow.com/questions/71248', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/-1/']