diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-08-23 13:58:18 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-08-23 13:58:18 +0000 |
commit | 0485f6ad303a1c0cbc03d83af4fa380987c0fc38 (patch) | |
tree | 65e98dbd548129b5dd80b6fc586ce556b337bfa1 /gdb/amd64fbsd-nat.c | |
parent | c77161335bc01d9717915314b1249bc7d1986084 (diff) | |
download | gdb-0485f6ad303a1c0cbc03d83af4fa380987c0fc38.zip gdb-0485f6ad303a1c0cbc03d83af4fa380987c0fc38.tar.gz gdb-0485f6ad303a1c0cbc03d83af4fa380987c0fc38.tar.bz2 |
* x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument.
Update comments.
* x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update
comments.
* x86-64-linux-tdep.c (fetch_core_registers): Adjust call to
x86_64_supply_fxsave.
* x86-64-linux-nat.c (supply_fpregset): Adjust call to
x86_64_supply_fxsave.
* amd64fbsd-nat.c (supply_fpregset): Adjust call to
x86_64_supply_fxsave.
Diffstat (limited to 'gdb/amd64fbsd-nat.c')
-rw-r--r-- | gdb/amd64fbsd-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/amd64fbsd-nat.c b/gdb/amd64fbsd-nat.c index 71861d9..e90d8fa 100644 --- a/gdb/amd64fbsd-nat.c +++ b/gdb/amd64fbsd-nat.c @@ -124,7 +124,7 @@ fill_gregset (gregset_t *gregsetp, int regno) void supply_fpregset (fpregset_t *fpregsetp) { - x86_64_supply_fxsave ((char *) fpregsetp); + x86_64_supply_fxsave ((const char *) fpregsetp, -1); } /* Fill register REGNO (if it is a floating-point register) in @@ -201,7 +201,7 @@ store_inferior_registers (int regno) perror_with_name ("Couldn't get floating point status"); fill_fpregset (&fpregs, regno); - + if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid), (PTRACE_ARG3_TYPE) &fpregs, 0) == -1) perror_with_name ("Couldn't write floating point status"); |