]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/m32r-stub.c
import gdb-1999-09-28 snapshot
[thirdparty/binutils-gdb.git] / gdb / m32r-stub.c
index bc5e59927ce427ca0a72b53652d986f3fbedcca4..dcbdbbb09820fe40900592964c1cdac5c95fa83e 100644 (file)
@@ -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) */