diff options
author | Tom de Vries <tdevries@suse.de> | 2023-03-27 13:58:10 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-03-27 13:58:10 +0200 |
commit | 468f212c5779d1c6ad68a5add2c41a862255ca25 (patch) | |
tree | 63938aceed8276ff4799818222232f81638fba23 /gdb | |
parent | a653ec1f361bf70370b63a91355864d3757229aa (diff) | |
download | gdb-468f212c5779d1c6ad68a5add2c41a862255ca25.zip gdb-468f212c5779d1c6ad68a5add2c41a862255ca25.tar.gz gdb-468f212c5779d1c6ad68a5add2c41a862255ca25.tar.bz2 |
[gdb/testsuite] Fix gdb.dwarf2/enqueued-cu-base-addr.exp for remote host
Fix test-case gdb.dwarf2/enqueued-cu-base-addr.exp for remote host by using
$testfile instead $binfile.
Tested on x86_64-linux.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/enqueued-cu-base-addr.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/enqueued-cu-base-addr.exp b/gdb/testsuite/gdb.dwarf2/enqueued-cu-base-addr.exp index 658a9a4..b60c020 100644 --- a/gdb/testsuite/gdb.dwarf2/enqueued-cu-base-addr.exp +++ b/gdb/testsuite/gdb.dwarf2/enqueued-cu-base-addr.exp @@ -89,7 +89,7 @@ set cu2_blockvector_re \ "" \ "block #000, \[^\r\n\]* in ($hex)..$hex" \ ".*"] -gdb_test_multiple "maint print symbols -objfile $binfile" "CU addr found" { +gdb_test_multiple "maint print symbols -objfile $testfile" "CU addr found" { -re -wrap $cu2_blockvector_re { set addr $expect_out(1,string) if { $addr eq "0x0" } { |