aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-cmd.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-05-11 14:35:49 +0100
committerAndrew Burgess <aburgess@redhat.com>2023-05-16 11:37:43 +0100
commit4473d4f9096d75b24e5dc0225791d7c32fdbec47 (patch)
treeb156e8de2324c77d662b1b10d7554c26bf0c3566 /gdb/testsuite/gdb.python/py-cmd.c
parent0a7dda4f7af1e2911d125726cd3b0ddb42617875 (diff)
downloadbinutils-4473d4f9096d75b24e5dc0225791d7c32fdbec47.zip
binutils-4473d4f9096d75b24e5dc0225791d7c32fdbec47.tar.gz
binutils-4473d4f9096d75b24e5dc0225791d7c32fdbec47.tar.bz2
gdb/testsuite: make gdb_supported_languages a caching proc
Rewrite gdb_supported_languages as a caching proc that actually queries GDB for the list of supported languages, rather than just containing a hard-coded list of languages. There's only one test that uses this proc right now, gdb.python/py-function.exp, and that still passes after this change, with no changes in the test names.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-cmd.c')
0 files changed, 0 insertions, 0 deletions