Trivial patch to remove dependency on host unsigned long type

from cris-tdep.c.

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

	* cris-tdep.c (elf_greg_t): Change typedef to unsigned char[4]
This commit is contained in:
Ricard Wanderlof 2013-09-06 08:14:33 +00:00
parent eddddb9d52
commit dc8636efde
2 changed files with 5 additions and 1 deletions

View 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

View 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