mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 20:49:43 +00:00
* amd64-linux-nat.c (fetch_inferior_registers): Correctly check
whether a register is supplied by PTRACE_GETFPREGS. (store_inferior_registers): Likewise. * amd64bsd-nat.c (fetch_inferior_registers): Correctly check whether a register is supplied by PT_GETFPREGS. (store_inferior_registers): Likewise.
This commit is contained in:
parent
3c30bf1b01
commit
18bbbd9e52
@ -1,5 +1,12 @@
|
||||
2004-04-09 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* amd64-linux-nat.c (fetch_inferior_registers): Correctly check
|
||||
whether a register is supplied by PTRACE_GETFPREGS.
|
||||
(store_inferior_registers): Likewise.
|
||||
* amd64bsd-nat.c (fetch_inferior_registers): Correctly check
|
||||
whether a register is supplied by PT_GETFPREGS.
|
||||
(store_inferior_registers): Likewise.
|
||||
|
||||
* config/i386/linux.mt (TDEPFILES): Remove solib-legacy.o.
|
||||
* config/i386/linux64.mt (TDEPFILES): Likewise.
|
||||
|
||||
|
@ -169,7 +169,7 @@ fetch_inferior_registers (int regnum)
|
||||
return;
|
||||
}
|
||||
|
||||
if (regnum == -1 || regnum >= AMD64_ST0_REGNUM)
|
||||
if (regnum == -1 || !amd64_native_gregset_supplies_p (regnum))
|
||||
{
|
||||
elf_fpregset_t fpregs;
|
||||
|
||||
@ -210,7 +210,7 @@ store_inferior_registers (int regnum)
|
||||
return;
|
||||
}
|
||||
|
||||
if (regnum == -1 || regnum >= AMD64_ST0_REGNUM)
|
||||
if (regnum == -1 || !amd64_native_gregset_supplies_p (regnum))
|
||||
{
|
||||
elf_fpregset_t fpregs;
|
||||
|
||||
|
@ -54,7 +54,7 @@ fetch_inferior_registers (int regnum)
|
||||
return;
|
||||
}
|
||||
|
||||
if (regnum == -1 || regnum >= AMD64_ST0_REGNUM)
|
||||
if (regnum == -1 || !amd64_native_gregset_supplies_p (regnum))
|
||||
{
|
||||
struct fpreg fpregs;
|
||||
|
||||
@ -90,7 +90,7 @@ store_inferior_registers (int regnum)
|
||||
return;
|
||||
}
|
||||
|
||||
if (regnum == -1 || regnum >= AMD64_ST0_REGNUM)
|
||||
if (regnum == -1 || !amd64_native_gregset_supplies_p (regnum))
|
||||
{
|
||||
struct fpreg fpregs;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user