]> sourceware.org Git - systemtap.git/commitdiff
2007-02-12 Frank Ch. Eigler <fche@elastic.org>
authorfche <fche>
Mon, 12 Feb 2007 15:22:35 +0000 (15:22 +0000)
committerfche <fche>
Mon, 12 Feb 2007 15:22:35 +0000 (15:22 +0000)
* tapsets.cxx (query_statement): Tolerate null file name string.

ChangeLog
tapsets.cxx

index 0956a4fad537878855500e2cc6286016d5da813c..2676ed8546362817f2975b9e3fef75f3338d4dc9 100644 (file)
--- 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
index f223d1543baf8688d355a26d10ad3405d0c7ef44..f1fee0366e19bda9f0ffdd85f66c6590ce121387 100644 (file)
@@ -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)
     {
This page took 0.069752 seconds and 5 git commands to generate.