Support -prompt and -lbl in gdb_test
[binutils-gdb.git] / gdb / corefile.c
index 4b1451487e282d0751611fd834585664f546ce9b..71f8157134222cf67f3609c3a2e28294ac0f64ff 100644 (file)
@@ -1,6 +1,6 @@
 /* Core dump and executable file functions above target vector, for GDB.
 
-   Copyright (C) 1986-2021 Free Software Foundation, Inc.
+   Copyright (C) 1986-2022 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -401,8 +401,8 @@ show_gnutarget_string (struct ui_file *file, int from_tty,
                       struct cmd_list_element *c,
                       const char *value)
 {
-  fprintf_filtered (file,
-                   _("The current BFD target is \"%s\".\n"), value);
+  gdb_printf (file,
+             _("The current BFD target is \"%s\".\n"), value);
 }
 
 static void