This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob] Correct egregious qSupported typo
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Wed, 26 Jul 2006 20:07:35 -0400
- Subject: [ob] Correct egregious qSupported typo
While reviewing code today for another branch I noticed that I'd left
exactly two references to the qPart packet: one in gdb and a compensating
one in gdbserver. The documentation already correctly specifies that this
feature string should be qXfer, not qPart. Committed as obvious.
--
Daniel Jacobowitz
CodeSourcery
2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
* remote.c (remote_protocol_features): Correct qPart to qXfer.
2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
* server.c (handle_query): Correct qPart to qXfer.
Index: remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.223
diff -u -p -r1.223 remote.c
--- remote.c 13 Jul 2006 04:05:54 -0000 1.223
+++ remote.c 27 Jul 2006 00:03:42 -0000
@@ -2176,7 +2176,7 @@ remote_packet_size (const struct protoco
static struct protocol_feature remote_protocol_features[] = {
{ "PacketSize", PACKET_DISABLE, remote_packet_size, -1 },
- { "qPart:auxv:read", PACKET_DISABLE, remote_supported_packet,
+ { "qXfer:auxv:read", PACKET_DISABLE, remote_supported_packet,
PACKET_qXfer_auxv }
};
Index: gdbserver/server.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/server.c,v
retrieving revision 1.37
diff -u -p -r1.37 server.c
--- gdbserver/server.c 23 Jul 2006 03:52:15 -0000 1.37
+++ gdbserver/server.c 27 Jul 2006 00:03:42 -0000
@@ -230,7 +230,7 @@ handle_query (char *own_buf, int *new_pa
sprintf (own_buf, "PacketSize=%x", PBUFSIZ - 1);
if (the_target->read_auxv != NULL)
- strcat (own_buf, ";qPart:auxv:read+");
+ strcat (own_buf, ";qXfer:auxv:read+");
return;
}