diff options
Diffstat (limited to 'gdb/sh-stub.c')
-rw-r--r-- | gdb/sh-stub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sh-stub.c b/gdb/sh-stub.c index 4eedbc1..ea897c4 100644 --- a/gdb/sh-stub.c +++ b/gdb/sh-stub.c @@ -706,7 +706,7 @@ gdb_handle_exception (int exceptionVector) mem2hex ((char *) registers, remcomOutBuffer, NUMREGBYTES); break; case 'G': /* set the value of the CPU registers - return OK */ - hex2mem (&ptr, (char *) registers, NUMREGBYTES); + hex2mem (ptr, (char *) registers, NUMREGBYTES); strcpy (remcomOutBuffer, "OK"); break; |