Big endian ARM Insight & gdbserver

I'm trying to build insight for a linux pc and gdbserver for a big endian based board. I generate insight executables and gdbserver from the same sources insight-6.5. I create 2 directories insight-arm-6.5 and gdbserver-arm6.5. In insight-arm-6.5 I do the following commands: ../insight-6.5/configure --host=i686-pc-linux-gnu --target=arm-linux

--prefix=/usr/local/insight-arm-6.5 --enable-sim make make install In gdbserver-arm6.5 directory I do: ../insight-6.5/gdb/gdbserver/configure --target=arm-linux

--host=arm-linux --build=i386-linux CC="arm-linux-gcc" CFLAGS="-mbig-endian" LDFLAGS="-mbig-endian" make then I copy gdbserver to the board. When I try to connect to the gdbserver I get this message: [wmrm@ticinux prova]$ /usr/local/insight-arm-6.5/bin/arm-linux-gdb GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux --target=arm-linux". (gdb) target remote Remote debugging using warning: Remote reply is too short: T050b:00000000;0d:be9f6e60;0f:40001b Remote register badly formatted: T050b:00000000;0d:be9f6e60;0f:40001b here: (gdb)

I get the same error if I set gdb to big endian with the command set endian big. I think my configuration of insight is wrong, could anyone help me? Thanks

Reply to
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.