This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cli-decode.c and tui_active


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  <ford@vss.fsi.com>
 > 
 > 	* 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++)
 >        ;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]