This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Really cross compiling gdb.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]