summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dwflpp.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwflpp.cxx b/dwflpp.cxx
index 3e451916..dcf4182d 100644
--- a/dwflpp.cxx
+++ b/dwflpp.cxx
@@ -1717,7 +1717,8 @@ dwflpp::translate_location(struct obstack *pool,
/* Fall through. */
case 0: /* Shouldn't happen. */
- throw semantic_error ("not accessible at this address", e->tok);
+ throw semantic_error ("not accessible at this address ("
+ + lex_cast_hex(pc) + ")", e->tok);
default: /* Shouldn't happen. */
case -1: