From: Yao Qi <qiyaoltc@gmail.com>
To: Dmitry Antipov <dantipov@nvidia.com>
Cc: GDB Development <gdb@sourceware.org>
Subject: Re: Printing thread_local a.k.a. __thread variables
Date: Tue, 13 Feb 2018 09:19:00 -0000 [thread overview]
Message-ID: <CAH=s-PMJS+ufYw8m5OxOiJJyBsmiVQZrj604DYJRph-e8gKwyw@mail.gmail.com> (raw)
In-Reply-To: <469e1280-3581-0305-6c9a-2693a765ab7a@nvidia.com>
On Tue, Feb 13, 2018 at 7:55 AM, Dmitry Antipov <dantipov@nvidia.com> wrote:
> On 02/12/2018 05:54 PM, Yao Qi wrote:
>
>> ... is it broken in every threads in "thread apply all" or just in some
>> threads? Can you reproduce it every time or it is intermittent?
>> If you manually switch threads via command "thread N", can
>> you examine 'tlocal'?
>
>
> It seems that 'qGetTLSAddr' fails every time for any thread in question:
>
It works for me with GDBserver. You can debug gdbserver to see why
qGetTLSAddr is not handled properly. The related function is
thread-db.c:thread_db_get_tls_address.
--
Yao (齐尧)
prev parent reply other threads:[~2018-02-13 9:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-12 13:30 Dmitry Antipov
2018-02-12 14:02 ` Yao Qi
2018-02-12 14:15 ` Dmitry Antipov
2018-02-12 14:54 ` Yao Qi
2018-02-13 7:55 ` Dmitry Antipov
2018-02-13 9:19 ` Yao Qi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH=s-PMJS+ufYw8m5OxOiJJyBsmiVQZrj604DYJRph-e8gKwyw@mail.gmail.com' \
--to=qiyaoltc@gmail.com \
--cc=dantipov@nvidia.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox