Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17893
b: refs/heads/master
c: 621009f
h: refs/heads/master
i:
  17891: 5265281
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Jan 12, 2006
1 parent b6e283b commit 551a60d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a174b30e2963a02e9657f4ac69b2b500993bf0d4
refs/heads/master: 621009f4baf24581211dbb7b0816e01ed9fa8496
4 changes: 2 additions & 2 deletions trunk/arch/um/kernel/skas/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ void wait_stub_done(int pid, int sig, char * fname)

if((n < 0) || !WIFSTOPPED(status) ||
(WSTOPSIG(status) != SIGUSR1 && WSTOPSIG(status) != SIGTRAP)){
unsigned long regs[FRAME_SIZE];
unsigned long regs[HOST_FRAME_SIZE];
if(ptrace(PTRACE_GETREGS, pid, 0, regs) < 0)
printk("Failed to get registers from stub, "
"errno = %d\n", errno);
else {
int i;

printk("Stub registers -\n");
for(i = 0; i < FRAME_SIZE; i++)
for(i = 0; i < HOST_FRAME_SIZE; i++)
printk("\t%d - %lx\n", i, regs[i]);
}
panic("%s : failed to wait for SIGUSR1/SIGTRAP, "
Expand Down

0 comments on commit 551a60d

Please sign in to comment.