summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--staptree.cxx7
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c508ca6..b31e3eb9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-12 Dave Brolley <brolley@redhat.com>
+
+ PR5897
+ * staptree.cxx (probe::printsig): If this probe was derived from an alias,
+ call the printsig method of the alias.
+
2008-03-10 Dave Brolley <brolley@redhat.com>
PR5189
diff --git a/staptree.cxx b/staptree.cxx
index 778691f4..39f5580e 100644
--- a/staptree.cxx
+++ b/staptree.cxx
@@ -930,6 +930,13 @@ void probe::print (ostream& o) const
void probe::printsig (ostream& o) const
{
+ const probe_alias *alias = get_alias ();
+ if (alias)
+ {
+ alias->printsig (o);
+ return;
+ }
+
for (unsigned i=0; i<locations.size(); i++)
{
if (i > 0) o << ",";