From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14536 invoked by alias); 20 Mar 2003 21:35:16 -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 14529 invoked from network); 20 Mar 2003 21:35:15 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 20 Mar 2003 21:35:15 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D34942B11; Thu, 20 Mar 2003 16:35:11 -0500 (EST) Message-ID: <3E7A340F.3000704@redhat.com> Date: Thu, 20 Mar 2003 21:35:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam Fedor Cc: GDB Patches Subject: Re: [RFA] Compile objc-lang.c, objc-exp.tab.c [1/5] References: <3E16093D.3070907@doc.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00437.txt.bz2 > Index: parser-defs.h > =================================================================== > RCS file: /cvs/src/src/gdb/parser-defs.h,v > retrieving revision 1.15 > diff -u -p -r1.15 parser-defs.h > --- parser-defs.h 19 Nov 2002 03:15:01 -0000 1.15 > +++ parser-defs.h 3 Jan 2003 03:06:25 -0000 > @@ -223,4 +223,9 @@ struct op_print > > extern void parser_fprintf (FILE *, const char *, ...) ATTR_FORMAT (printf, 2 ,3); > > +/* for parsing Objective C */ > +extern void start_msglist (void); > +extern void add_msglist (struct stoken *str, int addcolon); > +extern int end_msglist (void); > + > #endif /* PARSER_DEFS_H */ Adam, I think the above declarations belong in "objc-lang.h" (since the corresponding definitions are in "objc-lang.c"). With that tweak, are you able to build a GDB that only links in objc-exp.[yo]? Andrew