aboutsummaryrefslogtreecommitdiff
path: root/gdb/m32r-stub.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-09-28 21:55:21 +0000
committerJason Molenda <jmolenda@apple.com>1999-09-28 21:55:21 +0000
commit6426a772a2645ef6afa596319dba0ff966bff050 (patch)
tree315b42018fc08aad8fc85d0833b1ed983d747de8 /gdb/m32r-stub.c
parentf4bda9848fb4c4ae3e4cccba77d5ef26099e451e (diff)
downloadgdb-6426a772a2645ef6afa596319dba0ff966bff050.zip
gdb-6426a772a2645ef6afa596319dba0ff966bff050.tar.gz
gdb-6426a772a2645ef6afa596319dba0ff966bff050.tar.bz2
import gdb-1999-09-28 snapshot
Diffstat (limited to 'gdb/m32r-stub.c')
-rw-r--r--gdb/m32r-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m32r-stub.c b/gdb/m32r-stub.c
index bc5e599..dcbdbbb 100644
--- a/gdb/m32r-stub.c
+++ b/gdb/m32r-stub.c
@@ -429,7 +429,7 @@ handle_exception(int exceptionVector)
break;
}
case 'G': /* set the value of the CPU registers - return OK */
- hex2mem(&ptr, (unsigned char*) registers, NUMREGBYTES, 0);
+ hex2mem(ptr, (unsigned char*) registers, NUMREGBYTES, 0);
strcpy(remcomOutBuffer,"OK");
break;
case 's': /* sAA..AA Step one instruction from AA..AA(optional) */