target_stack -> current_top_target() throughout
[deliverable/binutils-gdb.git] / gdb / exceptions.c
index 5abbaf21377a8a68a93fe00af68303f808890299..54aab704b7dc8369a107b10e384f0b0eb7e22b19 100644 (file)
@@ -43,7 +43,7 @@ print_flush (void)
      stack, the NULL check is needed here because we can get here very
      early during startup, before the target stack is first
      initialized.  */
-  if (target_stack != NULL && target_supports_terminal_ours ())
+  if (current_top_target () != NULL && target_supports_terminal_ours ())
     {
       term_state.emplace ();
       target_terminal::ours_for_output ();
This page took 0.025172 seconds and 4 git commands to generate.