This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, M68K] Handle TLS


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]