2003-02-14 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 14 Feb 2003 20:36:58 +0000 (20:36 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 14 Feb 2003 20:36:58 +0000 (20:36 +0000)
        From Brian Ford  <ford@vss.fsi.com>

* cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
conditionalize tui_active test.
(lookup_cmd_1): Ditto.

gdb/ChangeLog
gdb/cli/cli-decode.c

index df10628716ee3d245009a664c4c2f5cc58542b52..f90af6bc42dc7bb4c2f65eb48d7b81bf411bbc0a 100644 (file)
@@ -1,3 +1,11 @@
+2003-02-14  Elena Zannoni  <ezannoni@redhat.com>
+
+        From Brian Ford  <ford@vss.fsi.com>
+
+       * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
+       conditionalize tui_active test.
+       (lookup_cmd_1): Ditto.
+
 2003-02-14  Mark Kettenis  <kettenis@gnu.org>
 
        * configure.in: Add check for _etext.
index a9979f633baa1cf67a113efcb5e872eac00e3df4..2a6d196930ee749cd5d2b07e4f6dd86277e5f6e3 100644 (file)
@@ -927,8 +927,10 @@ lookup_cmd_1 (char **text, struct cmd_list_element *clist,
      `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++)
       ;
This page took 0.028237 seconds and 4 git commands to generate.