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

Aaron Merey <amerey at redhat dot com> changed:

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

--- Comment #2 from Aaron Merey <amerey at redhat dot com> ---
Fixed in the following commit:

412ffac6e5a789d200677a84e7fe4b0e1e897e95
Author: Aaron Merey <ame...@redhat.com>
Date:   Mon Jan 20 19:20:12 2025 -0500

    libdwfl/argp-std.c: Set offline_next_address for a.out default

    If none of -e, -p or -k is given as a command line option, libdwfl
    parse_opt will use '-e a.out' as the default.

    When handling -e, parse_opt will set dwfl->offline_next_address
    to 0.  However when handling the default '-e a.out',
    dwfl->offline_next_address is not set to 0.  This can result in
    eu-addr2line failing to correctly output the line information for a
    given address.

    Fix this by setting dwfl->offline_next_address to 0 when setting up
    the default '-e a.out' dwfl.

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

    Signed-off-by: Aaron Merey <ame...@redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to