From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25108 invoked by alias); 7 Nov 2008 17:25:47 -0000 Received: (qmail 24737 invoked by uid 22791); 7 Nov 2008 17:25:46 -0000 X-Spam-Check-By: sourceware.org Received: from mail.oarcorp.com (HELO OARmail.OARCORP.com) (216.186.189.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Nov 2008 17:25:09 +0000 Received: from [192.168.1.3] (192.168.1.3) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.1.311.2; Fri, 7 Nov 2008 11:21:41 -0600 Message-ID: <491479EC.3070907@oarcorp.com> Date: Fri, 07 Nov 2008 17:25:00 -0000 From: Joel Sherrill User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: sim/erc32 warnings Content-Type: multipart/mixed; boundary="------------030506060502000404070800" 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-11/txt/msg00132.txt.bz2 --------------030506060502000404070800 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Content-length: 540 Hi, I am working through the RTEMS gdb patch and submitting it in pieces. erc32.c needed to include string.h and get rid of symbols after endif. exec.c had a ";" where some gcc versions wanted a "break;" 2008-11-07 Joel Sherrill * erc32.c, exec.c: Fix warnings. -- 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 --------------030506060502000404070800 Content-Type: text/x-patch; name="sis-warnings.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sis-warnings.diff" Content-length: 810 ? .exec.c.swp Index: erc32.c =================================================================== RCS file: /cvs/src/src/sim/erc32/erc32.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 erc32.c --- erc32.c 16 Apr 1999 01:35:00 -0000 1.1.1.1 +++ erc32.c 7 Nov 2008 17:21:50 -0000 @@ -24,6 +24,7 @@ #include #include +#include #include #include #include @@ -1659,7 +1660,7 @@ errmec = 0; return(1); } -#endif; +#endif if ((addr >= mem_ramstart) && (addr < (mem_ramstart + mem_ramsz))) { fetch_bytes (asi, &ramb[addr & mem_rammask], data, sz); @@ -1736,7 +1737,7 @@ errmec = 0; return(1); } -#endif; +#endif if ((addr >= mem_ramstart) && (addr < (mem_ramstart + mem_ramsz))) { if (mem_accprot) { --------------030506060502000404070800--