diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-02-09 03:06:33 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-02-09 03:06:33 +0000 |
commit | 1b0cba4778529d4a3390a76e9a6833a09198d2c7 (patch) | |
tree | 7a89a67c8bf5835af03f86f6110ed653368279da /gdb/sparcl-stub.c | |
parent | 3c5429b8d9425d7ec8dd4a8ef552a4a62473d2e8 (diff) | |
download | gdb-1b0cba4778529d4a3390a76e9a6833a09198d2c7.tar.gz |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/sparcl-stub.c b/gdb/sparcl-stub.c index dbdf6d44c13..111dfe781fc 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 *)®isters[regno], 4, 0); else { - strcpy (remcomOutBuffer, "P01"); + strcpy (remcomOutBuffer, "E01"); break; } } |