From: Vladimir Prus <vladimir@codesourcery.com>
To: gdb-patches@sources.redhat.com
Subject: Re: Implement -target-attach.
Date: Sat, 05 Jul 2008 17:20:00 -0000 [thread overview]
Message-ID: <200807052120.07332.vladimir@codesourcery.com> (raw)
In-Reply-To: <20080704224659.GA28282@caradoc.them.org>
[-- Attachment #1: Type: text/plain, Size: 289 bytes --]
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
[-- Attachment #2: target_attach_doc.diff --]
[-- Type: text/x-diff, Size: 606 bytes --]
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
next prev parent reply other threads:[~2008-07-05 17:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-04 9:13 Vladimir Prus
2008-07-04 22:48 ` Daniel Jacobowitz
2008-07-05 17:20 ` Vladimir Prus [this message]
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=200807052120.07332.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