[RFA 9/8] New port: TI C6x: Document on qXfer:fdpic:read packet

Yao Qi
2011-07-21T06:47:05Z

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

On 07/20/2011 10:15 PM, Tom Tromey wrote:
> I can't really comment on the patch; but all additions to the remote
> protocol should come with a documentation patch.

Right. A documentation patch on this new packet is attached.

--
Yao (é½å°§)

[-- Attachment #2: 0009-fdpic-packet-doc.patch --]
[-- Type: text/x-patch, Size: 1987 bytes --]

From 9db4e71b5d686ea22e9c7b4f0710094d3530977f Mon Sep 17 00:00:00 2001
From: Yao Qi <yao@codesourcery.com>
Date: Thu, 21 Jul 2011 11:42:20 +0800
Subject: [PATCH 09/15] fdpic packet doc

gdb/doc/
* gdb.texinfo : Document qXfer:fdpic:read packet.
---
gdb/doc/gdb.texinfo | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 129a46b..37c81b8 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -33654,6 +33654,10 @@ These are the currently defined stub features and their properties:
@tab @samp{-}
@tab Yes

+@item @samp{qXfer:fdpic:read}
+@tab No
+@tab @samp{-}
+@tab Yes

@item @samp{QNonStop}
@tab No
@@ -33765,6 +33769,10 @@ The remote stub understands the @samp{qXfer:threads:read} packet
The remote stub understands the @samp{qXfer:traceframe-info:read}
packet (@pxref{qXfer traceframe info read}).

+@item qXfer:fdpic:read
+The remote stub understands the @samp{qXfer:fdpic:read}
+packet (@pxref{qXfer fdpic loadmap read}).
+
@item QNonStop
The remote stub understands the @samp{QNonStop} packet
(@pxref{QNonStop}).
@@ -34020,6 +34028,15 @@ Return a description of the current traceframe's contents.
This packet is not probed by default; the remote stub must request it,
by supplying an appropriate @samp{qSupported} response (@pxref{qSupported}).

+@item qXfer:fdpic:read:@var{annex}:@var{offset},@var{length}
+@anchor{qXfer fdpic loadmap read}
+Read contents of @code{loadmap}s on the target system. The
+annex, either @samp{exec} or @samp{interp}, specifies which @code{loadmap},
+executable @code{loadmap} or interpreter @code{loadmap} to read.
+
+This packet is not probed by default; the remote stub must request it,
+by supplying an appropriate @samp{qSupported} response (@pxref{qSupported}).
+
@item qXfer:osdata:read::@var{offset},@var{length}
@anchor{qXfer osdata read}
Access the target's @dfn{operating system information}.
--
1.7.0.4