[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/24404] addr2line file and line not accurate compared to gd
From: |
amodra at gmail dot com |
Subject: |
[Bug binutils/24404] addr2line file and line not accurate compared to gdb |
Date: |
Mon, 01 Apr 2019 12:49:02 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24404
--- Comment #3 from Alan Modra <amodra at gmail dot com> ---
My comment about silly arguments was aimed mostly at [3]. You're passing
__libc_start_main+0xe7 as an address.
For [2], the address you pass to addr2line is immediately after the call to
print_trace. Magic c++ things happen there, the string destructor. Some
inlined code from the string destructor appears at that address, so it is
corrrect for addr2line to report that code's source file.
Not a bug.
--
You are receiving this mail because:
You are on the CC list for the bug.