summaryrefslogtreecommitdiff
path: root/tests/run-dwarf-attributes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-dwarf-attributes.sh')
-rwxr-xr-xtests/run-dwarf-attributes.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/run-dwarf-attributes.sh b/tests/run-dwarf-attributes.sh
index b03f318b..e39c42f7 100755
--- a/tests/run-dwarf-attributes.sh
+++ b/tests/run-dwarf-attributes.sh
@@ -28,8 +28,11 @@
testfiles testfile
-testrun_compare $srcdir/dwarf-attributes.sh testfile <<\EOF
- <compile_unit offset=[0xb] stmt_list=0 high_pc=0x804845a low_pc=0x804842c name="m.c" comp_dir="/home/drepper/gnu/new-bu/build/ttt" producer="GNU C 2.96 20000731 (Red Hat Linux 7.0)" language=0x1>
+testrun_compare ./dwarf-print --depth=1 testfile <<\EOF
+testfile:
+ <compile_unit offset=[0xb] stmt_list=0 high_pc=0x804845a low_pc=0x804842c name="m.c" comp_dir="/home/drepper/gnu/new-bu/build/ttt" producer="GNU C 2.96 20000731 (Red Hat Linux 7.0)" language=0x1>...
+ <compile_unit offset=[0xca] stmt_list=0x4b high_pc=0x8048466 low_pc=0x804845c name="b.c" comp_dir="/home/drepper/gnu/new-bu/build/ttt" producer="GNU C 2.96 20000731 (Red Hat Linux 7.0)" language=0x1>...
+ <compile_unit offset=[0x15fc] stmt_list=0x1e0 high_pc=0x8048472 low_pc=0x8048468 name="f.c" comp_dir="/home/drepper/gnu/new-bu/build/ttt" producer="GNU C 2.96 20000731 (Red Hat Linux 7.0)" language=0x1>...
EOF
exit 0