Fix "nosharedlibrary + continue + shared lib event" crash
[binutils-gdb.git] / gdb / cli-out.c
index 4b5fc173904b493a5ba79f12bfb977b0e2105fb5..55c8d2b3b1bb2084fdde7ecbd6b745e86619d02d 100644 (file)
@@ -1,6 +1,6 @@
 /* Output generating routines for GDB CLI.
 
-   Copyright (C) 1999-2018 Free Software Foundation, Inc.
+   Copyright (C) 1999-2019 Free Software Foundation, Inc.
 
    Contributed by Cygnus Solutions.
    Written by Fernando Nasser for Cygnus.
@@ -173,6 +173,12 @@ cli_ui_out::do_field_string (int fldno, int width, ui_align align,
        case ui_out_style_kind::FUNCTION:
          fstyle = function_name_style.style ();
          break;
+       case ui_out_style_kind::VARIABLE:
+         fstyle = variable_name_style.style ();
+         break;
+       case ui_out_style_kind::ADDRESS:
+         fstyle = address_style.style ();
+         break;
        default:
          gdb_assert_not_reached ("missing case");
        }