mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 06:23:58 +08:00
* m68klinux-nat.c (fill_fpregset): Properly pass address of
buffer to regcache_collect.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2002-04-07 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* m68klinux-nat.c (fill_fpregset): Properly pass address of
|
||||||
|
buffer to regcache_collect.
|
||||||
|
|
||||||
2002-04-06 Andrew Cagney <ac131313@redhat.com>
|
2002-04-06 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
|
* gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
|
||||||
|
@ -383,7 +383,7 @@ fill_fpregset (elf_fpregset_t *fpregsetp, int regno)
|
|||||||
/* Fill in the floating-point control registers. */
|
/* Fill in the floating-point control registers. */
|
||||||
for (i = FPC_REGNUM; i <= FPI_REGNUM; i++)
|
for (i = FPC_REGNUM; i <= FPI_REGNUM; i++)
|
||||||
if (regno == -1 || regno == 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
|
#ifdef HAVE_PTRACE_GETREGS
|
||||||
|
Reference in New Issue
Block a user