Fix tracepoint.c:parse_tracepoint_definition leak (and one more)
[deliverable/binutils-gdb.git] / gdb / disasm.c
index 128c3abfde4c6a2349b5d736a35f91c1ef8db6c5..7c7a148935e3b65e99cc3db1cfe3bdfa4ffeae02 100644 (file)
@@ -1,6 +1,6 @@
 /* Disassemble support for GDB.
 
-   Copyright (C) 2000-2018 Free Software Foundation, Inc.
+   Copyright (C) 2000-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -244,7 +244,8 @@ gdb_pretty_print_disassembler::pretty_print_insn (struct ui_out *uiout,
           the future.  */
        uiout->text (" <");
        if ((flags & DISASSEMBLY_OMIT_FNAME) == 0)
-         uiout->field_string ("func-name", name.c_str ());
+         uiout->field_string ("func-name", name.c_str (),
+                              ui_out_style_kind::FUNCTION);
        uiout->text ("+");
        uiout->field_int ("offset", offset);
        uiout->text (">:\t");
This page took 0.023939 seconds and 4 git commands to generate.