[PATCH, M68K] Handle TLS

Maxim Kuvyrkov maxim@codesourcery.com
Wed Nov 4 08:26:00 GMT 2009


Daniel Jacobowitz wrote:
> On Tue, Nov 03, 2009 at 07:12:09PM +0300, Maxim Kuvyrkov wrote:
>> Hi,
>>
>> The following simple patch adds handling of TLS to m68k gdbserver.
>>
>> A corresponding kernel patch is being reviewed here
>> <http://marc.info/?l=linux-m68k&m=125447760017098&w=2>.
>>
>> Tested on coldfire-linux.
>>
>> OK to apply?
> 
> This is fine with two caveats:
> 
> * I think it would be best to not apply it until you have an ack for
> the kernel patch defining PTRACE_GET_THREAD_AREA.

OK, that may take a while though.
> 
> * Provide a fallback definition for PTRACE_GET_THREAD_AREA.  I assume
> existing m68k kernel headers do not define it, so the build would
> fail.

OK.

Thanks for the review!

-- 
Maxim Kuvyrkov
CodeSourcery
maxim@codesourcery.com
(650) 331-3385 x724



More information about the Gdb-patches mailing list