diff options
Diffstat (limited to 'gdb/m32r-stub.c')
-rw-r--r-- | gdb/m32r-stub.c | 2 |
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) */ |