From 77b2151e03a48738124df191990ab1b0cd439d66 Mon Sep 17 00:00:00 2001 From: brolley Date: Wed, 12 Mar 2008 15:50:21 +0000 Subject: 2008-03-12 Dave Brolley PR5897 * staptree.cxx (probe::printsig): If this probe was derived from an alias, call the printsig method of the alias. --- ChangeLog | 6 ++++++ staptree.cxx | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2c508ca6..b31e3eb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-12 Dave Brolley + + 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 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 0) o << ","; -- cgit