public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-sergiodj-stap: set explicit_pc on resulting sals
@ 2011-02-08 18:49 tromey
  0 siblings, 0 replies; only message in thread
From: tromey @ 2011-02-08 18:49 UTC (permalink / raw)
  To: archer-commits

The branch, archer-sergiodj-stap has been updated
       via  8f983a4ac87f3898954d71d8965d41707ba791c9 (commit)
       via  b08739092ef09f0a4050a15704d4a18b6bb0f82e (commit)
      from  b565b326318dd4f1f2acb315fa0893bac684aacc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 8f983a4ac87f3898954d71d8965d41707ba791c9
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Feb 8 11:48:23 2011 -0700

    set explicit_pc on resulting sals

commit b08739092ef09f0a4050a15704d4a18b6bb0f82e
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Feb 8 11:47:25 2011 -0700

    trivial cleanup

-----------------------------------------------------------------------

Summary of changes:
 gdb/stap-probe.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index f19dd11..81398ff 100644
--- a/gdb/stap-probe.c
+++ b/gdb/stap-probe.c
@@ -130,7 +130,6 @@ collect_probes (char *objname, char *provider, char *probe)
   {
     const struct stap_probe *probes;
     int i, num_probes;
-    stap_entry entry;
 
     if (! objfile->sf || ! objfile->sf->sym_get_probes)
       continue;
@@ -144,6 +143,8 @@ collect_probes (char *objname, char *provider, char *probe)
     probes = objfile->sf->sym_get_probes (objfile, &num_probes);
     for (i = 0; i < num_probes; ++i)
       {
+	stap_entry entry;
+
 	if (provider)
 	  {
 	    if (regexec (&prov_pat, probes[i].provider, 0, NULL, 0) != 0)
@@ -348,6 +349,7 @@ parse_stap_probe (char **argptr)
 	init_sal (sal);
 
 	sal->pc = probes[i].address;
+	sal->explicit_pc = 1;
 	sal->section = find_pc_overlay (sal->pc);
 	sal->pspace = current_program_space;
       }


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-08 18:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-08 18:49 [SCM] archer-sergiodj-stap: set explicit_pc on resulting sals tromey

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).