0.2.38-pre1 implements AVR instructions
[fw/sdcc] / sim / ucsim / s51.src / cmd_brk.cc
index 0602cd49a4d75c159cf044127a4d22394346c6bf..700b4d162049260d0f6e2e0d56cc46ca87ce104d 100644 (file)
@@ -192,16 +192,16 @@ cmd_brk_dele(char *cmd, class t_uc51 *uc, class cl_sim *sim)
 
   if ((id= strtok(NULL, delimiters)) == NULL)
     {
-      fprintf(sim->cmd_out(), "Event has not given.\n");
+      sim->cmd->printf("Event has not given.\n");
       return(DD_FALSE);
     }
   if ((s= strtok(NULL, delimiters)) == NULL)
-    fprintf(sim->cmd_out(), "Address has not given.\n");
+    sim->cmd->printf("Address has not given.\n");
   else
     {
       addr= (uint)strtol(s, NULL, 0);
       if (uc->ebrk_at(addr, id) == NULL)
-       fprintf(sim->cmd_out(), "No %s breakpoint at %06x\n", id, addr);
+       sim->cmd->printf("No %s breakpoint at %06x\n", id, addr);
       else
        uc->rm_ebrk(addr, id);
     }