aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-cmd-exception.py
diff options
context:
space:
mode:
authorSébastien Darche <sdarche@efficios.com>2025-09-29 09:47:59 -0400
committerSébastien Darche <sdarche@efficios.com>2025-10-08 16:00:33 -0400
commit5a9a34d769abd73a5b68f0895488c94c1c883739 (patch)
treea6ccf6ea336ab8d721dd5e3127953bc5ac421a2b /gdb/testsuite/gdb.python/py-cmd-exception.py
parentd3758513a81c81d6e62b135bff43ecca6608a65d (diff)
downloadbinutils-5a9a34d769abd73a5b68f0895488c94c1c883739.zip
binutils-5a9a34d769abd73a5b68f0895488c94c1c883739.tar.gz
binutils-5a9a34d769abd73a5b68f0895488c94c1c883739.tar.bz2
gdb: use getter/setter command styles for "set tdesc filename"
The target description filename command pair ("(set|get) tdesc filename") uses a rather indirect way to set the variable for the inferior, using a scratch variable to pass the value. While most other inferior-specific parameters were updated to the more direct getter/setter style functions, I believe this parameter was an oversight. This patch removes the intermediate string and directly accesses the tdesc filename for the current inferior. Co-Authored-By: Simon Marchi <simon.marchi@efficios.com> Change-Id: I2a87c65c9931ec91d15f854b32ac8279fe7077be Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-cmd-exception.py')
0 files changed, 0 insertions, 0 deletions