From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29887 invoked by alias); 16 Jan 2014 13:03:36 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 29876 invoked by uid 89); 16 Jan 2014 13:03:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: mx.tkos.co.il Received: from guitar.tcltek.co.il (HELO mx.tkos.co.il) (192.115.133.116) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Jan 2014 13:03:35 +0000 Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) by mx.tkos.co.il (Postfix) with ESMTPSA id 8BD7144005B; Thu, 16 Jan 2014 15:03:32 +0200 (IST) From: Baruch Siach To: gdb-patches@sourceware.org Cc: Baruch Siach Subject: [PATCH] gdb: xtensa: fix on 64 bit hosts Date: Thu, 16 Jan 2014 13:03:00 -0000 Message-Id: X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00603.txt.bz2 On 64 bit hosts unsigned long is 64 bit. Use uint32_t instead. * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t --- gdb/xtensa-tdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/xtensa-tdep.h b/gdb/xtensa-tdep.h index 968b9d2916b7..d7ba5628e42a 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 { -- 1.8.5.2