[Crash-utility] 2.6.22 breaks crash
Dave Anderson
anderson at redhat.com
Thu May 24 20:58:48 UTC 2007
Troy Heber wrote:
> 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.
>
D'oh...
More information about the Crash-utility
mailing list