gdb/python: new gdb.architecture_names function
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 15 Sep 2021 12:34:14 +0000 (13:34 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 22 Oct 2021 12:42:49 +0000 (13:42 +0100)
commit8b87fbe6bb5f682fef889630664884ea8e7d6444
treec6e54c9f2311f10a9195ffb80f059eb26899ddfd
parent431be556b0bdd0733dedec2368d8d6a72cacea72
gdb/python: new gdb.architecture_names function

Add a new function to the Python API, gdb.architecture_names().  This
function returns a list containing all of the supported architecture
names within the current build of GDB.

The values returned in this list are all of the possible values that
can be returned from gdb.Architecture.name().
gdb/NEWS
gdb/doc/python.texi
gdb/python/py-arch.c
gdb/python/python-internal.h
gdb/python/python.c
gdb/testsuite/gdb.python/py-arch.exp