[PATCH 2/5] addr2line: Always parse addresses as hex numbers.

Mark Wielaard mjw at redhat.com
Thu May 21 13:34:27 UTC 2015


On Wed, 2015-05-20 at 11:18 -0700, Roland McGrath wrote:
> That looks fine but it should get a NEWS item for the incompatible UI change.

Yeah, I guess technically it is an incompatible change. Though I think
it was just a bug and nobody actually expected the addresses to be
interpreted as octal or decimal. At least it was a surprise to me.
I added the following to NEWS:

diff --git a/NEWS b/NEWS
index 60aa995..8cc184a 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@ Version 0.162
 
 libdw: Install new header elfutils/known-dwarf.h.
 
+addr2line: Input addresses are now always interpreted as hexadecimal
+           numbers, never as octal or decimal numbers.
+
 Version 0.161
 
 libdw: New function dwarf_peel_type. dwarf_aggregate_size now uses



More information about the elfutils-devel mailing list