From 78c5b882482b5435bb2dcf1c09a52683d54cb81e Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 9 Oct 2015 10:12:21 -0400 Subject: [PATCH] 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(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5085c832fb9..2a70bc1e9d5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index adb722116ae..3d53aef449c 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. */ -- 2.30.2