gdb/
authorDaniel Jacobowitz <drow@false.org>
Wed, 12 Jul 2006 18:50:18 +0000 (18:50 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 12 Jul 2006 18:50:18 +0000 (18:50 +0000)
commit0876f84a6a8150efc48e1a6658531994906acea2
treea4bd8e1fcc052f1159ce803f241a579254ad18c1
parent13547ab600a0929b12f354dc144f1aef37938f30
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.
gdb/ChangeLog
gdb/NEWS
gdb/defs.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c
gdb/remote.c
gdb/utils.c