ODR warnings for "struct insn_info"
[binutils-gdb.git] / gdb / gcore.c
index 5e3aa68307bc812a9543d80992e7459f71730c6a..fdb22b72a0765dd0b247b133f8754ebf299fcee9 100644 (file)
@@ -140,8 +140,8 @@ gcore_command (const char *args, int from_tty)
     }
 
   if (info_verbose)
-    printf_filtered ("Opening corefile '%s' for output.\n",
-                    corefilename.get ());
+    gdb_printf ("Opening corefile '%s' for output.\n",
+               corefilename.get ());
 
   if (target_supports_dumpcore ())
     target_dumpcore (corefilename.get ());
@@ -160,7 +160,7 @@ gcore_command (const char *args, int from_tty)
       unlink_file.keep ();
     }
 
-  printf_filtered ("Saved corefile %s\n", corefilename.get ());
+  gdb_printf ("Saved corefile %s\n", corefilename.get ());
 }
 
 static enum bfd_architecture
@@ -384,8 +384,8 @@ gcore_create_callback (CORE_ADDR vaddr, unsigned long size, int read,
     {
       if (info_verbose)
        {
-         printf_filtered ("Ignore segment, %s bytes at %s\n",
-                          plongest (size), paddress (target_gdbarch (), vaddr));
+         gdb_printf ("Ignore segment, %s bytes at %s\n",
+                     plongest (size), paddress (target_gdbarch (), vaddr));
        }
 
       return 0;
@@ -444,8 +444,8 @@ gcore_create_callback (CORE_ADDR vaddr, unsigned long size, int read,
 
   if (info_verbose)
     {
-      printf_filtered ("Save segment, %s bytes at %s\n",
-                      plongest (size), paddress (target_gdbarch (), vaddr));
+      gdb_printf ("Save segment, %s bytes at %s\n",
+                 plongest (size), paddress (target_gdbarch (), vaddr));
     }
 
   bfd_set_section_size (osec, size);