aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/python.c')
-rw-r--r--gdb/python/python.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c
index 44ec4b7..5b1c295 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -2324,6 +2324,10 @@ Set the value of the convenience variable $NAME." },
Register a TUI window constructor." },
#endif /* TUI */
+ { "architecture_names", gdbpy_all_architecture_names, METH_NOARGS,
+ "architecture_names () -> List.\n\
+Return a list of all the architecture names GDB understands." },
+
{NULL, NULL, 0, NULL}
};