Rename Python variable in py-inferior.exp
authorTom Tromey <tromey@adacore.com>
Thu, 6 Jul 2023 17:57:26 +0000 (11:57 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 14 Jul 2023 16:52:56 +0000 (10:52 -0600)
commit817437c2ffcdf14e6d4aae30fc8159e5e8e390d6
tree8263c40da0d01b36091431a1f454d2bd496e45c8
parenteef2e91d32928096b5c174d50d40fe13955a407a
Rename Python variable in py-inferior.exp

py-inferior.exp creates a Python variable named 'str'.  This clashes
with the built-in type of the same name and can be confusing when
trying to evaluate Python code when debugging the test case.  This
patch renames it.

Approved-By: Pedro Alves <pedro@palves.net>
gdb/testsuite/gdb.python/py-inferior.exp