aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparcl-stub.c
diff options
context:
space:
mode:
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 dbdf6d4..111dfe7 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;
}
}