public inbox for archer-commits@sourceware.org help / color / mirror / Atom feed
From: gary@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-gbenson-stap-rtld-mainline: Also stop on "map_failed" where appropriate Date: Tue, 08 Jan 2013 12:12:00 -0000 [thread overview] Message-ID: <20130108121227.23973.qmail@sourceware.org> (raw) The branch, archer-gbenson-stap-rtld-mainline has been updated via 21fd080d18f280c19fdc5489726dcd6c66eb5fbf (commit) from ae8418af429928fdb0d91710ce7aea34aba272f4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 21fd080d18f280c19fdc5489726dcd6c66eb5fbf Author: Gary Benson <gbenson@redhat.com> Date: Tue Jan 8 12:12:14 2013 +0000 Also stop on "map_failed" where appropriate ----------------------------------------------------------------------- Summary of changes: gdb/solib-svr4.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) First 500 lines of diff: diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 5eb84ba..a46fd74 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -160,6 +160,7 @@ static const struct probe_info probe_info[] = { "init_start", NAMESPACE_NO_ACTION }, { "init_complete", NAMESPACE_RELOAD }, { "map_start", NAMESPACE_NO_ACTION }, + { "map_failed", NAMESPACE_NO_ACTION }, { "reloc_complete", NAMESPACE_UPDATE_OR_RELOAD }, { "unmap_start", NAMESPACE_NO_ACTION }, { "unmap_complete", NAMESPACE_RELOAD }, @@ -2043,10 +2044,11 @@ svr4_create_solib_event_breakpoints (struct gdbarch *gdbarch, /* Fedora 17, RHEL 6.2, and RHEL 6.3 shipped with an early version of the probes code in which the probes' - names were prefixed with "rtld_". The locations and - arguments of the probes are otherwise the same, so we - check for the prefixed version if the unprefixed - probes are not found. */ + names were prefixed with "rtld_" and the "map_failed" + probe did not exist. The locations of the probes are + otherwise the same, so we check for probes with + prefixed names if probes with unprefixed names are + not present. */ if (with_prefix) strncat (name, "rtld_", sizeof (name) - 1); @@ -2056,6 +2058,9 @@ svr4_create_solib_event_breakpoints (struct gdbarch *gdbarch, info->probes[i] = find_probes_in_objfile (os->objfile, "rtld", name); + if (!strcmp (name, "rtld_map_failed")) + continue; + if (!VEC_length (probe_p, info->probes[i])) { free_probes (info); hooks/post-receive -- Repository for Project Archer.
reply other threads:[~2013-01-08 12:12 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=20130108121227.23973.qmail@sourceware.org \ --to=gary@sourceware.org \ --cc=archer-commits@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).