From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2984 invoked by alias); 27 Aug 2002 14:28:45 -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 2972 invoked from network); 27 Aug 2002 14:28:44 -0000 Received: from unknown (HELO tomago.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 27 Aug 2002 14:28:44 -0000 Received: (from graces@localhost) by tomago.toronto.redhat.com (8.11.6/8.11.6) id g7REShj26476; Tue, 27 Aug 2002 10:28:43 -0400 Date: Tue, 27 Aug 2002 07:29:00 -0000 From: Grace Sainsbury To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa] rename insight to insight Message-ID: <20020827102842.A26351@tomago.toronto.redhat.com> References: <20020826142957.A24152@tomago.toronto.redhat.com> <1020826201302.ZM31999@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1020826201302.ZM31999@localhost.localdomain>; from kevinb@redhat.com on Mon, Aug 26, 2002 at 01:13:03PM -0700 X-SW-Source: 2002-08/txt/msg00893.txt.bz2 On Mon, Aug 26, 2002 at 01:13:03PM -0700, Kevin Buettner wrote: > On Aug 26, 2:29pm, Grace Sainsbury wrote: > > > -int > > -main (int argc, char **argv) > > -{ > > - struct captured_main_args args; > > - args.argc = argc; > > - args.argv = argv; > > - catch_errors (captured_main, &args, "", RETURN_MASK_ALL); > > - return 0; > > -} > > +/* int */ > > +/* main (int argc, char **argv) */ > > +/* { */ > > +/* struct captured_main_args args; */ > > +/* args.argc = argc; */ > > +/* args.argv = argv; */ > > +/* catch_errors (captured_main, &args, "", RETURN_MASK_ALL); */ > > +/* return 0; */ > > +/* } */ > > I think you might was well remove main() entirely instead of > preserving it in a commented out form. If there's a real need to > preserve it for a time, I think using #if 0 ... #endif is preferable. > > Kevin I'll get rid of it -- I forgot that I hadn't removed it already. grace