public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "tromey at redhat dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug symtab/15028] regressions with dwz -m Date: Tue, 29 Jan 2013 18:37:00 -0000 [thread overview] Message-ID: <bug-15028-4717-5CNPCv6a7q@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-15028-4717@http.sourceware.org/bugzilla/> http://sourceware.org/bugzilla/show_bug.cgi?id=15028 --- Comment #3 from Tom Tromey <tromey at redhat dot com> 2013-01-29 18:37:42 UTC --- Fixing the first problem yields a different regression: FAIL: gdb.cp/anon-struct.exp: print type of X::t2::t2 This happens because namespace X appears in both the primary file as: <1><2e>: Abbrev Number: 9 (DW_TAG_namespace) <2f> DW_AT_name : X <31> DW_AT_decl_file : 1 <32> DW_AT_decl_line : 31 <33> DW_AT_sibling : <0x35> and in the .dwz file as: <1><68>: Abbrev Number: 10 (DW_TAG_namespace) <69> DW_AT_name : X <6b> DW_AT_sibling : <0x86> [children] ... and symbol lookup in gdb picks the wrong one. This seems reasonably tricky to solve in the general case. One option might be to get dwz to add DW_AT_extension in this scenario. Alternatively maybe we could hack around it somehow. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
next prev parent reply other threads:[~2013-01-29 18:37 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-01-17 19:34 [Bug symtab/15028] New: " tromey at redhat dot com 2013-01-17 19:35 ` [Bug symtab/15028] " tromey at redhat dot com 2013-01-28 16:54 ` tromey at redhat dot com 2013-01-28 19:40 ` tromey at redhat dot com 2013-01-29 18:37 ` tromey at redhat dot com [this message] 2013-01-30 20:21 ` tromey at redhat dot com 2013-02-04 17:24 ` tromey at redhat dot com 2013-02-04 21:12 ` tromey at redhat dot com 2013-08-07 19:28 ` tromey at redhat dot com 2013-08-07 20:10 ` cvs-commit at gcc dot gnu.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-15028-4717-5CNPCv6a7q@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).