public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-gbenson-stap-rtld: Work properly when probes are not found
@ 2011-06-07 9:28 gary
0 siblings, 0 replies; only message in thread
From: gary @ 2011-06-07 9:28 UTC (permalink / raw)
To: archer-commits
The branch, archer-gbenson-stap-rtld has been updated
via 33b1899b746b38d4bae7388cad87a75ceef95ab7 (commit)
from c6eb0e22811cf3098455ab9454038c8eaf74b7b6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 33b1899b746b38d4bae7388cad87a75ceef95ab7
Author: Gary Benson <gbenson@redhat.com>
Date: Tue Jun 7 10:28:11 2011 +0100
Work properly when probes are not found
-----------------------------------------------------------------------
Summary of changes:
gdb/solib-svr4.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
First 500 lines of diff:
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index dd49c59..41b3344 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -1343,7 +1343,10 @@ svr4_update_solib_event_breakpoint (struct breakpoint *b, void *arg)
static void
svr4_update_solib_event_breakpoints (void)
{
- iterate_over_breakpoints (svr4_update_solib_event_breakpoint, NULL);
+ struct svr4_info *info = get_svr4_info ();
+
+ if (info->pre_mod_probe)
+ iterate_over_breakpoints (svr4_update_solib_event_breakpoint, NULL);
}
/* Both the SunOS and the SVR4 dynamic linkers call a marker function
@@ -1453,6 +1456,8 @@ enable_break (struct svr4_info *info, int from_tty)
info->interp_text_sect_low = info->interp_text_sect_high = 0;
info->interp_plt_sect_low = info->interp_plt_sect_high = 0;
+ info->pre_mod_probe = info->post_mod_probe = NULL;
+
/* If we already have a shared library list in the target, and
r_debug contains r_brk, set the breakpoint there - this should
mean r_brk has already been relocated. Assume the dynamic linker
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-07 9:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-07 9:28 [SCM] archer-gbenson-stap-rtld: Work properly when probes are not found gary
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).