aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-value-cc.exp
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-03-08 18:31:06 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-03-12 12:18:34 +0000
commit323b848c51d19151e282470c866421b39d575da4 (patch)
tree57b5e11bb5658b6999f80aee2201664463c4cca2 /gdb/testsuite/gdb.python/py-value-cc.exp
parent8a4efb366fadfc8c7eff2994af863a169fe38401 (diff)
downloadfsf-binutils-gdb-323b848c51d19151e282470c866421b39d575da4.zip
fsf-binutils-gdb-323b848c51d19151e282470c866421b39d575da4.tar.gz
fsf-binutils-gdb-323b848c51d19151e282470c866421b39d575da4.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-value-cc.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-value-cc.exp2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.python/py-value-cc.exp b/gdb/testsuite/gdb.python/py-value-cc.exp
index ba2617d..52a7136 100644
--- a/gdb/testsuite/gdb.python/py-value-cc.exp
+++ b/gdb/testsuite/gdb.python/py-value-cc.exp
@@ -61,8 +61,6 @@ 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"
gdb_test "python print(b\[b_fields\[0\]\]\['a'\])" "10" "b.A::a via field"