summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2008-09-02 01:06:16 -0400
committerWenji Huang <wenji.huang@oracle.com>2008-09-02 01:06:16 -0400
commiteebd7e0f235484ae0a6857fa41bda5dd61a2de68 (patch)
treed376fa7746872d477326b423b225f41c25018712
parent9ec36a91738d1bb515049f6fc2d6513424c5fb87 (diff)
downloadsystemtap-steved-eebd7e0f235484ae0a6857fa41bda5dd61a2de68.tar.gz
systemtap-steved-eebd7e0f235484ae0a6857fa41bda5dd61a2de68.tar.xz
systemtap-steved-eebd7e0f235484ae0a6857fa41bda5dd61a2de68.zip
Fix semantic error caused by -P option in nodwarf testing.
-rw-r--r--ChangeLog5
-rw-r--r--tapsets.cxx3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a8c8e6f..0623f540 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-02 Wenji Huang <wenji.huang@oracle.com>
+
+ * tapsets.cxx (query_func_info): Disable prologue searching in
+ no-dwarf testing.
+
2008-09-01 Stan Cox <scox@redhat.com>
* elaborate.cxx (add_global_var_display): Also handle statistics.
diff --git a/tapsets.cxx b/tapsets.cxx
index aa6a611d..c23ee8aa 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -3447,7 +3447,8 @@ query_func_info (Dwarf_Addr entrypc,
else
{
if (q->sess.prologue_searching
- && !q->has_statement_str && !q->has_statement_num) // PR 2608
+ && !q->has_statement_str && !q->has_statement_num
+ && !q->sess.ignore_vmlinux && !q->sess.ignore_dwarf) // PR 2608
{
if (fi.prologue_end == 0)
throw semantic_error("could not find prologue-end "