From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7544 invoked by alias); 5 Jul 2008 17:20:23 -0000 Received: (qmail 7536 invoked by uid 22791); 5 Jul 2008 17:20:23 -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; Sat, 05 Jul 2008 17:20:05 +0000 Received: (qmail 17001 invoked from network); 5 Jul 2008 17:20:04 -0000 Received: from unknown (HELO 172.16.unknown.plus.ru) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 5 Jul 2008 17:20:04 -0000 From: Vladimir Prus To: gdb-patches@sources.redhat.com Subject: Re: Implement -target-attach. Date: Sat, 05 Jul 2008 17:20:00 -0000 User-Agent: KMail/1.9.9 References: <200807041313.19354.vladimir@codesourcery.com> <20080704224659.GA28282@caradoc.them.org> In-Reply-To: <20080704224659.GA28282@caradoc.them.org> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_H16bIpWRinNBZEX" Message-Id: <200807052120.07332.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/msg00069.txt.bz2 --Boundary-00=_H16bIpWRinNBZEX Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 289 On Saturday 05 July 2008 02:46:59 Daniel Jacobowitz wrote: > On Fri, Jul 04, 2008 at 01:13:18PM +0400, Vladimir Prus wrote: > > > > This one is fairly obvious. Checked in. > > Example > ....... > > N.A. > > Could you update the manual, please? Does the following look OK? - Volodya --Boundary-00=_H16bIpWRinNBZEX Content-Type: text/x-diff; charset="iso-8859-1"; name="target_attach_doc.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="target_attach_doc.diff" Content-length: 606 diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index df1f1a2..d2a8867 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -21628,8 +21628,14 @@ Attach to a process @var{pid} or a file @var{file} outside of @value{GDBN}. The corresponding @value{GDBN} command is @samp{attach}. @subsubheading Example -N.A. - +@smallexample +(gdb) +-target-attach 34 +=thread-created,id="1" +*stopped,thread-id="1",frame=@{addr="0xb7f7e410",func="__kernel_vsyscall",args=[]@} +^done +(gdb) +@end smallexample @subheading The @code{-target-compare-sections} Command @findex -target-compare-sections --Boundary-00=_H16bIpWRinNBZEX--