diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2015-10-09 10:12:21 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2015-10-09 10:12:21 -0400 |
commit | 78c5b882482b5435bb2dcf1c09a52683d54cb81e (patch) | |
tree | 3e95eadfc6b799a569d58347f4994bee985fb2b8 | |
parent | f9fa37b32501f173a37891fb1a8f9013af38a098 (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/cris-tdep.c | 2 |
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. */ |