diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2010-02-24 07:33:55 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2010-02-24 07:33:55 +0000 |
commit | 115d30f9b6746bc41746961a4f4bab5183c6eb80 (patch) | |
tree | 569cbc39b4f70922892180c8728646e3eedf423b /gdb/mi/mi-cmds.c | |
parent | 06cd862c015ff7285816de9e36290b5b1a7b090e (diff) | |
download | gdb-115d30f9b6746bc41746961a4f4bab5183c6eb80.zip gdb-115d30f9b6746bc41746961a4f4bab5183c6eb80.tar.gz gdb-115d30f9b6746bc41746961a4f4bab5183c6eb80.tar.bz2 |
Make -exec-run a proper MI commands.
* mi/mi-cmds.h (mi_cmd_exec_run): Declare.
* mi/mi-cmds.c (mi_cmds): Adjust.
* mi/mi-main.c (mi_cmd_exec_run): New.
Diffstat (limited to 'gdb/mi/mi-cmds.c')
-rw-r--r-- | gdb/mi/mi-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmds.c b/gdb/mi/mi-cmds.c index 201d66b..1acd54c 100644 --- a/gdb/mi/mi-cmds.c +++ b/gdb/mi/mi-cmds.c @@ -65,7 +65,7 @@ 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", { "run", 1 }, NULL}, + { "exec-run", { NULL, 0}, mi_cmd_exec_run}, { "exec-step", { NULL, 0 }, mi_cmd_exec_step}, { "exec-step-instruction", { NULL, 0 }, mi_cmd_exec_step_instruction}, { "exec-until", { "until", 1 }, NULL}, |