Re: [-mm patch] ptrace: Fix EFL_OFFSET value according to i386 pda changes (was Re: BUG on 2.6.20-rc1 when using gdb)

walt
2006-12-20T20:36:01Z

Jeremy Fitzhardinge wrote:
> Frederik Deweerdt wrote:
>> Same problems here with 2.6.20-rc1-mm1 (ie with the %gs->%fs patch).
>> It seems to me that the problem comes from the EFL_OFFSET no longer
>> beeing accurate.
>> The following patch fixes the problem for me.
>>
>
> Thanks Frederik; that's exactly the kind of thing I thought it might
> be. I wonder if there's some way we can make this more robust
> though... Does this work for you? I did a slightly larger cleanup
> which should make it less fragile and more comprehensible.
<patch snipped>

Hi Jeremy,

Your patch works fine for me. (I didn't try the first patch, but I
will if anyone wants.) Thanks!