From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17084 invoked by alias); 7 Jan 2009 21:18:37 -0000 Received: (qmail 17076 invoked by uid 22791); 7 Jan 2009 21:18:36 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Jan 2009 21:18:32 +0000 Received: (qmail 18412 invoked from network); 7 Jan 2009 21:18:30 -0000 Received: from unknown (HELO macbook-2.local) (stan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 7 Jan 2009 21:18:30 -0000 Message-ID: <49651C21.8020306@codesourcery.com> Date: Wed, 07 Jan 2009 21:18:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Doug Evans CC: gdb-patches@sourceware.org Subject: Re: [RFA] delete gdb_prompt_string References: <20090107202904.4CD6A1C7A93@localhost> In-Reply-To: <20090107202904.4CD6A1C7A93@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2009-01/txt/msg00117.txt.bz2 Doug Evans wrote: > Found while browsing top.c. > > Ok to check in? > Sure. Stan > 2009-01-07 Doug Evans > > * top.c (gdb_prompt_string): Delete, unused. > > Index: top.c > =================================================================== > RCS file: /cvs/src/src/gdb/top.c,v > retrieving revision 1.157 > diff -u -p -r1.157 top.c > --- top.c 6 Jan 2009 18:28:04 -0000 1.157 > +++ top.c 7 Jan 2009 20:21:13 -0000 > @@ -132,9 +132,6 @@ void (*window_hook) (FILE *, char *); > int epoch_interface; > int xgdb_verbose; > > -/* gdb prints this when reading a command interactively */ > -static char *gdb_prompt_string; /* the global prompt string */ > - > /* Buffer used for reading command lines, and the size > allocated for it so far. */ > > >