Have 'thread|frame apply' style their output.
[deliverable/binutils-gdb.git] / gdb / source-cache.c
index 5eae02082df85d912805804c7a5619f1ceb1885d..d2fb4b81b7171a1e68e9aae4349c4e544420939d 100644 (file)
@@ -181,7 +181,7 @@ source_cache::get_source_lines (struct symtab *s, int first_line,
     return false;
 
 #ifdef HAVE_SOURCE_HIGHLIGHT
-  if (source_styling && can_emit_style_escape (gdb_stdout))
+  if (source_styling && gdb_stdout->can_emit_style_escape ())
     {
       const char *fullname = symtab_to_fullname (s);
 
This page took 0.024551 seconds and 4 git commands to generate.