gdb/testsuite: remove duplicate test from gdb.python/py-value-cc.exp

While squashing duplicate test names I spotted an actual duplicate
test, I suspect a copy & paste error in an earlier patch.  I can see
no reason why we should need to duplicate this test, so I'm removing
one copy of it.

gdb/testsuite/ChangeLog:

	* gdb.python/py-value-cc.exp: Remove a duplicate test.
This commit is contained in:
Andrew Burgess
2021-03-08 18:31:06 +00:00
parent 8a4efb366f
commit 323b848c51
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.python/py-value-cc.exp: Remove a duplicate test.
2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.python/lib-types.exp: Update the test to check the correct

View File

@ -60,8 +60,6 @@ gdb_test_no_output "python uu_fields = uu.type.fields()" "init uu_fields"
gdb_test_no_output "python x_ptr = gdb.parse_and_eval('x_ptr')" "init x_ptr"
gdb_test_no_output "python xtd = gdb.parse_and_eval('xtd')" "init xtd"
gdb_test "python print(b\[b_fields\[1\]\])" "97 'a'" "b.a via field"
gdb_test "python print(b\[b_fields\[1\]\])" "97 'a'" "b.a via field"
gdb_test "python print(b\[b_fields\[0\]\].type)" "A" \
"type of b's base class via field"