aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-07-12 18:50:18 +0000
committerDaniel Jacobowitz <drow@false.org>2006-07-12 18:50:18 +0000
commit0876f84a6a8150efc48e1a6658531994906acea2 (patch)
treea4bd8e1fcc052f1159ce803f241a579254ad18c1 /gdb/defs.h
parent13547ab600a0929b12f354dc144f1aef37938f30 (diff)
downloadgdb-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index d472f8d..aab91c2 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -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''. */