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/spu-low.c | |
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/spu-low.c')
-rw-r--r-- | gdb/gdbserver/spu-low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/spu-low.c b/gdb/gdbserver/spu-low.c index 4d88833..b747a53 100644 --- a/gdb/gdbserver/spu-low.c +++ b/gdb/gdbserver/spu-low.c @@ -574,7 +574,6 @@ spu_arch_string (void) return "spu"; } - static struct target_ops spu_target_ops = { spu_create_inferior, spu_attach, @@ -598,6 +597,7 @@ static struct target_ops spu_target_ops = { NULL, NULL, spu_arch_string, + spu_proc_xfer_spu, }; void |