From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6888 invoked by alias); 8 May 2012 13:16:21 -0000 Received: (qmail 6872 invoked by uid 22791); 8 May 2012 13:16:19 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,TW_YM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from oarmail.oarcorp.com (HELO OARmail.OARCORP.com) (67.63.146.244) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 May 2012 13:16:07 +0000 Received: from iceland.oarcorp.com (192.168.1.171) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.1.436.0; Tue, 8 May 2012 08:14:46 -0500 Message-ID: <4FA91C76.1090108@oarcorp.com> Date: Tue, 08 May 2012 13:16:00 -0000 From: Joel Sherrill User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120425 Thunderbird/10.0.4 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Microblaze simulator - Fix missing prototype Content-Type: multipart/mixed; boundary="------------020200040506010906000808" 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: 2012-05/txt/msg00218.txt.bz2 --------------020200040506010906000808 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Content-length: 648 Without this patch, the Microblaze simulator generates a missing prototype warning which is treated as an error. I don't see this routine referenced elsewhere, so there is the possibility that it also could be made static. But it definitely needs a prototype to build. OK to apply? 2012-05-12 Joel Sherrill * microblaze-rom.c (_initialize_picobug_rom): Add prototype. -- Joel Sherrill, Ph.D. Director of Research& Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985 --------------020200040506010906000808 Content-Type: text/x-patch; name="gdb-mblaze.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gdb-mblaze.diff" Content-length: 702 Index: gdb/configure.tgt =================================================================== RCS file: /cvs/src/src/gdb/configure.tgt,v retrieving revision 1.253 diff -u -r1.253 configure.tgt --- gdb/configure.tgt 24 Apr 2012 03:33:16 -0000 1.253 +++ gdb/configure.tgt 7 May 2012 20:15:54 -0000 @@ -331,8 +331,8 @@ monitor.o dsrec.o solib-svr4.o symfile-mem.o linux-tdep.o" gdb_sim=../sim/microblaze/libsim.a ;; -microblaze*-*-*) - # Target: Xilinx MicroBlaze running standalone +microblaze*-*-* | microblaze*-*-rtems*) + # Target: Xilinx MicroBlaze running standalone (or RTEMS) gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o" gdb_sim=../sim/microblaze/libsim.a ;; --------------020200040506010906000808--