在Solaris上访问GDB中的线程本地存储(TLS)

时间:2017-03-30 16:10:04

标签: gdb solaris thread-local-storage

我们已经在各种Unix平台上构建了GDB 7.12,用于进程分析。

我们还使用GDB在“挂起”进程中调用函数。我们依靠线程本地存储变量来实现这一点。它适用于大多数Unix平台。

我们在Solaris上看到以下消息(SunOS-5.11-i86pc-i386-64bit-ELF):

(gdb) p mongo::mozjs::kCurrentScope Cannot find thread-local variables on this target

Solaris上是否支持TLS?有没有解决方法?

This bug似乎表明它不是。

0 个答案:

没有答案
相关问题