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.
This commit is contained in:
Will Schmidt
2021-03-27 14:31:27 +00:00
committed by Andrew Burgess
parent 03f2bc641d
commit 99066782db
3 changed files with 11 additions and 4 deletions

View File

@ -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'

View File

@ -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"

View File

@ -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} {