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 2f1a00e..c75896d 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -2560,6 +2560,10 @@ the returned string is 'ADDRESS <SYMBOL+OFFSET>' without the quotes." },
"current_language () -> string\n\
Return the name of the currently selected language." },
+ { "print_options", gdbpy_print_options, METH_NOARGS,
+ "print_options () -> dict\n\
+Return the current print options." },
+
{NULL, NULL, 0, NULL}
};