[PATCH, M68K] Handle TLS

Daniel Jacobowitz drow@false.org
Tue Nov 3 23:08:00 GMT 2009


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.

* Provide a fallback definition for PTRACE_GET_THREAD_AREA.  I assume
existing m68k kernel headers do not define it, so the build would
fail.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list