"Meng, David" wrote:
> ./configure --target=arm-linux --host=i686-pc-linux-gnu
I take it you are trying to build a cross GDB for ARM Linux. The compiler is
set up to generate little endian ARM code for ARM Linux.
> Do you know how to tell the gdb to generate the little(big) ARM simulator
> in building a cross gdb.
I think the answer in this case is you can't. There is no simulator for ARM
Linux in the GDB sources AFAIK. I've never heard of anyone doing this.
I'm sure a cross GDB for ARM Linux will have to use a gdbserver running on the
target machine, and debug over the serial or ethernet ports. I've never done
this, so I don't know if it works. I made some changes to GDB this week for
this. Phil, did you have any luck?
> Also would you please tell me if the CVS snapshot contains ARM update code
> in the gdb?
GDB 4.18 doesn't have support for ARM Linux. The latest GDB snapshots do
contain support for ARM Linux, as does the CVS tree. You need a snapshot dated
later than April 5, 2000 to do what you want to do, or check out the source from
CVS. I checked in a fix to allow a cross debugger for ARM Linux to build on
Wednesday. I'm going to check in some Makefile dependency changes today for the
same problem, so I recommend checking out a tree from CVS.
Scott
--
Scott Bambrough - Software Engineer
REBEL.COM http://www.rebel.com
NetWinder http://www.netwinder.org
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++