This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH c++ 2/3] cris: Use enum bfd_endian to represent endianness
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Fri, 9 Oct 2015 09:58:18 -0400
- Subject: [PATCH c++ 2/3] cris: Use enum bfd_endian to represent endianness
- Authentication-results: sourceware.org; auth=none
- References: <1444399099-31226-1-git-send-email-simon dot marchi at ericsson dot com>
gdb/ChangeLog:
* cris-tdep.c (struct instruction_environment): Change type of
byte_order to enum bfd_endian.
---
gdb/cris-tdep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index 73e4048..00cf623 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.5.1