+2012-05-15 Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint.c (init_breakpoint_sal): Add quotes around part
+ of command in two error message.
+
2012-05-15 Joel Brobecker <brobecker@adacore.com>
* breakpoint.c (init_breakpoint_sal): Remove trailing spaces.
char *arg = b->cond_string;
loc->cond = parse_exp_1 (&arg, block_for_pc (loc->address), 0);
if (*arg)
- error (_("Garbage %s follows condition"), arg);
+ error (_("Garbage '%s' follows condition"), arg);
}
/* Dynamic printf requires and uses additional arguments on the
error (_("Format string required"));
}
else if (b->extra_string)
- error (_("Garbage %s at end of command"), b->extra_string);
+ error (_("Garbage '%s' at end of command"), b->extra_string);
}
b->display_canonical = display_canonical;