From: Eli Zaretskii <eliz@gnu.org>
To: Hannes Domani <ssbssa@yahoo.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH v2] Implement native TLS support on Windows
Date: Sat, 09 May 2026 16:40:22 +0300 [thread overview]
Message-ID: <86zf283dmh.fsf@gnu.org> (raw)
In-Reply-To: <20260509132633.1089523-1-ssbssa@yahoo.de> (message from Hannes Domani on Sat, 9 May 2026 15:24:29 +0200)
> From: Hannes Domani <ssbssa@yahoo.de>
> Date: Sat, 9 May 2026 15:24:29 +0200
>
> GCC 16 introduced native TLS variables on Windows, so this adds
> debugger support for them.
>
> The fetch_tls_load_module_address gdbarch method is used to get the
> address of _tls_index of the OBJFILE, which is then forwarded as LM_ADDR
> to windows_get_thread_local_address.
>
> The TLS slot for a module can be found in
> TIB->thread_local_storage[_tls_index].
> ---
> Changes in v2:
> - added NEWS entry
> - more comments
> - split up if()-conditions in windows_get_thread_local_address
> ---
> gdb/NEWS | 2 ++
> gdb/windows-tdep.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 75 insertions(+)
Thanks, the NEWS part is okay.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
next prev parent reply other threads:[~2026-05-09 13:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260509132633.1089523-1-ssbssa.ref@yahoo.de>
2026-05-09 13:24 ` Hannes Domani
2026-05-09 13:40 ` Eli Zaretskii [this message]
2026-05-22 12:00 ` [PING] " Hannes Domani
2026-05-22 13:49 ` Tom Tromey
2026-05-23 9:51 ` Hannes Domani
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=86zf283dmh.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=ssbssa@yahoo.de \
/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