diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2008-08-12 15:18:31 +0000 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2008-08-12 15:18:31 +0000 |
commit | a6f3e723d387ad5292f1a7519e5204d53510d081 (patch) | |
tree | 990e72f8cdb78dab49f48a6c5e8eb0f4382a96f9 /gdb/NEWS | |
parent | b099ab9fcd00257ccf077d30a327a719edd940e6 (diff) | |
download | gdb-a6f3e723d387ad5292f1a7519e5204d53510d081.zip gdb-a6f3e723d387ad5292f1a7519e5204d53510d081.tar.gz gdb-a6f3e723d387ad5292f1a7519e5204d53510d081.tar.bz2 |
gdb/doc/
2008-08-12 Sandra Loosemore <sandra@codesourcery.com>
* gdb.texinfo (Remote Configuration): Document set remote noack-packet.
(Remote Protocol): Add Packet Acknowledgment to menu.
(Overview): Mention +/- can be disabled, and point to new section
where this is discussed in detail.
(General Query Packets): Document QStartNoAckMode packet, and
corresponding qSupported reply.
(Packet Acknowledgment): New section.
gdb/
2008-08-12 Pedro Alves <pedro@codesourcery.com>
Add no-ack mode to the remote protocol --- optionally stop ACKing
packets and responses when we have a reliable communication
medium.
Based on Apple's GDB, by Jason Molenda <jmolenda@apple.com>
* remote.c (struct remote_state): Add noack_mode field.
(PACKET_QStartNoAckMode): New.
(remote_start_remote): Don't any outstanding packet here.
(remote_open_1): Clear noack_mode. Ack any outstanding packet
here. Activate noack mode if requested.
(remote_protocol_features): Add QStartNoAckMode.
(remote_open_1):
(putpkt_binary): Don't send ack in noack mode.
(read_frame): Don't recompute the checksum in noack mode.
(getpkt_sane): Skip sending ack if in noack mode.
(_initialize_remote): Add set/show remote noack mode.
* NEWS: Note the new features.
gdb/gdbserver/
2008-08-12 Pedro Alves <pedro@codesourcery.com>
* remote-utils.c (noack_mode, transport_is_reliable): New globals.
(remote_open): Set or clear transport_is_reliable.
(putpkt_binary): Don't expect acks in noack mode.
(getpkt): Don't send ack/nac in noack mode.
* server.c (handle_general_set): Handle QStartNoAckMode.
(handle_query): If connected by tcp pass QStartNoAckMode+ in
qSupported.
(main): Reset noack_mode on every connection.
* server.h (noack_mode): Declare.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -22,6 +22,11 @@ completions will be "f1" and "f2". qSearch:memory: Search memory for a sequence of bytes. +QStartNoAckMode + Turn off `+'/`-' protocol acknowledgments to permit more efficient + operation over reliable transport links. Use of this packet is + controlled by the `set remote noack-packet' command. + * Removed remote protocol undocumented extension An undocumented extension to the remote protocol's `S' stop reply @@ -62,6 +67,9 @@ have also been fixed. gdbserver executable to debug both 32-bit and 64-bit programs. (This requires gdbserver itself to be built as a 64-bit executable.) + - gdbserver uses the new noack protocol mode for TCP connections to + reduce communications latency, if also supported and enabled in GDB. + * Python scripting GDB now has support for scripting using Python. Whether this is |