diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-07-04 09:04:36 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-07-04 09:04:36 +0000 |
commit | 711eabedca708f276d9c8756fb5fe83802327c8f (patch) | |
tree | 111a2f27ecbc729e4838745ef0aa85f20bbd9753 /gdb/mi | |
parent | 5cb66f97b7b8dbf0a951e9cf10f6b3ed0f309022 (diff) | |
download | gdb-711eabedca708f276d9c8756fb5fe83802327c8f.zip gdb-711eabedca708f276d9c8756fb5fe83802327c8f.tar.gz gdb-711eabedca708f276d9c8756fb5fe83802327c8f.tar.bz2 |
Implement -target-attach.
* mi/mi-cmds.c (mi_cmds): Forward -target-attach to CLI attach.
Diffstat (limited to 'gdb/mi')
-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 bf7388a..3ae4c95 100644 --- a/gdb/mi/mi-cmds.c +++ b/gdb/mi/mi-cmds.c @@ -117,7 +117,7 @@ struct mi_cmd mi_cmds[] = { "symbol-list-variables", { NULL, 0 }, NULL }, { "symbol-locate", { NULL, 0 }, NULL }, { "symbol-type", { NULL, 0 }, NULL }, - { "target-attach", { NULL, 0 }, NULL }, + { "target-attach", { "attach", 1 }, NULL }, { "target-compare-sections", { NULL, 0 }, NULL }, { "target-detach", { "detach", 0 }, 0 }, { "target-disconnect", { "disconnect", 0 }, 0 }, |