aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorWill Schmidt <will_schmidt@vnet.ibm.com>2021-03-27 14:31:27 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-03-27 14:34:56 +0000
commit99066782db401e60d9707a20c77e9f133f3b199b (patch)
treef27bea28c65dd8a881b4090c7d862f5eac75b668 /gdb
parent03f2bc641dd8adb7d44cfe10b7e1f547c103105a (diff)
downloadbinutils-99066782db401e60d9707a20c77e9f133f3b199b.zip
binutils-99066782db401e60d9707a20c77e9f133f3b199b.tar.gz
binutils-99066782db401e60d9707a20c77e9f133f3b199b.tar.bz2
gdb/testsuite: make some test names unique in gdb.arch/powerpc-*.exp
Resolve some duplicate test name warnings in gdb.arch/powerpc-*.exp tests by either extending the existing test names, or providing a new test name. gdb/testsuite/ChangeLog: * gdb.arch/powerpc-disassembler-options.exp: Extend some test names for uniqueness. * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for uniqueness.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog7
-rw-r--r--gdb/testsuite/gdb.arch/powerpc-disassembler-options.exp4
-rw-r--r--gdb/testsuite/gdb.arch/powerpc-fpscr-gcore.exp4
3 files changed, 11 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 3484004..01d781f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
+
+ * gdb.arch/powerpc-disassembler-options.exp: Extend some test
+ names for uniqueness.
+ * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
+ uniqueness.
+
2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
diff --git a/gdb/testsuite/gdb.arch/powerpc-disassembler-options.exp b/gdb/testsuite/gdb.arch/powerpc-disassembler-options.exp
index 765b49a..500f87f 100644
--- a/gdb/testsuite/gdb.arch/powerpc-disassembler-options.exp
+++ b/gdb/testsuite/gdb.arch/powerpc-disassembler-options.exp
@@ -42,7 +42,7 @@ gdb_test "show disassembler-options" \
gdb_test_no_output "set disassembler-options $option"
gdb_test "show disassembler-options" \
"The current disassembler options are '$option'.*" \
- "show disassembler-options $option"
+ "show disassembler-options $option after set arch $arch1"
# Change architectures and verify the disassembler options have been preserved.
@@ -52,5 +52,5 @@ gdb_test "set architecture $arch2" \
gdb_test "show disassembler-options" \
"The current disassembler options are '$option'.*" \
- "show disassembler-options $option"
+ "show disassembler-options $option after set arch $arch2"
diff --git a/gdb/testsuite/gdb.arch/powerpc-fpscr-gcore.exp b/gdb/testsuite/gdb.arch/powerpc-fpscr-gcore.exp
index da9a1b8..5a72e61 100644
--- a/gdb/testsuite/gdb.arch/powerpc-fpscr-gcore.exp
+++ b/gdb/testsuite/gdb.arch/powerpc-fpscr-gcore.exp
@@ -66,7 +66,7 @@ if { ![check_fpscr_access] } {
return -1
}
-set fpscr_size_process [get_integer_valueof "sizeof(\$fpscr)" -1]
+set fpscr_size_process [get_integer_valueof "sizeof(\$fpscr)" -1 "process size"]
set core_filename [standard_output_file "$testfile.core"]
set core_generated [gdb_gcore_cmd "$core_filename" "generate core file"]
@@ -83,7 +83,7 @@ if { $core_loaded != 1 } {
return -1
}
-set fpscr_size_corefile [get_integer_valueof "sizeof(\$fpscr)" -2]
+set fpscr_size_corefile [get_integer_valueof "sizeof(\$fpscr)" -2 "corefile size" ]
set test "fpscr size matches"
if {$fpscr_size_process == $fpscr_size_corefile} {