From JTC: m32r-stub.c, sparcl-stub.c, sparclet-stub.c
authorAndrew Cagney <cagney@redhat.com>
Wed, 9 Feb 2000 03:06:33 +0000 (03:06 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 9 Feb 2000 03:06:33 +0000 (03:06 +0000)
(handle_exception): Return E01 instead of P01 when 'P' command fails.

gdb/ChangeLog
gdb/m32r-stub.c
gdb/sparcl-stub.c
gdb/sparclet-stub.c

index 38e2ca36552cec43338de5fb65da2aac0d2b1617..57a6274e24043918af3e26dcfda0b95851456be9 100644 (file)
@@ -1,3 +1,8 @@
+1999-10-18  J.T. Conklin  <jtc@redback.com>
+
+        * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
+        Return E01 instead of P01 when 'P' command fails.
+
 2000-02-05  J.T. Conklin  <jtc@redback.com>
 
        * remote.c (putpkt_binary): Handle NAK from target stub.
index dcbdbbb09820fe40900592964c1cdac5c95fa83e..9fdf4969e5a4eb7bbda499084fca308c977e01d9 100644 (file)
@@ -425,7 +425,7 @@ handle_exception(int exceptionVector)
                strcpy (remcomOutBuffer, "OK");
                break;
              }
-         strcpy (remcomOutBuffer, "P01");
+         strcpy (remcomOutBuffer, "E01");
          break;
        }
       case 'G': /* set the value of the CPU registers - return OK */
index dbdf6d44c13367a71848d60f96108fc8579e0308..111dfe781fc18bde93c06674cf7389c87a36682f 100644 (file)
@@ -50,6 +50,7 @@
  *
  *    g             return the value of the CPU registers  hex data or ENN
  *    G             set the value of the CPU registers     OK or ENN
+ *    P             set the value of a single CPU register OK or ENN
  *
  *    mAA..AA,LLLL  Read LLLL bytes at address AA..AA      hex data or ENN
  *    MAA..AA,LLLL: Write LLLL bytes at address AA.AA      OK or ENN
@@ -831,7 +832,7 @@ handle_exception (registers)
                    hex2mem (ptr, (char *)&registers[regno], 4, 0);
                else
                  {
-                   strcpy (remcomOutBuffer, "P01");
+                   strcpy (remcomOutBuffer, "E01");
                    break;
                  }
              }
index 4d859f9b747a5377dea62e6749d7f93e76ddd764..281ce14195f9a7259f8bed17256a81586be7345f 100644 (file)
@@ -50,7 +50,7 @@
  *
  *    g             return the value of the CPU registers  hex data or ENN
  *    G             set the value of the CPU registers     OK or ENN
- *    P             set the value of a single CPU register OK or P01 (???)
+ *    P             set the value of a single CPU register OK or ENN
  *
  *    mAA..AA,LLLL  Read LLLL bytes at address AA..AA      hex data or ENN
  *    MAA..AA,LLLL: Write LLLL bytes at address AA.AA      OK or ENN
@@ -938,7 +938,7 @@ handle_exception (registers)
                     hex2mem (ptr, (char *)&registers[regno], 4, 0);
                 else
                   {
-                    strcpy (remcomOutBuffer, "P01");
+                    strcpy (remcomOutBuffer, "E01");
                     break;
                   }
              }