This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/15587] Line numbers are missing/incorrect for inline statements
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 05 Jun 2013 19:58:26 +0000
- Subject: [Bug translator/15587] Line numbers are missing/incorrect for inline statements
- Auto-submitted: auto-generated
- References: <bug-15587-6586 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15587
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|systemtap at sourceware dot org |jistone at redhat dot com
--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
This patch was confirmed by Bryn M. Reeves to improve the situation. I just
need to do more manual testing and hopefully find a stable testcase for it.
diff --git a/tapsets.cxx b/tapsets.cxx
index 6bede4c..6a785e8 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -1653,7 +1653,8 @@ query_srcfile_line (const dwarf_line_t& line, void * arg)
Dwarf_Die scope;
q->dw.inner_die_containing_pc(i->die, addr, scope);
query_statement (i->name, i->decl_file,
- q->line[0], &scope, addr, q);
+ lineno, // NB: not q->line !
+ &scope, addr, q);
}
else
query_inline_instance_info (*i, q);
--
You are receiving this mail because:
You are the assignee for the bug.