This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: RFC - add a debug hook to the unwinder


>>>>> "Joseph" == Joseph S Myers <joseph@codesourcery.com> writes:

Joseph> On Tue, 10 Feb 2009, Tom Tromey wrote:
>> +__thread void *_Unwind_DebugCFA;
>> +__thread void *_Unwind_DebugHandler;

Joseph> I'd be concerned about what happens when the unwinder tries to
Joseph> access an __thread variable where GCC and binutils support TLS
Joseph> but the C library in use doesn't.

Jakub also expressed concern (on irc) about the use of __thread.

I will change this to use some other data structure.  I think this
implies allocating memory -- due to non-stop I think we could possibly
be nexting multiple threads, possibly all of them, at the same time.

Tom


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