bug-binutils
[Top][All Lists]
Advanced

[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: jg at jguk dot org
Subject: [Bug binutils/24404] addr2line file and line not accurate compared to gdb
Date: Mon, 01 Apr 2019 15:03:57 +0000

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

--- Comment #4 from Jonny Grant <jg at jguk dot org> ---
(In reply to Alan Modra from comment #3)
> My comment about silly arguments was aimed mostly at [3].  You're passing
> __libc_start_main+0xe7 as an address.

ok, got those removed now.

> 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.

How does GDB get it right?

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]