diff options
Diffstat (limited to 'gdb/remote-os9k.c')
-rw-r--r-- | gdb/remote-os9k.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c index 6c117b2..e6bf345 100644 --- a/gdb/remote-os9k.c +++ b/gdb/remote-os9k.c @@ -258,7 +258,7 @@ get_hex_regs (int n, int regno) for (j = 0; j < 4; j++) { get_hex_byte (&b); - if (TARGET_BYTE_ORDER == BIG_ENDIAN) + if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) val = (val << 8) + b; else val = val + (b << (j * 8)); @@ -558,7 +558,7 @@ rombug_fetch_registers (void) for (j = 0; j < 2; j++) { get_hex_byte (&b); - if (TARGET_BYTE_ORDER == BIG_ENDIAN) + if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) val = (val << 8) + b; else val = val + (b << (j * 8)); @@ -622,7 +622,7 @@ rombug_fetch_register (int regno) for (j = 0; j < 2; j++) { get_hex_byte (&b); - if (TARGET_BYTE_ORDER == BIG_ENDIAN) + if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) val = (val << 8) + b; else val = val + (b << (j * 8)); |