This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/10454] Raw number statement probes won't work without dwarf info


------- Additional Comments From mjw at redhat dot com  2009-07-28 13:40 -------
There is an oddity that I don't understand with this code (when it does work).
It looks like if a probe containing a statement_num does have dwarf info then it
gets registered through query_func_info (i->entrypc, *i, q); which calls
query_statement() as follows:

          if (fi.prologue_end != 0)
            {
              query_statement (fi.name, fi.decl_file, fi.decl_line,
                               &fi.die, fi.prologue_end, q);
            }
          else
            {
              query_statement (fi.name, fi.decl_file, fi.decl_line,
                               &fi.die, entrypc, q);
            }

But that seems wrong. Why is it using the prologue_end or entrypc of the
function in which the statement is instead of the value of the statement num itself?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10454

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]