aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-06-11 12:56:36 +0000
committerPedro Alves <palves@redhat.com>2008-06-11 12:56:36 +0000
commit060871df59462ec4085f79033c0fbcf275cda83f (patch)
tree5f8c4428062f516457c96fa55acf53a986d28ffd
parent5f5dfcbe1be67ac8e69cbbcc7c99786551d6cbbf (diff)
downloadgdb-060871df59462ec4085f79033c0fbcf275cda83f.zip
gdb-060871df59462ec4085f79033c0fbcf275cda83f.tar.gz
gdb-060871df59462ec4085f79033c0fbcf275cda83f.tar.bz2
* NEWS: Mention support removal of undocumented S AA p PID stop
reply packet. * remote.c (remote_wait): Remove undocumented S AA p PID support.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/NEWS6
-rw-r--r--gdb/remote.c6
3 files changed, 13 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index abd066d..cf2eefe 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-11 Pedro Alves <pedro@codesourcery.com>
+
+ * NEWS: Mention support removal of undocumented S AA p PID stop
+ reply packet.
+
+ * remote.c (remote_wait): Remove undocumented S AA p PID support.
+
2008-06-10 Stan Shebs <stan@codesourcery.com>
* MAINTAINERS: Update my affiliation and address.
diff --git a/gdb/NEWS b/gdb/NEWS
index 69bc05c..32472fe 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -19,6 +19,12 @@ completions will be "f1" and "f2".
qSearch:memory:
Search memory for a sequence of bytes.
+* Removed remote protocol undocumented extension
+
+ An undocumented extension to the remote protocol's `S' stop reply
+ packet that permited the stub to pass a process id was removed.
+ Remote servers should use the `T' stop reply packet instead.
+
* The "disassemble" command now supports an optional /m modifier to print mixed
source+assembly.
diff --git a/gdb/remote.c b/gdb/remote.c
index 3f7d07b..ddf259c 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -3525,12 +3525,6 @@ Packet: '%s'\n"),
status->value.sig = (enum target_signal)
(((fromhex (buf[1])) << 4) + (fromhex (buf[2])));
}
-
- if (buf[3] == 'p')
- {
- thread_num = strtol ((const char *) &buf[4], NULL, 16);
- record_currthread (thread_num);
- }
goto got_status;
case 'W': /* Target exited. */
{