gdbserver: Use warning for warnings
[deliverable/binutils-gdb.git] / gdb / gdbserver / mem-break.c
index bee9c30bfc94327886d899df9ae9a9bb58cf94d9..147b4b62f739681da1ee694e291437b962a87e1f 100644 (file)
@@ -1284,8 +1284,7 @@ add_breakpoint_condition (struct gdb_breakpoint *bp, char **condition)
 
   if (cond == NULL)
     {
-      fprintf (stderr, "Condition evaluation failed. "
-              "Assuming unconditional.\n");
+      warning ("Condition evaluation failed. Assuming unconditional.");
       return 0;
     }
 
@@ -1384,8 +1383,7 @@ add_breakpoint_commands (struct gdb_breakpoint *bp, char **command,
 
   if (cmd == NULL)
     {
-      fprintf (stderr, "Command evaluation failed. "
-              "Disabling.\n");
+      warning ("Command evaluation failed. Disabling.");
       return 0;
     }
 
This page took 0.032904 seconds and 4 git commands to generate.