Replace ../include/wait.h with gdb_wait.h.
[deliverable/binutils-gdb.git] / gdb / sh-stub.c
index 4eedbc14a1f3b7026e6c498c618d9293c93dfcb2..ea897c4acfb852d25563f4890830842934ccf5f3 100644 (file)
@@ -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;
 
This page took 0.023517 seconds and 4 git commands to generate.