wrong htons() used?
Grant.Edwards@comtrol.com
Grant.Edwards@comtrol.com
Thu Oct 21 14:21:00 GMT 1999
On Thu, Oct 21, 1999 at 05:09:05PM -0400, Scott Bambrough wrote:
> The problem is in tm-arm.h. It defines TARGET_BYTE_ORDER_SELECTABLE.
> The compatibility code in gdbarch.c
> defaults to big endian (see line 2777). Add the following to tm-arm.h:
>
> #define TARGET_BYTE_ORDER_DEFAULT LITTLE_ENDIAN
>
> I think this will fix your problem. I have fixed this while merging my
> target code for Linux with the current ARM target code. I have
> defaulted the embedded targets to LITTLE_ENDIAN. Any objections.
I'm not sure I understand the fix -- will this require that the
target ARM processor be running in little-endian mode?
--
Grant Edwards
Grant.Edwards@comtrol.com
More information about the Gdb
mailing list