From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2509 invoked by alias); 14 May 2008 04:26:58 -0000 Received: (qmail 2498 invoked by uid 22791); 14 May 2008 04:26:58 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 May 2008 04:26:33 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 341402A98A6 for ; Wed, 14 May 2008 00:26:31 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id k9AjwmwQcQGh for ; Wed, 14 May 2008 00:26:31 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id DBDE92A989B for ; Wed, 14 May 2008 00:26:30 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 6BB92E7ACD; Tue, 13 May 2008 21:26:28 -0700 (PDT) Date: Wed, 14 May 2008 17:56:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [commit/obvious] fix findcmd.c build failure on Tru64 Message-ID: <20080514042628.GA3727@adacore.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i 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 X-SW-Source: 2008-05/txt/msg00426.txt.bz2 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 361 Hello, I just checked in the attached patch. The issue was that the code is using some types such as int32_t which are normally declared in stdint.h. So I added a #include of gdb_stdint.h. 2008-05-13 Joel Brobecker * findcmd.c: Add #include "gdb_stdint.h". * Makefile.in (findcmd.o): Update dependencies. -- Joel --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="osf.diff" Content-length: 1163 Index: findcmd.c =================================================================== RCS file: /cvs/src/src/gdb/findcmd.c,v retrieving revision 1.2 diff -u -p -r1.2 findcmd.c --- findcmd.c 9 May 2008 17:37:36 -0000 1.2 +++ findcmd.c 14 May 2008 04:20:46 -0000 @@ -23,6 +23,7 @@ #include "gdbcmd.h" #include "value.h" #include "target.h" +#include "gdb_stdint.h" /* Copied from bfd_put_bits. */ Index: Makefile.in =================================================================== RCS file: /cvs/src/src/gdb/Makefile.in,v retrieving revision 1.1018 diff -u -p -r1.1018 Makefile.in --- Makefile.in 9 May 2008 17:02:01 -0000 1.1018 +++ Makefile.in 14 May 2008 04:20:47 -0000 @@ -2137,7 +2137,7 @@ f-exp.o: f-exp.c $(defs_h) $(gdb_string_ $(parser_defs_h) $(language_h) $(f_lang_h) $(bfd_h) $(symfile_h) \ $(objfiles_h) $(block_h) findcmd.o: findcmd.c $(defs_h) $(gdb_string_h) $(gdbcmd_h) $(value_h) \ - $(target_h) + $(target_h) $(gdb_stdint_h) findvar.o: findvar.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(frame_h) \ $(value_h) $(gdbcore_h) $(inferior_h) $(target_h) $(gdb_string_h) \ $(gdb_assert_h) $(floatformat_h) $(symfile_h) $(regcache_h) \ --LZvS9be/3tNcYl/X--