From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28080 invoked by alias); 19 Feb 2003 23:35:05 -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 28073 invoked from network); 19 Feb 2003 23:35:04 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 19 Feb 2003 23:35:04 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 36A6F2ED1; Wed, 19 Feb 2003 18:39:49 -0500 (EST) Message-ID: <3E5415C5.90409@redhat.com> Date: Wed, 19 Feb 2003 23:35:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.0.2) Gecko/20030217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Elena Zannoni Cc: Brian Ford , gdb-patches@sources.redhat.com Subject: Re: cli-decode.c and tui_active References: <15949.21607.785448.294234@localhost.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00451.txt.bz2 > Brian Ford writes: > > The following trivial patch is needed to build cvs gdb on Cygwin on > > anywhere TUI is not defined: > > > > 2003-02-14 Brian Ford > > > > * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly > > conditionalize tui_active test. > > > thanks, I've committed the fix. Thanks! Andrew > > -- > > Brian Ford > > Senior Realtime Software Engineer > > VITAL - Visual Simulation Systems > > FlightSafety International > > Phone: 314-551-8460 > > Fax: 314-551-8444 > > Index: cli-decode.c > > =================================================================== > > RCS file: /cvs/src/src/gdb/cli/cli-decode.c,v > > retrieving revision 1.29 > > diff -u -p -u -p -r1.29 cli-decode.c > > --- cli-decode.c 14 Feb 2003 13:58:06 -0000 1.29 > > +++ cli-decode.c 14 Feb 2003 19:55:11 -0000 > > @@ -927,8 +927,10 @@ lookup_cmd_1 (char **text, struct cmd_li > > `tui_version'. */ > > for (p = *text; > > *p && (isalnum (*p) || *p == '-' || *p == '_' || > > +#if defined(TUI) > > (tui_active && > > (*p == '+' || *p == '<' || *p == '>' || *p == '$')) || > > +#endif > > (xdb_commands && (*p == '!' || *p == '/' || *p == '?'))); > > p++) > > ; > > @@ -1299,8 +1301,10 @@ lookup_cmd_composition (char *text, > > `tui_version'. */ > > for (p = text; > > *p && (isalnum (*p) || *p == '-' || *p == '_' || > > +#if defined(TUI) > > (tui_active && > > (*p == '+' || *p == '<' || *p == '>' || *p == '$')) || > > +#endif > > (xdb_commands && (*p == '!' || *p == '/' || *p == '?'))); > > p++) > > ; >