From dc8636efde7aac89f967f196b48456ad1d218cd8 Mon Sep 17 00:00:00 2001 From: Ricard Wanderlof Date: Fri, 6 Sep 2013 08:14:33 +0000 Subject: Trivial patch to remove dependency on host unsigned long type from cris-tdep.c. 2013-09-06 Ricard Wanderlof * cris-tdep.c (elf_greg_t): Change typedef to unsigned char[4] --- gdb/ChangeLog | 4 ++++ gdb/cris-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 18ee8c8..88474ba 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-09-06 Ricard Wanderlof + + * cris-tdep.c (elf_greg_t): Change typedef to unsigned char[4] + 2013-09-05 Andrew Burgess * gdb/defs.h (deprecated_command_loop_hook): Remove, including diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index 03041e4..80ab1b8 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -3820,7 +3820,7 @@ cris_delayed_get_disassembler (bfd_vma addr, struct disassemble_info *info) } /* Copied from . */ -typedef unsigned long elf_greg_t; +typedef unsigned char elf_greg_t[4]; /* Same as user_regs_struct struct in . */ #define CRISV10_ELF_NGREG 35 -- cgit v1.1