diff options
author | Jim Keniston <jkenisto@us.ibm.com> | 2008-09-29 10:34:08 -0700 |
---|---|---|
committer | Jim Keniston <jkenisto@us.ibm.com> | 2008-09-29 10:34:08 -0700 |
commit | de50692ab43992557f4e0b719e09c0a88127a603 (patch) | |
tree | a1034a67c3dbef514d535f7d37261f8b3cb1b61a /tapsets.cxx | |
parent | df0ceff0663d0e85c3bf5d5e13b5681b54851856 (diff) | |
parent | 338e2309ef67c7b0d1ac3df852502e55bc316c8a (diff) | |
download | systemtap-steved-de50692ab43992557f4e0b719e09c0a88127a603.tar.gz systemtap-steved-de50692ab43992557f4e0b719e09c0a88127a603.tar.xz systemtap-steved-de50692ab43992557f4e0b719e09c0a88127a603.zip |
Merge branch 'master' of ssh://kenistoj@sources.redhat.com/git/systemtap
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index ab8f6c94..b1475997 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -2242,7 +2242,9 @@ struct dwflpp die = dwarf_formref_die (&attr_mem, &vardie); stringstream alternatives; print_members(die,alternatives); - throw semantic_error("Translation failure : \n ALTERNATIVES [ " + alternatives.str() + " ] \n"); + throw semantic_error("unable to find local '" + local + "'" + + " near pc " + lex_cast_hex<string>(pc) + + (alternatives.str() == "" ? "" : (" (alternatives:" + alternatives.str () + ")"))); } /* Translate the assignment part, either @@ -2316,7 +2318,9 @@ struct dwflpp die = dwarf_formref_die (&attr_mem, vardie); stringstream alternatives; print_members(die,alternatives); - throw semantic_error("Translation failure : \n ALTERNATIVES [ " + alternatives.str() + " ] \n"); + throw semantic_error("unable to find return value" + " near pc " + lex_cast_hex<string>(pc) + + (alternatives.str() == "" ? "" : (" (alternatives:" + alternatives.str () + ")"))); } |