diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 14:38:32 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 14:38:32 +0000 |
commit | 0e7f50da78982a93a4603cddbb2e0c07019e9c1a (patch) | |
tree | a928a4426efc054ce836def5815ef3d3f8783fc1 /gdb/gdbserver/server.h | |
parent | 23d964e7b6625bec3822bcb9613f65362b9b3026 (diff) | |
download | gdb-0e7f50da78982a93a4603cddbb2e0c07019e9c1a.zip gdb-0e7f50da78982a93a4603cddbb2e0c07019e9c1a.tar.gz gdb-0e7f50da78982a93a4603cddbb2e0c07019e9c1a.tar.bz2 |
ChangeLog:
* remote.c (remote_write_qxfer): New function.
(remote_xfer_partial): Add handling for TARGET_OBJECT_SPU.
(remote_read_qxfer): Do not cache empty objects.
(_initialize_remote): Add PACKET_qXfer_spu_read and
PACKET_qXfer_spu_write.
doc/ChangeLog:
* gdb.texinfo (General Query Packets): Document qXfer:spu:read
and qXfer:spu:write packets and mention them under qSupported.
gdbserver/ChangeLog:
* remote-utils.c (decode_xfer_write): New function.
* server.h (decode_xfer_write): Add prototype.
* server.c (handle_query): Add PACKET_LEN argument. Support
qXfer:spu:read and qXfer:spu:write packets.
(main): Pass packet_len to handle_query.
* spu-low.c (spu_target_ops): Add spu_proc_xfer_spu.
* target.h (target_ops): Add qxfer_spu.
Diffstat (limited to 'gdb/gdbserver/server.h')
-rw-r--r-- | gdb/gdbserver/server.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index b1ff238..573bde2 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -176,6 +176,9 @@ void decode_M_packet (char *from, CORE_ADDR * mem_addr_ptr, unsigned int *len_ptr, unsigned char *to); int decode_X_packet (char *from, int packet_len, CORE_ADDR * mem_addr_ptr, unsigned int *len_ptr, unsigned char *to); +int decode_xfer_write (char *buf, int packet_len, char **annex, + CORE_ADDR *offset, unsigned int *len, + unsigned char *data); int unhexify (char *bin, const char *hex, int count); int hexify (char *hex, const char *bin, int count); |