This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] cris: Use enum bfd_endian to represent endianness
- From: Simon Marchi <simark at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 9 Oct 2015 14:12:50 -0000
- Subject: [binutils-gdb] cris: Use enum bfd_endian to represent endianness
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=78c5b882482b5435bb2dcf1c09a52683d54cb81e
commit 78c5b882482b5435bb2dcf1c09a52683d54cb81e
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Fri Oct 9 10:12:21 2015 -0400
cris: Use enum bfd_endian to represent endianness
gdb/ChangeLog:
* cris-tdep.c (struct instruction_environment): Change type of
byte_order to enum bfd_endian.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/cris-tdep.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5085c83..2a70bc1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2015-10-09 Simon Marchi <simon.marchi@ericsson.com>
+ * cris-tdep.c (struct instruction_environment): Change type of
+ byte_order to enum bfd_endian.
+
+2015-10-09 Simon Marchi <simon.marchi@ericsson.com>
+
* arm-linux-tdep.c (arm_canonicalize_syscall): Add
enum gdb_syscall casts.
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index adb7221..3d53aef 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -485,7 +485,7 @@ struct instruction_environment
int delay_slot_pc_active;
int xflag_found;
int disable_interrupt;
- int byte_order;
+ enum bfd_endian byte_order;
} inst_env_type;
/* Machine-dependencies in CRIS for opcodes. */