summaryrefslogtreecommitdiff
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2023-01-22 20:50:53 +0100
committerMark Wielaard <mark@klomp.org>2023-01-30 22:01:48 +0100
commitc6b38c2d670f7db732a34fd8e65e94942801c0f8 (patch)
tree4f499e420ed9316ef891e07e650464c82b094a83 /src/ChangeLog
parent8d77b719333fb47722a5684f9e0d3f23257346d3 (diff)
downloadelfutils-c6b38c2d670f7db732a34fd8e65e94942801c0f8.tar.gz
addr2line: -C should not try to handle optional (ignored) argument
The --demangle option takes an option (ignored) argument. Since -C is the short option of --demangle it also takes that optional argument. But that means that something like -Cfi is like -C got fi as argument, while the user expects -Cfi to be like -C -f -i. Separate the --demangle and -C options. --demangle still takes an optional (ignored) argument, but -C doesn't take any arguments so -Cfi acts the same as -fiC. Also fix --target, -b, so that it is properly ignored (and not accidentially enables demangling). Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0490088e..915494f2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-22 Mark Wielaard <mark@klomp.org>
+
+ * addr2line.c (options): Separate --demangle and -C.
+ (parse_opt): Ignore 'b'.
+
2023-01-10 Mark Wielaard <mark@klomp.org>
* readelf.c (get_debug_elf_data): New function.