GDB support for thread-local storage

Daniel Jacobowitz drow@mvista.com
Thu Jun 20 18:48:00 GMT 2002


On Thu, Jun 20, 2002 at 09:35:25PM -0400, Andrew Cagney wrote:
> However, in the case of the above, is the architecture method needed? 
> Given that th only thing implementing this will be the above GNU/Linux 
> thread-db library, and GDB's linux thread code will know to call that 
> directly.
> 
> BTW, what happens if the target doesn't have execution (i.e. a corefile).

We fall down, just like we do debugging thread_db capable corefiles,
I'd imagine.  Thread_db does not like read-only targets very much.

> Andrew
> 
> (Use thread_local_static rather than thr_tls in function names)

_storage, I think?

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list