public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "tromey at sourceware dot org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug exp/30271] Addresses of static thread_local fields are badly calculated sometimes Date: Fri, 31 Mar 2023 17:12:30 +0000 [thread overview] Message-ID: <bug-30271-4717-NBrIifXvWB@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-30271-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=30271 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #4 from Tom Tromey <tromey at sourceware dot org> --- Kind of weird DWARF here. The only location for this is given by: <1><82>: Abbrev Number: 2 (DW_TAG_variable) <83> DW_AT_specification: <0x9f> <87> DW_AT_location : 10 byte block: e 0 0 0 0 0 0 0 0 e0 (DW_OP_const8u: 0 0; DW_OP_GNU_push_tls_address or DW_OP_HP_unknown) <92> DW_AT_linkage_name: (indirect string, offset: 0x156): _ZN9container8tlsvar_0E It has a forward reference to its defining scope... gdb currently deals with *backward* references like this by tracking the DWARF scopes for DIE ranges. This is needed because gdb's fast scanner is "forward only", and DWARF provides no way to move up the DIE tree. Maybe we can also defer the processing of forward-referencing specifications. Gosh I hate DWARF. This stuff is all so needless -- it makes reader implementation very difficult and provides zero benefit whatsoever. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2023-03-31 17:12 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-24 18:44 [Bug exp/30271] New: " michal.chojnowski at scylladb dot com 2023-03-25 16:37 ` [Bug exp/30271] " tromey at sourceware dot org 2023-03-25 16:38 ` tromey at sourceware dot org 2023-03-25 20:28 ` tromey at sourceware dot org 2023-03-26 0:56 ` michal.chojnowski at scylladb dot com 2023-03-26 1:21 ` michal.chojnowski at scylladb dot com 2023-03-31 17:04 ` tromey at sourceware dot org 2023-03-31 17:12 ` tromey at sourceware dot org [this message] 2023-03-31 17:54 ` tromey at sourceware dot org 2023-03-31 18:00 ` tromey at sourceware dot org 2023-03-31 18:03 ` tromey at sourceware dot org 2023-05-10 23:28 ` tromey at sourceware dot org 2023-05-15 14:51 ` cvs-commit at gcc dot gnu.org 2023-05-15 15:06 ` michal.chojnowski at scylladb dot com 2023-05-15 15:16 ` cvs-commit at gcc dot gnu.org 2023-05-15 15:17 ` tromey at sourceware dot org
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=bug-30271-4717-NBrIifXvWB@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).