From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3392 invoked by alias); 22 Sep 2003 14:44:24 -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 3378 invoked from network); 22 Sep 2003 14:44:24 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 22 Sep 2003 14:44:24 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 1A1RvM-0005Jm-5E; Mon, 22 Sep 2003 10:44:24 -0400 Date: Mon, 22 Sep 2003 14:44:00 -0000 From: Daniel Jacobowitz To: Anthony Green Cc: gdb-patches@gcc.gnu.org Subject: Re: Patch: fix monitor.c build problem Message-ID: <20030922144424.GB20343@nevyn.them.org> Mail-Followup-To: Anthony Green , gdb-patches@gcc.gnu.org References: <1064240932.3570.206.camel@escape> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1064240932.3570.206.camel@escape> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-09/txt/msg00463.txt.bz2 On Mon, Sep 22, 2003 at 07:28:53AM -0700, Anthony Green wrote: > I am unable to build monitor.c with a recent gcc because of a > conflicting targ_ops declaration (both static and extern in same > compilation unit). It looks like we can just delete the second > declaration. Ok? Sure. > 2003-09-22 Anthony Green > > * monitor.c (monitor_expect): Delete unused conflicting targ_ops > declaration. > > > Index: gdb/monitor.c > =================================================================== > RCS file: /cvs/uberbaum/gdb/monitor.c,v > retrieving revision 1.42 > diff -c -u -p -r1.42 monitor.c > --- gdb/monitor.c 11 Jun 2003 13:16:28 -0000 1.42 > +++ gdb/monitor.c 22 Sep 2003 14:23:57 -0000 > @@ -521,7 +521,6 @@ monitor_expect (char *string, char *buf, > char *p = string; > int obuflen = buflen; > int c; > - extern struct target_ops *targ_ops; > > if (monitor_debug_p) > { > > > -- > Anthony Green > Red Hat, Inc. > > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer