Add support for target specific command line switches to old-style simualtors.
[deliverable/binutils-gdb.git] / gdb / m68klinux-nat.c
index 10f4a191841af3c79bf314aa5c536c203d375f57..82a6124a7aab643be2fcc828272ef86461e4e288 100644 (file)
@@ -383,7 +383,7 @@ fill_fpregset (elf_fpregset_t *fpregsetp, int regno)
   /* Fill in the floating-point control registers.  */
   for (i = FPC_REGNUM; i <= FPI_REGNUM; i++)
     if (regno == -1 || regno == i)
-      regcache_collect (regno, fpregsetp->fpcntl[regno - FPC_REGNUM]);
+      regcache_collect (regno, (char *) &fpregsetp->fpcntl[regno - FPC_REGNUM]);
 }
 
 #ifdef HAVE_PTRACE_GETREGS
This page took 0.023156 seconds and 4 git commands to generate.