aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-09-15 13:34:14 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-10-22 13:42:49 +0100
commit8b87fbe6bb5f682fef889630664884ea8e7d6444 (patch)
treec6e54c9f2311f10a9195ffb80f059eb26899ddfd /gdb/NEWS
parent431be556b0bdd0733dedec2368d8d6a72cacea72 (diff)
downloadgdb-8b87fbe6bb5f682fef889630664884ea8e7d6444.zip
gdb-8b87fbe6bb5f682fef889630664884ea8e7d6444.tar.gz
gdb-8b87fbe6bb5f682fef889630664884ea8e7d6444.tar.bz2
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().
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index bd26d2b..d001a03 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -45,6 +45,10 @@ maint show internal-warning backtrace
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
+ ** New function gdb.architecture_names(), which returns a list
+ containing all of the possible Architecture.name() values. Each
+ entry is a string.
+
*** Changes in GDB 11
* The 'set disassembler-options' command now supports specifying options