aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-abi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cp-abi.c')
-rw-r--r--gdb/cp-abi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c
index 040962e..82a164e 100644
--- a/gdb/cp-abi.c
+++ b/gdb/cp-abi.c
@@ -262,6 +262,7 @@ find_cp_abi (const char *short_name)
static void
list_cp_abis (int from_tty)
{
+ struct ui_out *uiout = current_uiout;
struct cleanup *cleanup_chain;
int i;
@@ -309,6 +310,8 @@ set_cp_abi_cmd (char *args, int from_tty)
static void
show_cp_abi_cmd (char *args, int from_tty)
{
+ struct ui_out *uiout = current_uiout;
+
ui_out_text (uiout, "The currently selected C++ ABI is \"");
ui_out_field_string (uiout, "cp-abi", current_cp_abi.shortname);