]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
gdb/testsuite: check the correct Python variable in test
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 8 Mar 2021 18:11:10 +0000 (18:11 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 12 Mar 2021 12:18:33 +0000 (12:18 +0000)
commit8a4efb366fadfc8c7eff2994af863a169fe38401
tree04206e7dbab97c956bfbb37294ba00a4cd8f106d
parent66bb1dd9cda54130515be30ff01061bf5226544e
gdb/testsuite: check the correct Python variable in test

While squashing duplicate test names I spotted what looked like a copy
& paste error.  During this test a Python variable is created, and
then we call the type method on that variable.  In one case we create
a variable and then call the type method on a variable created for a
previous test.  I can see no reason why this should be what we want,
it doesn't line up with the comments in the test script, so I've
updated the test.  Note, the expected result doesn't change, just the
command issued (the test relates to stripping typedefs).

gdb/testsuite/ChangeLog:

* gdb.python/lib-types.exp: Update the test to check the correct
python variable.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/lib-types.exp