From 78c5b882482b5435bb2dcf1c09a52683d54cb81e Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 9 Oct 2015 10:12:21 -0400 Subject: 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. --- gdb/ChangeLog | 5 +++++ gdb/cris-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gdb') 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 + * cris-tdep.c (struct instruction_environment): Change type of + byte_order to enum bfd_endian. + +2015-10-09 Simon Marchi + * 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. */ -- cgit v1.1