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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to