* amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
instead of amd64_fill_fxsave. * amd64bsd-nat.c (store_inferior_registers): Likewise. * amd64fbsd-nat.c (fill_fpregset): Likewise.
This commit is contained in:
parent
9e08c470e8
commit
722d18c22c
4 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,10 @@
|
|||
2004-03-04 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
|
||||
instead of amd64_fill_fxsave.
|
||||
* amd64bsd-nat.c (store_inferior_registers): Likewise.
|
||||
* amd64fbsd-nat.c (fill_fpregset): Likewise.
|
||||
|
||||
* sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
|
||||
Reorganize code a bit.
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ supply_fpregset (elf_fpregset_t *fpregsetp)
|
|||
void
|
||||
fill_fpregset (elf_fpregset_t *fpregsetp, int regnum)
|
||||
{
|
||||
amd64_fill_fxsave ((char *) fpregsetp, regnum);
|
||||
amd64_collect_fxsave (current_regcache, regnum, fpregsetp);
|
||||
}
|
||||
|
||||
/* Fetch all floating-point registers from process/thread TID and store
|
||||
|
|
|
@ -98,7 +98,7 @@ store_inferior_registers (int regnum)
|
|||
(PTRACE_ARG3_TYPE) &fpregs, 0) == -1)
|
||||
perror_with_name ("Couldn't get floating point status");
|
||||
|
||||
amd64_fill_fxsave ((char *) &fpregs, regnum);
|
||||
amd64_collect_fxsave (current_regcache, regnum, &fpregs);
|
||||
|
||||
if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid),
|
||||
(PTRACE_ARG3_TYPE) &fpregs, 0) == -1)
|
||||
|
|
|
@ -141,7 +141,7 @@ supply_fpregset (fpregset_t *fpregsetp)
|
|||
void
|
||||
fill_fpregset (fpregset_t *fpregsetp, int regnum)
|
||||
{
|
||||
amd64_fill_fxsave ((char *) fpregsetp, regnum);
|
||||
amd64_collect_fxsave (current_regcache, regnum, fpregsetp);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue