public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10407] New: More accurate libdwfl/dw error reporting
@ 2009-07-17  7:20 mjw at redhat dot com
  2010-08-12 18:17 ` [Bug translator/10407] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mjw at redhat dot com @ 2009-07-17  7:20 UTC (permalink / raw)
  To: systemtap

In a couple of places systemtap unconditionally calls dwfl_errmsg(-1) or
dwarf_errmsg(-1), see for example dwarf_wrapper dwfl/dwarf_assert(). It would be
more accurate to distinguish the "failure" case (dwfl_errno() == 0) and the
"error" case (dwfl/dwarf_errno() != 0) when a call or assertion fails.

See also this discussion:
https://fedorahosted.org/pipermail/elfutils-devel/2009-July/000472.html

-- 
           Summary: More accurate libdwfl/dw error reporting
           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=10407

------- 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/10407] More accurate libdwfl/dw error reporting
  2009-07-17  7:20 [Bug translator/10407] New: More accurate libdwfl/dw error reporting mjw at redhat dot com
@ 2010-08-12 18:17 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2010-08-12 18:17 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-08-12 18:17 -------
Please reopen when a "(no error)" type misleading message is reproducibly seen.

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


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

------- 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:[~2010-08-12 18:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-17  7:20 [Bug translator/10407] New: More accurate libdwfl/dw error reporting mjw at redhat dot com
2010-08-12 18:17 ` [Bug translator/10407] " fche 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).