summaryrefslogtreecommitdiffstats
path: root/gdb/sparcl-stub.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-02-09 03:06:33 +0000
committerAndrew Cagney <cagney@redhat.com>2000-02-09 03:06:33 +0000
commite9277ae8d4b8ae0b5c03c0b6f71beebb88031e23 (patch)
tree879f1012dcdc2223fc7722b1c9cdfc82fb01c501 /gdb/sparcl-stub.c
parent1216fa2c08f748dbfb5c2680986190c5b7cc0281 (diff)
downloadppe42-binutils-e9277ae8d4b8ae0b5c03c0b6f71beebb88031e23.tar.gz
ppe42-binutils-e9277ae8d4b8ae0b5c03c0b6f71beebb88031e23.zip
From JTC: m32r-stub.c, sparcl-stub.c, sparclet-stub.c
(handle_exception): Return E01 instead of P01 when 'P' command fails.
Diffstat (limited to 'gdb/sparcl-stub.c')
-rw-r--r--gdb/sparcl-stub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/sparcl-stub.c b/gdb/sparcl-stub.c
index dbdf6d44c1..111dfe781f 100644
--- a/gdb/sparcl-stub.c
+++ b/gdb/sparcl-stub.c
@@ -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;
}
}
OpenPOWER on IntegriCloud