This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Implement -target-attach.


This one is fairly obvious. Checked in.

- Volodya
Index: gdb/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.9514
diff -u -p -r1.9514 ChangeLog
--- gdb/ChangeLog	3 Jul 2008 23:14:35 -0000	1.9514
+++ gdb/ChangeLog	4 Jul 2008 09:03:48 -0000
@@ -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.
Index: gdb/mi/mi-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/mi/mi-cmds.c,v
retrieving revision 1.33
diff -u -p -r1.33 mi-cmds.c
--- gdb/mi/mi-cmds.c	29 Jun 2008 17:36:36 -0000	1.33
+++ gdb/mi/mi-cmds.c	4 Jul 2008 09:03:48 -0000
@@ -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 },

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]