mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
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.
This commit is contained in:
@ -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>
|
2003-02-14 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* configure.in: Add check for _etext.
|
* configure.in: Add check for _etext.
|
||||||
|
@ -927,8 +927,10 @@ lookup_cmd_1 (char **text, struct cmd_list_element *clist,
|
|||||||
`tui_version'. */
|
`tui_version'. */
|
||||||
for (p = *text;
|
for (p = *text;
|
||||||
*p && (isalnum (*p) || *p == '-' || *p == '_' ||
|
*p && (isalnum (*p) || *p == '-' || *p == '_' ||
|
||||||
|
#if defined(TUI)
|
||||||
(tui_active &&
|
(tui_active &&
|
||||||
(*p == '+' || *p == '<' || *p == '>' || *p == '$')) ||
|
(*p == '+' || *p == '<' || *p == '>' || *p == '$')) ||
|
||||||
|
#endif
|
||||||
(xdb_commands && (*p == '!' || *p == '/' || *p == '?')));
|
(xdb_commands && (*p == '!' || *p == '/' || *p == '?')));
|
||||||
p++)
|
p++)
|
||||||
;
|
;
|
||||||
@ -1299,8 +1301,10 @@ lookup_cmd_composition (char *text,
|
|||||||
`tui_version'. */
|
`tui_version'. */
|
||||||
for (p = text;
|
for (p = text;
|
||||||
*p && (isalnum (*p) || *p == '-' || *p == '_' ||
|
*p && (isalnum (*p) || *p == '-' || *p == '_' ||
|
||||||
|
#if defined(TUI)
|
||||||
(tui_active &&
|
(tui_active &&
|
||||||
(*p == '+' || *p == '<' || *p == '>' || *p == '$')) ||
|
(*p == '+' || *p == '<' || *p == '>' || *p == '$')) ||
|
||||||
|
#endif
|
||||||
(xdb_commands && (*p == '!' || *p == '/' || *p == '?')));
|
(xdb_commands && (*p == '!' || *p == '/' || *p == '?')));
|
||||||
p++)
|
p++)
|
||||||
;
|
;
|
||||||
|
Reference in New Issue
Block a user