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/16684] New: Add debug file paths in find_script_hash()


https://sourceware.org/bugzilla/show_bug.cgi?id=16684

            Bug ID: 16684
           Summary: Add debug file paths in find_script_hash()
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: jistone at redhat dot com

In hash.cxx find_script_hash(), when we add session::unwindsym_modules, we
ought to also be recording debuginfo state for these.  The most robust way is
probably an additional hash::add_path for the debugfile reported by
dwfl_module_info().

The presence or absence of debuginfo doesn't always manifest differences up
through pass-2, but may change pass-3 emit_symbol_data, which is why that list
needs to be included in the script hash.

Some parts of the code which add to unwindsym_modules already have a
Dwfl_Module object, so they could easily find and add the debugfile too.  But
many other parts add files to this without knowing anything about dwarf, so
they'll need extra help.  This needs to stay as lightweight as possible though,
as it will run every time before we can even check if we have a cache
available.

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


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