[Crash-utility] 2.6.22 breaks crash
Troy Heber
troy.heber at hp.com
Thu May 24 19:46:07 UTC 2007
On 05/24/07 14:10, Dave Anderson wrote:
>
> < MEMBER_OFFSET_INIT(task_struct_thread_info, "task_struct",
> < "thread_info");
> ---
> > if (MEMBER_EXISTS("task_struct", "thread_info"))
> > MEMBER_OFFSET_INIT(task_struct_thread_info, "task_struct",
> > "thread_info");
> > else if (MEMBER_EXISTS("task_struct", "stack"))
> > MEMBER_OFFSET_INIT(task_struct_thread_info, "task_struct",
> > "thread_info");
> > else
> > ASSIGN_OFFSET(task_struct_thread_info) = INVALID_OFFSET;
> >
Ahh, yea that's obvious now. Just don't forget to change "thread_info"
to "stack" in the else if clause before you apply the patch.
Thanks!
Troy
More information about the Crash-utility
mailing list