public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Vladimir Mezentsev <vmezents@sourceware.org> To: bfd-cvs@sourceware.org, gdb-cvs@sourceware.org Subject: [binutils-gdb] gprofng: fix Dwarf reader for DW_TAG_subprogram Date: Fri, 17 Feb 2023 22:10:06 +0000 (GMT) [thread overview] Message-ID: <20230217221006.AFD3B385B509@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=490ea364df8bea907b6990200912b99ce79e6a55 commit 490ea364df8bea907b6990200912b99ce79e6a55 Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com> Date: Thu Feb 16 19:35:35 2023 -0800 gprofng: fix Dwarf reader for DW_TAG_subprogram gprofng/ChangeLog 2023-02-16 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> * src/Dwarf.cc: Skip DW_TAG_subprogram when DW_AT_declaration is 1. Diff: --- gprofng/src/Dwarf.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gprofng/src/Dwarf.cc b/gprofng/src/Dwarf.cc index 5485be7f796..fb430cdb079 100644 --- a/gprofng/src/Dwarf.cc +++ b/gprofng/src/Dwarf.cc @@ -499,8 +499,7 @@ DwrCU::parseChild (Dwarf_cnt *ctx) if (link_name && streq (link_name, NTXT ("MAIN"))) ctx->fortranMAIN = Stabs::find_func (NTXT ("MAIN"), ctx->module->functions, true, true); } - if (get_linkage_name () == NULL) - break; + break; } func = append_Function (ctx); if (func)
reply other threads:[~2023-02-17 22:10 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20230217221006.AFD3B385B509@sourceware.org \ --to=vmezents@sourceware.org \ --cc=bfd-cvs@sourceware.org \ --cc=gdb-cvs@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).