Re: 2.6.22 breaks crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux