gdb/testsuite: remove duplicate test from gdb.python/py-value-cc.exp
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 8 Mar 2021 18:31:06 +0000 (18:31 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 12 Mar 2021 12:18:34 +0000 (12:18 +0000)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-value-cc.exp

index 23135be25d15884eae505bdc599ec6782d298a34..9ca0a1288f9f555dd2f8054008670577d06caa91 100644 (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
index ba2617d8cb8cfb8cffd9bb575fb6a71c4b8ee5a2..52a713630331a44adfda20d3905d36fe19fec176 100644 (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"
This page took 0.045909 seconds and 4 git commands to generate.