summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--tapsets.cxx3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0956a4fa..2676ed85 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-02-12 Frank Ch. Eigler <fche@elastic.org>
+
+ * tapsets.cxx (query_statement): Tolerate null file name string.
+
2007-02-09 Frank Ch. Eigler <fche@elastic.org>
PR 3965
diff --git a/tapsets.cxx b/tapsets.cxx
index f223d154..f1fee036 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -2363,7 +2363,8 @@ query_statement (string const & func,
throw semantic_error("incomplete: do not know how to interpret .relative",
q->base_probe->tok);
- q->add_probe_point(func, file, line, scope_die, stmt_addr);
+ q->add_probe_point(func, file ? file : "?",
+ line, scope_die, stmt_addr);
}
catch (const semantic_error& e)
{