diff options
| author | Mark Wielaard <[email protected]> | 2017-11-29 15:43:26 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2017-11-29 15:57:24 +0100 |
| commit | 704f5fc477efaf120980449e677deb563da8491f (patch) | |
| tree | eb5fcf5a32df412dbf66894ddc6305a9eba7c2ec /tests/run-readelf-zdebug.sh | |
| parent | 268a27211b152d876185ff95255e5025c43b9c13 (diff) | |
readelf: Adjust print_ops formatting.
Use only 2 spaces for index (there are never 10000, the most seen in the
wild is 64). Adjust re-indenting after GNU_entry_value.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/run-readelf-zdebug.sh')
| -rwxr-xr-x | tests/run-readelf-zdebug.sh | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/run-readelf-zdebug.sh b/tests/run-readelf-zdebug.sh index 37cf7eaa..fc666fd1 100755 --- a/tests/run-readelf-zdebug.sh +++ b/tests/run-readelf-zdebug.sh @@ -46,12 +46,12 @@ tempfiles loc.out aranges.out ranges.out macro.out line.out frame.out cat > loc.out << \EOF DWARF section [30] '.debug_loc' at offset 0xa17: - [ 0] 0x00000000004003c0..0x00000000004003c3 [ 0] reg5 - 0x00000000004003c3..0x00000000004003d6 [ 0] breg5 -42 - [ 2] stack_value - 0x00000000004003d6..0x00000000004003d9 [ 0] GNU_entry_value: - [ 0] reg5 - [ 3] stack_value + [ 0] 0x00000000004003c0..0x00000000004003c3 [ 0] reg5 + 0x00000000004003c3..0x00000000004003d6 [ 0] breg5 -42 + [ 2] stack_value + 0x00000000004003d6..0x00000000004003d9 [ 0] GNU_entry_value: + [ 0] reg5 + [ 3] stack_value EOF cat loc.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=loc testfile-debug @@ -476,15 +476,15 @@ Call frame information section [16] '.eh_frame' at offset 0x5b8: def_cfa_offset 24 advance_loc 10 to 0x3b0 def_cfa_expression 11 - [ 0] breg7 8 - [ 2] breg16 0 - [ 4] lit15 - [ 5] and - [ 6] lit11 - [ 7] ge - [ 8] lit3 - [ 9] shl - [ 10] plus + [ 0] breg7 8 + [ 2] breg16 0 + [ 4] lit15 + [ 5] and + [ 6] lit11 + [ 7] ge + [ 8] lit3 + [ 9] shl + [10] plus nop nop nop |
