* 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
3 changed files with 11 additions and 4 deletions
|
@ -1,5 +1,12 @@
|
||||||
2004-04-09 Mark Kettenis <kettenis@gnu.org>
|
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/linux.mt (TDEPFILES): Remove solib-legacy.o.
|
||||||
* config/i386/linux64.mt (TDEPFILES): Likewise.
|
* config/i386/linux64.mt (TDEPFILES): Likewise.
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,7 @@ fetch_inferior_registers (int regnum)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (regnum == -1 || regnum >= AMD64_ST0_REGNUM)
|
if (regnum == -1 || !amd64_native_gregset_supplies_p (regnum))
|
||||||
{
|
{
|
||||||
elf_fpregset_t fpregs;
|
elf_fpregset_t fpregs;
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@ store_inferior_registers (int regnum)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (regnum == -1 || regnum >= AMD64_ST0_REGNUM)
|
if (regnum == -1 || !amd64_native_gregset_supplies_p (regnum))
|
||||||
{
|
{
|
||||||
elf_fpregset_t fpregs;
|
elf_fpregset_t fpregs;
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ fetch_inferior_registers (int regnum)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (regnum == -1 || regnum >= AMD64_ST0_REGNUM)
|
if (regnum == -1 || !amd64_native_gregset_supplies_p (regnum))
|
||||||
{
|
{
|
||||||
struct fpreg fpregs;
|
struct fpreg fpregs;
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ store_inferior_registers (int regnum)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (regnum == -1 || regnum >= AMD64_ST0_REGNUM)
|
if (regnum == -1 || !amd64_native_gregset_supplies_p (regnum))
|
||||||
{
|
{
|
||||||
struct fpreg fpregs;
|
struct fpreg fpregs;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue