diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-08-04 23:18:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-08-04 23:18:50 +0000 |
commit | b2af646b30c37166ffdbe80a338b8a8ff9cca264 (patch) | |
tree | 369861d397c5802517c321aaf933950c1597f029 /gdb/mi/mi-parse.c | |
parent | fcc1c85c675ef402ac37ecf4f7a1377f560d0ec0 (diff) | |
download | gdb-b2af646b30c37166ffdbe80a338b8a8ff9cca264.zip gdb-b2af646b30c37166ffdbe80a338b8a8ff9cca264.tar.gz gdb-b2af646b30c37166ffdbe80a338b8a8ff9cca264.tar.bz2 |
2003-08-04 Andrew Cagney <cagney@redhat.com>
* mi-cmds.h (struct mi_cli): Define.
(struct mi_cmd): Change type of "cli" to "struct mi_cli".
* mi-cmds.c (mi_cmds): Update table.
* mi-parse.c (mi_parse): Update.
* mi-main.c (mi_execute_cli_command): Add "args_p" parameter, make
others constant.
(mi_cmd_execute): Update call.
(captured_mi_execute_command): Ditto.
Diffstat (limited to 'gdb/mi/mi-parse.c')
-rw-r--r-- | gdb/mi/mi-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-parse.c b/gdb/mi/mi-parse.c index ebfddc7..a0ff889 100644 --- a/gdb/mi/mi-parse.c +++ b/gdb/mi/mi-parse.c @@ -222,7 +222,7 @@ mi_parse (char *cmd) /* For CLI and old ARGS commands, also return the remainder of the command line as a single string. */ if (parse->cmd->args_func != NULL - || parse->cmd->cli != NULL) + || parse->cmd->cli.cmd != NULL) { parse->args = xstrdup (chp); } |