aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-04-28 18:03:09 +0200
committerTom de Vries <tdevries@suse.de>2025-04-28 18:03:09 +0200
commit1c32c7150dc955b62e810367d23535643dcb36d5 (patch)
tree567830eac700e3fbde5ea86900bfe5620c01b726 /gdb/python
parentf7745f8ceff9772feb60a96791a366b969811300 (diff)
downloadbinutils-1c32c7150dc955b62e810367d23535643dcb36d5.zip
binutils-1c32c7150dc955b62e810367d23535643dcb36d5.tar.gz
binutils-1c32c7150dc955b62e810367d23535643dcb36d5.tar.bz2
[gdb/testsuite] Avoid generating gdb_leak_detector.cpython-<n>.pyc
After running test-case gdb.python/py-color-leak.exp in a container where I don't have PYTHONDONTWRITEBYTECODE set, I get: ... $ ls src/gdb/testsuite/gdb.python/__pycache__/ gdb_leak_detector.cpython-313.pyc ... Fix this by setting sys.dont_write_bytecode to True in the python scripts importing the module. Tested on x86_64-linux.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions