From 54bff650843cacd3c17a0afdb0fe32e15e1b65b0 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Wed, 22 Jan 2014 15:02:29 +0200 Subject: gdb: xtensa: fix on 64-bit hosts On 64-bit hosts unsigned long is 64 bit. Use uint32_t instead. gdb/ 2014-01-22 Baruch Siach * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. --- gdb/xtensa-tdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/xtensa-tdep.h') diff --git a/gdb/xtensa-tdep.h b/gdb/xtensa-tdep.h index 968b9d2..d7ba562 100644 --- a/gdb/xtensa-tdep.h +++ b/gdb/xtensa-tdep.h @@ -84,7 +84,7 @@ typedef enum /* Xtensa ELF core file register set representation ('.reg' section). Copied from target-side ELF header . */ -typedef unsigned long xtensa_elf_greg_t; +typedef uint32_t xtensa_elf_greg_t; typedef struct { -- cgit v1.1