Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116752
b: refs/heads/master
c: 81e192d
h: refs/heads/master
v: v3
  • Loading branch information
Helge Deller authored and Kyle McMartin committed Oct 17, 2008
1 parent bd933ab commit 1287c25
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 259 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: 9eb1686423756f4dfb0ad8bfb02bb8bf1b89e50a
refs/heads/master: 81e192d6ce303b6792aa38ff35f41a1a7357f23a
10 changes: 10 additions & 0 deletions trunk/arch/parisc/include/asm/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ struct pt_regs {

#define task_regs(task) ((struct pt_regs *) ((char *)(task) + TASK_REGS))

#define __ARCH_WANT_COMPAT_SYS_PTRACE

struct task_struct;
#define arch_has_single_step() 1
void user_disable_single_step(struct task_struct *task);
void user_enable_single_step(struct task_struct *task);

#define arch_has_block_step() 1
void user_enable_block_step(struct task_struct *task);

/* XXX should we use iaoq[1] or iaoq[0] ? */
#define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0)
#define user_space(regs) (((regs)->iasq[1] != 0) ? 1 : 0)
Expand Down
Loading

0 comments on commit 1287c25

Please sign in to comment.