From a9b2f3a56be453950fa876249f88f3ee885f919e Mon Sep 17 00:00:00 2001 From: fche Date: Mon, 12 Feb 2007 15:22:35 +0000 Subject: 2007-02-12 Frank Ch. Eigler * tapsets.cxx (query_statement): Tolerate null file name string. --- tapsets.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tapsets.cxx') 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) { -- cgit