aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-08-14 13:03:13 +0000
committerYao Qi <yao@codesourcery.com>2011-08-14 13:03:13 +0000
commit78d8519916ea5cc108bb6280779e0384978fa6d2 (patch)
treede5d8d9878253d714752940a83cb776510b7acd4 /gdb/doc
parentd3e3fa9393077d57b41b07f96be95e1035dcda48 (diff)
downloadgdb-78d8519916ea5cc108bb6280779e0384978fa6d2.zip
gdb-78d8519916ea5cc108bb6280779e0384978fa6d2.tar.gz
gdb-78d8519916ea5cc108bb6280779e0384978fa6d2.tar.bz2
gdb/
* remote.c (PACKET_qXfer_fdpic): New enum value. (remote_protocol_features): Add qXfer:fdpic:read packet. (remote_xfer_partial): Support TARGET_OBJECT_FDPIC. (_initialize_remote): Add set/show remote read-fdpic-loadmap command. * target.h (enum target_object): Add TARGET_OBJECT_FDPIC. gdb/gdbserver: * target.h (struct target_ops): Add read_loadmap. * linux-low.c (struct target_loadseg): New type. (struct target_loadmap): New type. (linux_read_loadmap): New function. (linux_target_ops): Add linux_read_loadmap. * server.c (handle_query): Support qXfer:fdpic:read packet. * win32-low.c (win32_target_ops): Initialize field `read_loadmap' to NULL. gdb/doc/ * gdb.texinfo : Document qXfer:fdpic:read packet.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo17
2 files changed, 22 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 74bf56e..de65be6 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,6 +1,10 @@
2011-08-14 Yao Qi <yao@codesourcery.com>
- * gdb.texinfo: (Standard Target Features): Document C6x features.
+ * gdb.texinfo (General Query Packets): Document qXfer:fdpic:read packet.
+
+2011-08-14 Yao Qi <yao@codesourcery.com>
+
+ * gdb.texinfo (Standard Target Features): Document C6x features.
(TIC6x Features): New node.
2011-08-12 Doug Evans <dje@google.com>
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index aa6327e..b477cf3 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -33776,6 +33776,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
@@ -33887,6 +33891,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}).
@@ -34142,6 +34150,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}.