From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9120 invoked by alias); 22 Jan 2007 09:51:00 -0000 Received: (qmail 9111 invoked by uid 22791); 22 Jan 2007 09:51:00 -0000 X-Spam-Check-By: sourceware.org Received: from mail1.asahi-net.or.jp (HELO mail.asahi-net.or.jp) (202.224.39.197) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 22 Jan 2007 09:50:55 +0000 Received: from [192.168.0.237] (p12018-ipbffx02marunouchi.tokyo.ocn.ne.jp [222.147.75.18]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 138F026E63 for ; Mon, 22 Jan 2007 18:50:53 +0900 (JST) Mime-Version: 1.0 (Apple Message framework v752.2) To: gdb-patches@sourceware.org Message-Id: <091611DC-7FB8-416F-95F0-98144362E56E@monami-software.com> Content-Type: multipart/mixed; boundary=Apple-Mail-3-26207479 From: Masaki Muranaka Subject: [patch] Failed to build xstormy16-elf-gdb Date: Mon, 22 Jan 2007 09:51:00 -0000 X-Mailer: Apple Mail (2.752.2) X-IsSubscribed: yes 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: 2007-01/txt/msg00453.txt.bz2 --Apple-Mail-3-26207479 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Content-length: 277 Hello, I've failed to build xstormy16-elf-gdb from CVS mainline. Here is a fix. 2007-01-22 Masaki MURANAKA * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a declaration. -- Masaki Muranaka Monami software --Apple-Mail-3-26207479 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name=xstormy16-tdep.c.diff Content-Disposition: attachment; filename=xstormy16-tdep.c.diff Content-length: 830 Index: xstormy16-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/xstormy16-tdep.c,v retrieving revision 1.91 diff -u -p -r1.91 xstormy16-tdep.c --- xstormy16-tdep.c 9 Jan 2007 17:58:59 -0000 1.91 +++ xstormy16-tdep.c 22 Jan 2007 09:47:29 -0000 @@ -416,11 +416,12 @@ xstormy16_skip_prologue (CORE_ADDR pc) struct symtab_and_line sal; struct symbol *sym; struct xstormy16_frame_cache cache; + CORE_ADDR plag_end; memset (&cache, 0, sizeof cache); /* Don't trust line number debug info in frameless functions. */ - CORE_ADDR plg_end = xstormy16_analyze_prologue (func_addr, func_end, + plg_end = xstormy16_analyze_prologue (func_addr, func_end, &cache, NULL); if (!cache.uses_fp) return plg_end; --Apple-Mail-3-26207479 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Content-length: 1 --Apple-Mail-3-26207479--