diff options
author | Ricard Wanderlof <ricard@sourceware.org> | 2013-09-06 08:14:33 +0000 |
---|---|---|
committer | Ricard Wanderlof <ricard@sourceware.org> | 2013-09-06 08:14:33 +0000 |
commit | dc8636efde7aac89f967f196b48456ad1d218cd8 (patch) | |
tree | c7634724cf179a72af6af537881249c453c472ff /gdb/cris-tdep.c | |
parent | eddddb9d52e7605343164e1c74d29e31c21ffa18 (diff) | |
download | gdb-dc8636efde7aac89f967f196b48456ad1d218cd8.zip gdb-dc8636efde7aac89f967f196b48456ad1d218cd8.tar.gz gdb-dc8636efde7aac89f967f196b48456ad1d218cd8.tar.bz2 |
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]
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r-- | gdb/cris-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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 |