From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11081 invoked by alias); 4 Jul 2008 09:13:53 -0000 Received: (qmail 11073 invoked by uid 22791); 4 Jul 2008 09:13:52 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 04 Jul 2008 09:13:35 +0000 Received: (qmail 21097 invoked from network); 4 Jul 2008 09:06:23 -0000 Received: from unknown (HELO localhost) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Jul 2008 09:06:23 -0000 From: Vladimir Prus To: gdb-patches@sources.redhat.com Subject: Implement -target-attach. Date: Fri, 04 Jul 2008 09:13:00 -0000 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_vmebIwvOmodDr5L" Message-Id: <200807041313.19354.vladimir@codesourcery.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00052.txt.bz2 --Boundary-00=_vmebIwvOmodDr5L Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 52 This one is fairly obvious. Checked in. - Volodya --Boundary-00=_vmebIwvOmodDr5L Content-Type: text/x-diff; charset="utf-8"; name="commit.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="commit.diff" Content-length: 1282 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 + + Implement -target-attach. + * mi/mi-cmds.c (mi_cmds): Forward -target-attach to CLI attach. + 2008-06-21 Hui Zhu * 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 }, --Boundary-00=_vmebIwvOmodDr5L--