aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2015-10-09 10:12:21 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2015-10-09 10:12:21 -0400
commit78c5b882482b5435bb2dcf1c09a52683d54cb81e (patch)
tree3e95eadfc6b799a569d58347f4994bee985fb2b8
parentf9fa37b32501f173a37891fb1a8f9013af38a098 (diff)
downloadgdb-78c5b882482b5435bb2dcf1c09a52683d54cb81e.zip
gdb-78c5b882482b5435bb2dcf1c09a52683d54cb81e.tar.gz
gdb-78c5b882482b5435bb2dcf1c09a52683d54cb81e.tar.bz2
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/cris-tdep.c2
2 files changed, 6 insertions, 1 deletions
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. */