* inftarg.c (child_thread_alive): New function to see if a
[deliverable/binutils-gdb.git] / gdb / core.c
index fe44651a7045b170d4fc7ba5eb6c9b81365a903f..974e55c1859de6cdf1f8ae1ef42a01e868b2be1e 100644 (file)
@@ -143,17 +143,17 @@ memory_error (status, memaddr)
       /* Actually, address between memaddr and memaddr + len
         was out of bounds. */
       error_begin ();
-      printf_unfiltered ("Cannot access memory at address ");
-      print_address_numeric (memaddr, gdb_stdout);
-      printf_unfiltered (".\n");
+      printf_filtered ("Cannot access memory at address ");
+      print_address_numeric (memaddr, 1, gdb_stdout);
+      printf_filtered (".\n");
       return_to_top_level (RETURN_ERROR);
     }
   else
     {
       error_begin ();
-      printf_unfiltered ("Error accessing memory address ");
-      print_address_numeric (memaddr, gdb_stdout);
-      printf_unfiltered (": %s.\n",
+      printf_filtered ("Error accessing memory address ");
+      print_address_numeric (memaddr, 1, gdb_stdout);
+      printf_filtered (": %s.\n",
                         safe_strerror (status));
       return_to_top_level (RETURN_ERROR);
     }
This page took 0.023314 seconds and 4 git commands to generate.