gdb/testsuite: some additional tests in gdb.tui/scroll.exp
[binutils-gdb.git] / gdb / dummy-frame.c
index 80e2d51edd58bf1c60c426109122b9c6a40b7ee2..40b455c7e4a49338c982de1a3fb62bbbc5a21eff 100644 (file)
@@ -1,6 +1,6 @@
 /* Code dealing with dummy stack frames, for GDB, the GNU debugger.
 
-   Copyright (C) 1986-2021 Free Software Foundation, Inc.
+   Copyright (C) 1986-2022 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -405,10 +405,10 @@ fprint_dummy_frames (struct ui_file *file)
   struct dummy_frame *s;
 
   for (s = dummy_frame_stack; s != NULL; s = s->next)
-    fprintf_unfiltered (file, "%s: id=%s, ptid=%s\n",
-                       host_address_to_string (s),
-                       s->id.id.to_string ().c_str (),
-                       target_pid_to_str (s->id.thread->ptid).c_str ());
+    gdb_printf (file, "%s: id=%s, ptid=%s\n",
+               host_address_to_string (s),
+               s->id.id.to_string ().c_str (),
+               s->id.thread->ptid.to_string ().c_str ());
 }
 
 static void