diff options
author | Pedro Alves <palves@redhat.com> | 2011-01-25 10:09:19 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-01-25 10:09:19 +0000 |
commit | d08aafeffe7dcdff4c4f876c6b8f730ce0270847 (patch) | |
tree | 6d1be3ef6bfa5408fcf5c8e7ac8344c04869328e /gdb/gdbserver/server.h | |
parent | efc0eabd6019406ff92286a36713d41a42515e09 (diff) | |
download | gdb-d08aafeffe7dcdff4c4f876c6b8f730ce0270847.zip gdb-d08aafeffe7dcdff4c4f876c6b8f730ce0270847.tar.gz gdb-d08aafeffe7dcdff4c4f876c6b8f730ce0270847.tar.bz2 |
2011-01-25 Pedro Alves <pedro@codesourcery.com>
* server.h (decode_xfer_write): Change prototype.
* remote-utils.c (decode_xfer_write): Remove `annex' parameter,
and don't extract the annex here.
* server.c (decode_xfer_read): Remove `annex' parameter,
and don't extract the annex here.
(decode_xfer): New.
(struct qxfer): New.
(handle_qxfer_auxv, handle_qxfer_features, handle_qxfer_libraries)
(handle_qxfer_osdata, handle_qxfer_siginfo, handle_qxfer_spu)
(handle_qxfer_statictrace): New functions, abstracted out from
handle_query, and made to use the struct qxfer interface.
(handle_threads_qxfer_proper): Rename to ...
(handle_qxfer_threads_proper): ... this.
(handle_threads_qxfer): Rename to ...
(handle_qxfer_threads): ... this. Adjust.
(qxfer_packets): New array.
(handle_qxfer): New function.
(handle_query): Use handle_qxfer.
Diffstat (limited to 'gdb/gdbserver/server.h')
-rw-r--r-- | gdb/gdbserver/server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 22cf38b..c567ccb 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -423,7 +423,7 @@ void decode_M_packet (char *from, CORE_ADDR * mem_addr_ptr, unsigned int *len_ptr, unsigned char **to_p); int decode_X_packet (char *from, int packet_len, CORE_ADDR * mem_addr_ptr, unsigned int *len_ptr, unsigned char **to_p); -int decode_xfer_write (char *buf, int packet_len, char **annex, +int decode_xfer_write (char *buf, int packet_len, CORE_ADDR *offset, unsigned int *len, unsigned char *data); int decode_search_memory_packet (const char *buf, int packet_len, |