diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-07-12 18:50:18 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-07-12 18:50:18 +0000 |
commit | 0876f84a6a8150efc48e1a6658531994906acea2 (patch) | |
tree | a4bd8e1fcc052f1159ce803f241a579254ad18c1 /gdb/defs.h | |
parent | 13547ab600a0929b12f354dc144f1aef37938f30 (diff) | |
download | gdb-0876f84a6a8150efc48e1a6658531994906acea2.zip gdb-0876f84a6a8150efc48e1a6658531994906acea2.tar.gz gdb-0876f84a6a8150efc48e1a6658531994906acea2.tar.bz2 |
gdb/
* remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv.
(remote_supported_packet): Remove #if 0.
(remote_protocol_features): Add qPart:auxv:read.
(remote_unescape_input): New function.
(readchar): Don't mask off the high bit.
(read_frame): Use fputstrn_filtered for packet data.
(getpkt_sane): Return the number of bytes read or -1. Use
fputstrn_unfiltered.
(remote_read_qxfer): New.
(remote_xfer_partial): Use it for TARGET_OBJECT_AUXV.
(_initialize_remote): Update packet registration.
* defs.h (fputstrn_filtered): New prototype.
* utils.c (fputstrn_filtered): New.
* NEWS: Mention qXfer.
gdb/doc/
* gdb.texinfo (OS Information): Update qPart reference to
qXfer.
(Remote configuration): Likewise.
(Overview): Move @cindex to the start of a paragraph. Talk
about binary data encoding.
(Packets): Refer to the overview for the details of the X
packet encoding.
(General Query Packets): Remove qPart description. Add qXfer
description. Add an anchor to qSupported. Correct feature
table title. Add a new feature for qXfer:auxv:read.
(Interrupts): Add a missing parenthesis.
gdb/gdbserver/
* server.c (decode_xfer_read, write_qxfer_response): New.
(handle_query): Take a packet length argument. Handle
qXfer:auxv:read instead of qPart:auxv:read. Mention it in
the qSupported response.
(main): Update call to handle_query.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -510,6 +510,8 @@ extern void fputstr_filtered (const char *str, int quotr, struct ui_file * strea extern void fputstr_unfiltered (const char *str, int quotr, struct ui_file * stream); +extern void fputstrn_filtered (const char *str, int n, int quotr, struct ui_file * stream); + extern void fputstrn_unfiltered (const char *str, int n, int quotr, struct ui_file * stream); /* Display the host ADDR on STREAM formatted as ``0x%x''. */ |