aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.xml
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2020-06-19 09:15:38 -0700
committerSandra Loosemore <sandra@codesourcery.com>2020-06-19 09:15:38 -0700
commit87f83f20023bf366c14ec4e0fd307948d96caaee (patch)
treebc420c1c87ca72b983b69e7b1c5c945571d84b56 /gdb/testsuite/gdb.xml
parent37ab86550b9da31d6c32c2d3384bd27f0426e935 (diff)
downloadfsf-binutils-gdb-87f83f20023bf366c14ec4e0fd307948d96caaee.zip
fsf-binutils-gdb-87f83f20023bf366c14ec4e0fd307948d96caaee.tar.gz
fsf-binutils-gdb-87f83f20023bf366c14ec4e0fd307948d96caaee.tar.bz2
Fixes for gdb.xml/tdesc-regs.exp.
2020-06-19 Sandra Loosemore <sandra@codesourcery.com> Hafiz Abid Qadeer <abidh@codesourcery.com> * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of file sent to remote host. (top level): Allow int32_t as type of 32-bit register.
Diffstat (limited to 'gdb/testsuite/gdb.xml')
-rw-r--r--gdb/testsuite/gdb.xml/tdesc-regs.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.xml/tdesc-regs.exp b/gdb/testsuite/gdb.xml/tdesc-regs.exp
index bb04420..8107619 100644
--- a/gdb/testsuite/gdb.xml/tdesc-regs.exp
+++ b/gdb/testsuite/gdb.xml/tdesc-regs.exp
@@ -145,7 +145,7 @@ proc load_description { file errmsg xml_file } {
close $ofd
if {[is_remote host]} {
- set regs_file [remote_download host "$subdir/$xml_file" $xml_file]
+ set regs_file [remote_download host "$regs_file" $xml_file]
}
# Anchor the test output, so that error messages are detected.
@@ -165,7 +165,7 @@ if {![is_remote host]} {
}
load_description "extra-regs.xml" "" "test-extra-regs.xml"
-gdb_test "ptype \$extrareg" "type = (int|long|long long)"
+gdb_test "ptype \$extrareg" "type = (int32_t|int|long|long long)"
gdb_test "ptype \$uintreg" "type = uint32_t"
gdb_test "ptype \$vecreg" "type = int8_t __attribute__ \\(\\(vector_size\\(4\\)\\)\\)"
gdb_test "ptype \$unionreg" \