public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/16684] New: Add debug file paths in find_script_hash()
@ 2014-03-10 20:55 jistone at redhat dot com
  0 siblings, 0 replies; only message in thread
From: jistone at redhat dot com @ 2014-03-10 20:55 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-10 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-10 20:55 [Bug translator/16684] New: Add debug file paths in find_script_hash() jistone at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).