Does anyone have other solutions for connecting to a remote ARM target without IDA? This is the question and below I give examples of setup's i have tried, should anyone be interested.

Update: updated Codeworks test for remote gdb

Update: GDB setup fixed

I have been looking at a ARM hardware target and have a stable JTAG connection using J-Link. Attempts to get IDA working nicely with the target fail via the JLinkGDBServer. JLinkExe works just fine. As a baseline with JlinkExe I can halt, go and single step. In IDA on connect it attempts to halt and does not notice that the PC (Program Counter) is NOT at 0x0. At this point it gets out of sync and causes the device to halt or jump to a error loop of the device, and IDA does not get the PC to follow it properly.

So I've been looking at other solutions: GDB directly, Eclipse, Codeblocks.

GDB->JlinkGDBServer - stable: works pretty well thus far

Eclipse->JlinkGDBServer - issue with init: after adding the Hardware GDB Debugger from http://download.eclipse.org/tools/cdt/releases/helios I can set the debugger for an empty project to point to the GDBServer but any time I attempt to attach or debug it complains that it cannot start target. I'm not sure how to get it working without source code of target.

Codeblocks->GDB->JlinkGDBServer - works: codeworks Does support remote GDB when you setup an empty project. The Remote settings are in the Project settings. (remote gdb is not started for global debugging settings). Stability similar to GDB though the disassembly window in codeblocks is not working. Could just be me.

At the moment I'm back to IDA and likely writing my own JLink Debugger plugin for it based on http://idaproarmdebug.sourceforge.net


1 Answer 1


binnavi from google works well remotely with gdb, it does require a bit of setup though and also needs IDA to create the IDB which is then converted to navi database format.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.