diff options
Diffstat (limited to 'gdb/python/python.c')
-rw-r--r-- | gdb/python/python.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c index acd80e5..15bb912 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -36,6 +36,7 @@ #include "run-on-main-thread.h" #include "observable.h" #include "build-id.h" +#include "py-color.h" #if GDB_SELF_TEST #include "gdbsupport/selftest.h" @@ -511,6 +512,12 @@ gdbpy_parameter_value (const setting &var) return host_string_to_python_string (str).release (); } + case var_color: + { + const ui_file_style::color &color = var.get<ui_file_style::color> (); + return create_color_object (color).release (); + } + case var_boolean: { if (var.get<bool> ()) |