Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 683
b: refs/heads/master
c: 6aec307
h: refs/heads/master
i:
  681: 04bf825
  679: 83b1300
v: v3
  • Loading branch information
Andree Leidenfrost authored and Linus Torvalds committed May 1, 2005
1 parent 0d3e37d commit 1de6463
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e7a4f69e4ed328aa09ce48601073052557fa85d
refs/heads/master: 6aec3072833283a5e2ecf07318bd383a67321657
7 changes: 4 additions & 3 deletions trunk/arch/um/os-Linux/sys-i386/registers.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,15 @@ void init_registers(int pid)
panic("check_ptrace : PTRACE_GETREGS failed, errno = %d",
err);

errno = 0;
err = ptrace(PTRACE_GETFPXREGS, pid, 0, exec_fpx_regs);
if(!err)
return;
if(errno != EIO)
panic("check_ptrace : PTRACE_GETFPXREGS failed, errno = %d",
errno);

have_fpx_regs = 0;
if(err != EIO)
panic("check_ptrace : PTRACE_GETFPXREGS failed, errno = %d",
err);

err = ptrace(PTRACE_GETFPREGS, pid, 0, exec_fp_regs);
if(err)
Expand Down

0 comments on commit 1de6463

Please sign in to comment.