Implement -target-attach.

* mi/mi-cmds.c (mi_cmds): Forward -target-attach to CLI attach.
This commit is contained in:
Vladimir Prus 2008-07-04 09:04:36 +00:00
parent 5cb66f97b7
commit 711eabedca
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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 },