aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-07-06 13:21:19 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-07-06 13:21:19 +0000
commitb56e7235bb83ed5cf86c71db7c9009fd4491bd0d (patch)
treecd79c367e02fb64c763e3aa9e1605e6a452c0647 /gdb/doc
parentd67fad7bcc133db2ce95c2af13b91cbe7541ae29 (diff)
downloadgdb-b56e7235bb83ed5cf86c71db7c9009fd4491bd0d.zip
gdb-b56e7235bb83ed5cf86c71db7c9009fd4491bd0d.tar.gz
gdb-b56e7235bb83ed5cf86c71db7c9009fd4491bd0d.tar.bz2
* gdb.texinfo (GDB/MI Target Manipulation): Add
example of -target-attach.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo10
2 files changed, 13 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index d2d5349..915908b 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index df1f1a2..0c4f2ed 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="bar",args=[]}
+^done
+(gdb)
+@end smallexample
@subheading The @code{-target-compare-sections} Command
@findex -target-compare-sections