tests: Test readelf --debug-dump=[decoded]line with min_inst_len > 1.
authorMark Wielaard <mark@klomp.org>
Mon, 16 Apr 2018 09:40:22 +0000 (11:40 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 16 Apr 2018 09:44:16 +0000 (11:44 +0200)
commit61eaf1f011dafccfddca8e55bd94c03941d7b516
tree0cfcf455806f6edee2e857d97c7a1ba30c148a09
parent40b1f188a3b3194c7f62db9760d81f07db229b33
tests: Test readelf --debug-dump=[decoded]line with min_inst_len > 1.

This testcase tests the fix for the readelf --debug-dump=line bug fixed
in commit 40b1f18 "readelf: Fix advance_pc to use op_addr_advance, not
just op_advance."

This tests both the --debug-dump=line (readelf) implementation and the
--debug-dump=decodedline (libdw) implementation. The first fails without
the bug fix. The second was already correct.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/ChangeLog
tests/Makefile.am
tests/run-readelf-line.sh
tests/testfile-ppc64-min-instr.bz2 [new file with mode: 0755]