I recommend getting gdb from the Linaro toolchain rather than the Ubuntu repositories. Download gcc-linaro-arm-linux-gnueabihf-4.7-2012.10-20121022_linux.tar.bz2 from here and you'll find:
The latter is statically linked and of course built for ARM Linux. Assuming you have networking already setup to your target board. Copy
On your development machine, run:
and you're up and running with remote cross debugging. Links to the Linaro bug tracker, mailing list and web forum are in Linaro:Getting Involved. They're very active in ARM Linux toolchain, kernel, QEMU development development as you can see from their release notes. |
是http://stackoverflow.com/questions/13269948/need-cross-gdb-for-device复制下来的
其中 gdbserver 是下载源文件, 交叉编译的
由于手上没有jlink, 就先这样玩着...