diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/m68klinux-nat.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ce646ae..9893658 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. diff --git a/gdb/m68klinux-nat.c b/gdb/m68klinux-nat.c index 10f4a19..82a6124 100644 --- a/gdb/m68klinux-nat.c +++ b/gdb/m68klinux-nat.c @@ -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 |