Messages in this thread | | | Date | Tue, 31 Aug 2004 19:43:48 +1000 | From | Anton Blanchard <> | Subject | Re: [PATCH] cleanup ptrace stops and remove notify_parent |
| |
> Just about every architecture hasa line > > + ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) ? 0x80 : 0)); > > you probably want a one-liner inline wrapper with a descriptive name > around this
Yep, and it looks like only some architectures got this recent change:
ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) && !test_thread_flag(TIF_SINGLESTEP) ? 0x80 : 0));
Is there a reason this shouldnt be propogated to all architectures?
Anton - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |