diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-02-14 20:36:58 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-02-14 20:36:58 +0000 |
commit | 3b27aeeaa9c83198c5201af3055c720b87f86992 (patch) | |
tree | 77826e839b2fb28dc20b442579a2c2275202736f /gdb | |
parent | b0b1c2c0ebc1f12ddf52682d75c3dc7bcbbe55ca (diff) | |
download | gdb-3b27aeeaa9c83198c5201af3055c720b87f86992.zip gdb-3b27aeeaa9c83198c5201af3055c720b87f86992.tar.gz gdb-3b27aeeaa9c83198c5201af3055c720b87f86992.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/cli/cli-decode.c | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index df10628..f90af6b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index a9979f6..2a6d196 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -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++) ; |