* NEWS: Mention support removal of undocumented S AA p PID stop
authorPedro Alves <palves@redhat.com>
Wed, 11 Jun 2008 12:56:36 +0000 (12:56 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 11 Jun 2008 12:56:36 +0000 (12:56 +0000)
reply packet.

* remote.c (remote_wait): Remove undocumented S AA p PID support.

gdb/ChangeLog
gdb/NEWS
gdb/remote.c

index abd066d6d98746a6e0ee7f5e4314f045da9a8a1c..cf2eefe31e7cefa7cba88d97f1f47f9f16401890 100644 (file)
@@ -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.
index 69bc05c1879377bd0e0e09afdb84bbe0fcf73d19..32472fea87c1c754f7caeef553ec66b3e549ff90 100644 (file)
--- 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.
 
index 3f7d07b831d5dc2aff136a1431b178ce5eb52f72..ddf259c510b78de9078b2eb3a9473b39181c429d 100644 (file)
@@ -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.  */
          {