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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/mi/mi-cmds.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 00b928c..4f0725f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-07-04 Vladimir Prus <vladimir@codesourcery.com> + + Implement -target-attach. + * mi/mi-cmds.c (mi_cmds): Forward -target-attach to CLI attach. + 2008-06-21 Hui Zhu <teawater@gmail.com> * target-descriptions.c (maint_print_c_tdesc_cmd): Fix a memory leak. 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 }, |