This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Really cross compiling gdb.
- From: James Steward <jamessteward at optusnet dot com dot au>
- To: gdb at sources dot redhat dot com
- Date: Wed, 11 Jan 2006 12:06:39 +1100
- Subject: Really cross compiling gdb.
- Reply-to: jamessteward at optusnet dot com dot au
Hi Folks.
I have an ARM based development platform that has just one serial port
where getty is run by init (/dev/ttyS0 == /dev/console).
I've heard it's not possible to run gdbserver over the console serial port.
Is this correct? If so how do I? I've tried and it doesn't seem to work.
This development board has heaps of RAM and CF disk space so I
thought about compiling gdb to run on the development platform but
alas with the --host=arm-xscale-linux-gnu and
--target=arm-xscale-linux-gnu and the readline workaround the gdb
application is still a i386 executable (the build machine).
Is it possible to configure gdb to be compiled to run on the arm whilst
building on an i386? I assume it must be possible as gdbserver is
almost gdb...
If so how??
Any tips much appreciated.
Regards,
James.