* gdb.texinfo (GDB/MI Target Manipulation): Add

example of -target-attach.
This commit is contained in:
Vladimir Prus 2008-07-06 13:21:19 +00:00
parent d67fad7bcc
commit b56e7235bb
2 changed files with 13 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-07-06 Vladimir Prus <vladimir@codesourcery.com>
* gdb.texinfo (GDB/MI Target Manipulation): Add
example of -target-attach.
2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
* observer.texi (target_resumed): New observer.

View file

@ -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="bar",args=[]}
^done
(gdb)
@end smallexample
@subheading The @code{-target-compare-sections} Command
@findex -target-compare-sections