public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10285] New: user space PROBE marks aren't found with separate debuginfo
@ 2009-06-15 15:24 mjw at redhat dot com
  2009-06-15 16:05 ` [Bug translator/10285] " mjw at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mjw at redhat dot com @ 2009-06-15 15:24 UTC (permalink / raw)
  To: systemtap

When using separate debuginfo STAP_PROBEs aren't found.

exelib.exp has a new test for this (mark.tcl) that is currently disabled because
it fails all testcases that have sep-debug.

It looks like the translator looks in the wrong order (main/debuginfo) for the
actual .probes section bits.

-- 
           Summary: user space PROBE marks aren't found with separate
                    debuginfo
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mjw at redhat dot com


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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/10285] user space PROBE marks aren't found with separate debuginfo
  2009-06-15 15:24 [Bug translator/10285] New: user space PROBE marks aren't found with separate debuginfo mjw at redhat dot com
@ 2009-06-15 16:05 ` mjw at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: mjw at redhat dot com @ 2009-06-15 16:05 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2009-06-15 16:04 -------
commit d438dd9bc070216016e02f4958fe9dea571712c9
Author: Mark Wielaard <mjw@redhat.com>
Date:   Mon Jun 15 17:47:36 2009 +0200

    PR10285. User space PROBE marks aren't found with separate debuginfo.
    
    The original logic was a little confused. It could end up searching the
    separate debuginfo twice instead of falling back to the main elf file.
    Now we explicitly search the main elf file first (where the .probes
    section really should be) and only then fall back to the separate
    debuginfo file.
    
    * tapsets.cxx (dwarf_builder::probe_table::probe_table): Search main
      elf file first, then fall back on separate debuginfo file if necessary.
    * testsuite/systemtap.exelib/exelib.exp: Enable mark.tcl testcase.
    main elf file or the debuginfo file, but would interpret

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-15 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-15 15:24 [Bug translator/10285] New: user space PROBE marks aren't found with separate debuginfo mjw at redhat dot com
2009-06-15 16:05 ` [Bug translator/10285] " mjw 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).