[Bug binutils/24404] addr2line file and line not accurate compared to gdb

2019-04-01 Thread jg at jguk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24404 --- Comment #4 from Jonny Grant --- (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 addres

[Bug binutils/24404] addr2line file and line not accurate compared to gdb

2019-04-01 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24404 --- Comment #3 from Alan Modra --- 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

[Bug binutils/24404] addr2line file and line not accurate compared to gdb

2019-04-01 Thread jg at jguk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24404 --- Comment #2 from Jonny Grant --- (In reply to Alan Modra from comment #1) > Test case is passing silly arguments to addr2line. Unclear what you mean? Please clarify. Easy to reproduce: addr2line -e exception4 0x15c1 -- You are receiving

[Bug binutils/24404] addr2line file and line not accurate compared to gdb

2019-03-31 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24404 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|