From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12569 invoked by alias); 14 Feb 2003 20:37:12 -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 12552 invoked from network); 14 Feb 2003 20:37:11 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 14 Feb 2003 20:37:11 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h1EKbBf21466 for ; Fri, 14 Feb 2003 15:37:11 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h1EKbBa01709 for ; Fri, 14 Feb 2003 15:37:11 -0500 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h1EKb8Z19007 for ; Fri, 14 Feb 2003 15:37:09 -0500 Received: by localhost.redhat.com (Postfix, from userid 469) id ACF2AFF79; Fri, 14 Feb 2003 15:41:12 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15949.21607.785448.294234@localhost.redhat.com> Date: Fri, 14 Feb 2003 20:37:00 -0000 To: Brian Ford Cc: gdb-patches@sources.redhat.com Subject: Re: cli-decode.c and tui_active In-Reply-To: References: X-SW-Source: 2003-02/txt/msg00338.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. elena > > -- > 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++) > ;