Trivial patch to remove dependency on host unsigned long type
authorRicard Wanderlof <ricard@sourceware.org>
Fri, 6 Sep 2013 08:14:33 +0000 (08:14 +0000)
committerRicard Wanderlof <ricard@sourceware.org>
Fri, 6 Sep 2013 08:14:33 +0000 (08:14 +0000)
from cris-tdep.c.

2013-09-06  Ricard Wanderlof  <ricardw@axis.com>

* cris-tdep.c (elf_greg_t): Change typedef to unsigned char[4]

gdb/ChangeLog
gdb/cris-tdep.c

index 18ee8c8d8b66691792000795bb5082b9ec0fa925..88474baf4cda0d5048f99afdac934b9d80047970 100644 (file)
@@ -1,3 +1,7 @@
+2013-09-06  Ricard Wanderlof  <ricardw@axis.com>
+
+       * cris-tdep.c (elf_greg_t): Change typedef to unsigned char[4]
+
 2013-09-05  Andrew Burgess  <aburgess@broadcom.com>
 
        * gdb/defs.h (deprecated_command_loop_hook): Remove, including
index 03041e44040d6babc8cfc9b3039a99f1d5cc084c..80ab1b88e2cd9af1b0e536bded8bc6c58a446d23 100644 (file)
@@ -3820,7 +3820,7 @@ cris_delayed_get_disassembler (bfd_vma addr, struct disassemble_info *info)
 }
 
 /* Copied from <asm/elf.h>.  */
-typedef unsigned long elf_greg_t;
+typedef unsigned char elf_greg_t[4];
 
 /* Same as user_regs_struct struct in <asm/user.h>.  */
 #define CRISV10_ELF_NGREG 35