summaryrefslogtreecommitdiff
path: root/gdb/gdbtk
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-05 04:30:46 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-05 04:30:46 +0000
commit883f871c3fbad1c6d74c594c07e569661288ccac (patch)
treed1b5cf7772ceedbe0307e1ed34dcdb8763869295 /gdb/gdbtk
parent61994f77b766fca56d2e758f28a864a39453eaad (diff)
downloadgdb-883f871c3fbad1c6d74c594c07e569661288ccac.tar.gz
s/BIG_ENDIAN/BFD_ENDIAN_BIG/
Diffstat (limited to 'gdb/gdbtk')
-rw-r--r--gdb/gdbtk/ChangeLog6
-rw-r--r--gdb/gdbtk/generic/gdbtk-cmds.c2
-rw-r--r--gdb/gdbtk/generic/gdbtk-register.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index 011dcc7b134..25ee3af941d 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,5 +1,11 @@
2002-01-04 Andrew Cagney <ac131313@redhat.com>
+ * generic/gdbtk-cmds.c (gdb_disassemble_driver): Replace
+ LITTLE_ENDIAN with BFD_ENDIAN_LITTLE.
+ * generic/gdbtk-register.c (get_register): Ditto.
+
+2002-01-04 Andrew Cagney <ac131313@redhat.com>
+
* generic/gdbtk-wrapper.h: Add typedef value_ptr.
2002-01-03 Martin M. Hunt <hunt@redhat.com>
diff --git a/gdb/gdbtk/generic/gdbtk-cmds.c b/gdb/gdbtk/generic/gdbtk-cmds.c
index afee12a49df..68badf5ad75 100644
--- a/gdb/gdbtk/generic/gdbtk-cmds.c
+++ b/gdb/gdbtk/generic/gdbtk-cmds.c
@@ -2101,7 +2101,7 @@ gdb_disassemble_driver (low, high, mixed_source_and_assembly,
}
di.mach = TARGET_PRINT_INSN_INFO->mach;
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
di.endian = BFD_ENDIAN_BIG;
else
di.endian = BFD_ENDIAN_LITTLE;
diff --git a/gdb/gdbtk/generic/gdbtk-register.c b/gdb/gdbtk/generic/gdbtk-register.c
index 3f904019031..2e5e3696d9c 100644
--- a/gdb/gdbtk/generic/gdbtk-register.c
+++ b/gdb/gdbtk/generic/gdbtk-register.c
@@ -249,7 +249,7 @@ get_register (regnum, fp)
ptr = buf + 2;
for (j = 0; j < REGISTER_RAW_SIZE (regnum); j++)
{
- register int idx = TARGET_BYTE_ORDER == BIG_ENDIAN ? j
+ register int idx = TARGET_BYTE_ORDER == BFD_ENDIAN_BIG ? j
: REGISTER_RAW_SIZE (regnum) - 1 - j;
sprintf (ptr, "%02x", (unsigned char) raw_buffer[idx]);
ptr += 2;