Re: Support for GDB as cross debugger
On Tue, 2005-05-24 at 14:17 +0200, Raphael Bossek wrote:
> anybody thought/using a GDB which is configured for cross environment
> and running on build machine ? This would improve the speed of analysing
> core- dumps. Maybe a remote GDB session would be possible if supported
> by GDB itself.
You just need gdbserver (shipped with gdb sources) built for the target
and gdb configured to support the target. See [1] and [2] for details.
You might also find [3] helpful (it should be generic enough).
timo
[1] http://viewcvs.scratchbox.org/cgi-bin/viewcvs.cgi/sb-toolchains/device_tools/gdb/Makefile?rev=HEAD
[2] http://viewcvs.scratchbox.org/cgi-bin/viewcvs.cgi/sb-toolchains/device_tools/gdbserver/Makefile?rev=HEAD
[3] http://scratchbox.org/documentation/docbook/debugging.html
Reply to: