diff options
Diffstat (limited to 'gdb/disasm.c')
-rw-r--r-- | gdb/disasm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index 7209cfc..541293a 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -899,7 +899,10 @@ do_mixed_source_and_assembly (struct gdbarch *gdbarch, output includes the source specs for each line. */ if (sal.symtab != NULL) { - uiout->text (symtab_to_filename_for_display (sal.symtab)); + auto filename = symtab_to_filename_for_display (sal.symtab); + uiout->message ("%ps", + styled_string (file_name_style.style (), + filename)); } else uiout->text ("unknown"); |