Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <vladimir@codesourcery.com>
To: gdb-patches@sources.redhat.com
Subject: Implement -target-attach.
Date: Fri, 04 Jul 2008 09:13:00 -0000	[thread overview]
Message-ID: <200807041313.19354.vladimir@codesourcery.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 52 bytes --]


This one is fairly obvious. Checked in.

- Volodya

[-- Attachment #2: commit.diff --]
[-- Type: text/x-diff, Size: 1282 bytes --]

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

             reply	other threads:[~2008-07-04  9:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-04  9:13 Vladimir Prus [this message]
2008-07-04 22:48 ` Daniel Jacobowitz
2008-07-05 17:20   ` Vladimir Prus
2008-07-06  6:28     ` Eli Zaretskii
2008-07-06 13:22       ` Vladimir Prus
2008-07-07 12:06         ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200807041313.19354.vladimir@codesourcery.com \
    --to=vladimir@codesourcery.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox