diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-29 17:36:36 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-29 17:36:36 +0000 |
commit | 1b98914a55f307890b8fa7cf095dffb08dd0ac2f (patch) | |
tree | f03ef6bc241e19ecbe1d9854161245e2c6ac34d0 /gdb/mi/mi-cmds.c | |
parent | f57718b4c3a59a16940b6b300a6b20237631686c (diff) | |
download | gdb-1b98914a55f307890b8fa7cf095dffb08dd0ac2f.zip gdb-1b98914a55f307890b8fa7cf095dffb08dd0ac2f.tar.gz gdb-1b98914a55f307890b8fa7cf095dffb08dd0ac2f.tar.bz2 |
* mi/mi-cmds.c (mi_cmds): Route -exec-run, -exec-until,
-target-download and -target-select via CLI, so that
the quoting rules are the same as they were (unfortunately)
in all prior gdb releases.
* mi/mi-cmds.h (mi_cmd_exec_run, mi_cmd_exec_until)
(mi_cmd_target_download, mi_cmd_target_select): Remove.
* mi/mi-main.c (mi_cmd_exec_run, mi_cmd_exec_until)
(mi_cmd_target_download, mi_cmd_target_select): Remove.
(mi_cmd_execute): Set current_token even for commands
routed via CLI.
Diffstat (limited to 'gdb/mi/mi-cmds.c')
-rw-r--r-- | gdb/mi/mi-cmds.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/mi/mi-cmds.c b/gdb/mi/mi-cmds.c index e94648b..bf7388a 100644 --- a/gdb/mi/mi-cmds.c +++ b/gdb/mi/mi-cmds.c @@ -64,12 +64,12 @@ struct mi_cmd mi_cmds[] = { "exec-next", { NULL, 0 }, mi_cmd_exec_next}, { "exec-next-instruction", { NULL, 0 }, mi_cmd_exec_next_instruction}, { "exec-return", { NULL, 0 }, mi_cmd_exec_return}, - { "exec-run", { NULL, 0 }, mi_cmd_exec_run}, + { "exec-run", { "run", 1 }, NULL}, { "exec-show-arguments", { NULL, 0 }, NULL }, { "exec-signal", { NULL, 0 }, NULL }, { "exec-step", { NULL, 0 }, mi_cmd_exec_step}, { "exec-step-instruction", { NULL, 0 }, mi_cmd_exec_step_instruction}, - { "exec-until", { NULL, 0 }, mi_cmd_exec_until}, + { "exec-until", { "until", 1 }, NULL}, { "file-clear", { NULL, 0 }, NULL }, { "file-exec-and-symbols", { "file", 1 }, NULL }, { "file-exec-file", { "exec-file", 1 }, NULL }, @@ -121,7 +121,7 @@ struct mi_cmd mi_cmds[] = { "target-compare-sections", { NULL, 0 }, NULL }, { "target-detach", { "detach", 0 }, 0 }, { "target-disconnect", { "disconnect", 0 }, 0 }, - { "target-download", { NULL, 0 }, mi_cmd_target_download}, + { "target-download", { "load", 1 }, NULL}, { "target-exec-status", { NULL, 0 }, NULL }, { "target-file-delete", { NULL, 0 }, mi_cmd_target_file_delete }, { "target-file-get", { NULL, 0 }, mi_cmd_target_file_get }, @@ -129,7 +129,7 @@ struct mi_cmd mi_cmds[] = { "target-list-available-targets", { NULL, 0 }, NULL }, { "target-list-current-targets", { NULL, 0 }, NULL }, { "target-list-parameters", { NULL, 0 }, NULL }, - { "target-select", { NULL, 0 }, mi_cmd_target_select}, + { "target-select", { "target", 1 }, NULL}, { "thread-info", { NULL, 0 }, mi_cmd_thread_info }, { "thread-list-ids", { NULL, 0 }, mi_cmd_thread_list_ids}, { "thread-select", { NULL, 0 }, mi_cmd_thread_select}, |