aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/implptr-64bit.exp
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-07-17 16:42:37 +0200
committerTom de Vries <tdevries@suse.de>2020-07-17 16:42:37 +0200
commit90c3ec2d210a76e88e9fe7c62af9806650a5a9c0 (patch)
treea8fb57a4c12b4079f5f5ac2b4772b520f40a0cf9 /gdb/testsuite/gdb.dwarf2/implptr-64bit.exp
parent10da644dc4882fd1e82913da94253fd540d91043 (diff)
downloadgdb-90c3ec2d210a76e88e9fe7c62af9806650a5a9c0.zip
gdb-90c3ec2d210a76e88e9fe7c62af9806650a5a9c0.tar.gz
gdb-90c3ec2d210a76e88e9fe7c62af9806650a5a9c0.tar.bz2
[gdb/testsuite] Use MACRO_AT_{func,range}
Use dwarf assembly procs MACRO_AT_func and MACRO_AT_range in test-cases where that's appropriate. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-07-17 Tom de Vries <tdevries@suse.de> * gdb.dlang/circular.c (found): Use found_label as label name. * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name. * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name. * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range. * gdb.dwarf2/ada-linkage-name.exp: Same. * gdb.dwarf2/arr-subrange.exp: Same. * gdb.dwarf2/atomic-type.exp: Same. * gdb.dwarf2/comp-unit-lang.exp: Same. * gdb.dwarf2/cpp-linkage-name.exp: Same. * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same. * gdb.dwarf2/dw2-lexical-block-bare.exp: Same. * gdb.dwarf2/dw2-regno-invalid.exp: Same. * gdb.dwarf2/implptr-64bit.exp: Same. * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same. * gdb.dwarf2/imported-unit-runto-main.exp: Same. * gdb.dwarf2/imported-unit.exp: Same. * gdb.dwarf2/main-subprogram.exp: Same. * gdb.dwarf2/missing-type-name.exp: Same. * gdb.dwarf2/nonvar-access.exp: Same. * gdb.dwarf2/struct-with-sig.exp: Same. * gdb.dwarf2/typedef-void-finish.exp: Same. * gdb.dwarf2/void-type.exp: Same.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/implptr-64bit.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/implptr-64bit.exp8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/implptr-64bit.exp b/gdb/testsuite/gdb.dwarf2/implptr-64bit.exp
index 71f51bb..a75d443 100644
--- a/gdb/testsuite/gdb.dwarf2/implptr-64bit.exp
+++ b/gdb/testsuite/gdb.dwarf2/implptr-64bit.exp
@@ -81,9 +81,7 @@ proc test { dwarf_version offset_size addr_size ref_addr_size two_cu } {
if { !$two_cu } {
subprogram {
- { name main }
- { low_pc main addr }
- { high_pc "main+0x100" addr }
+ {MACRO_AT_func {main}}
{ type :$int_label }
{ external 1 flag }
} {
@@ -111,9 +109,7 @@ proc test { dwarf_version offset_size addr_size ref_addr_size two_cu } {
{ name 1.c }
} {
subprogram {
- { name main }
- { low_pc main addr }
- { high_pc "main+0x100" addr }
+ { MACRO_AT_func {main} }
{ type %$int_label }
{ external 1 flag }
} {