From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4786 invoked by alias); 22 Apr 2002 02:15:53 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4779 invoked from network); 22 Apr 2002 02:15:48 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 22 Apr 2002 02:15:48 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A54063D1A; Sun, 21 Apr 2002 22:15:42 -0400 (EDT) Message-ID: <3CC3724E.6070407@cygnus.com> Date: Sun, 21 Apr 2002 19:15:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.9) Gecko/20020328 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "David S. Miller" Cc: gdb-patches@sources.redhat.com Subject: [patch] fix arc-elf and sparc-elf targets Content-Type: multipart/mixed; boundary="------------060900010605020706090605" X-SW-Source: 2002-04/txt/msg00763.txt.bz2 This is a multi-part message in MIME format. --------------060900010605020706090605 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 247 FYI, I've checked in the attached, it fixes arc-elf and sparc-elf target builds. See the MAINTAINERS file for a list of the targets (and their corresponding --enable-gdb-build-warnings option) that are expected to always build. enjoy, Andrew --------------060900010605020706090605 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1265 2002-04-21 Andrew Cagney * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore declaration * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. Index: arc-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/arc-tdep.c,v retrieving revision 1.10 diff -u -r1.10 arc-tdep.c --- arc-tdep.c 22 Apr 2002 00:27:38 -0000 1.10 +++ arc-tdep.c 22 Apr 2002 02:07:36 -0000 @@ -301,7 +301,7 @@ int arc_prologue_frameless_p (CORE_ADDR pc) { - return (pc == arc_skip_prologue (pc, 1); + return (pc == arc_skip_prologue (pc, 1)); } /* Return the return address for a frame. Index: config/sparc/tm-sparc.h =================================================================== RCS file: /cvs/src/src/gdb/config/sparc/tm-sparc.h,v retrieving revision 1.14 diff -u -r1.14 tm-sparc.h --- config/sparc/tm-sparc.h 22 Apr 2002 00:27:39 -0000 1.14 +++ config/sparc/tm-sparc.h 22 Apr 2002 02:07:38 -0000 @@ -250,6 +250,7 @@ /* Advance PC across any function entry prologue instructions to reach some "real" code. */ +extern CORE_ADDR sparc_skip_prologue (CORE_ADDR, int); #define SKIP_PROLOGUE(PC) sparc_skip_prologue (PC, 0) /* Immediately after a function call, return the saved pc. --------------060900010605020706090605--