Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 308607 Details for
Bug 450229
dwfl_module_getsrc doesn't allow for bias
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
fix
diffs (text/plain), 1.12 KB, created by
Andrew Cagney
on 2008-06-07 12:07:43 UTC
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Andrew Cagney
Created:
2008-06-07 12:07:43 UTC
Size:
1.12 KB
patch
obsolete
>diff --git a/frysk-imports/elfutils/libdwfl/ChangeLog b/frysk-imports/elfutils/libdwfl/ChangeLog >index f72180b..d70c3da 100644 >--- a/frysk-imports/elfutils/libdwfl/ChangeLog >+++ b/frysk-imports/elfutils/libdwfl/ChangeLog >@@ -1,3 +1,9 @@ >+2008-06-07 Andrew Cagney <cagney@redhat.com> >+ >+ * dwfl_module_getsrc.c (dwfl_module_getsrc): Remove bias from >+ address. Fix frysk/6600, redhat/450229. >+ >+ > 2008-05-21 Petr Machata <pmachata@redhat.com> > > * dwfl_module_getdwarf.c (open_elf): Assume that debuginfo of EXEC >diff --git a/frysk-imports/elfutils/libdwfl/dwfl_module_getsrc.c b/frysk-imports/elfutils/libdwfl/dwfl_module_getsrc.c >index 84c7eaa..a413189 100644 >--- a/frysk-imports/elfutils/libdwfl/dwfl_module_getsrc.c >+++ b/frysk-imports/elfutils/libdwfl/dwfl_module_getsrc.c >@@ -63,6 +63,8 @@ dwfl_module_getsrc (Dwfl_Module *mod, Dwarf_Addr addr) > error = __libdwfl_cu_getsrclines (cu); > if (likely (error == DWFL_E_NOERROR)) > { >+ /* Remove bias. */ >+ addr = addr - bias; > /* The lines are sorted by address, so we can use binary search. */ > size_t l = 0, u = cu->die.cu->lines->nlines; > while (l < u)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 450229
: 308607