* remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
(common_breakpoint): Restore support for instruction breakpoints
on non-LSI targets.
/* Clear all breakpoints: */
if ((mips_monitor == MON_IDT
- && clear_breakpoint (BREAK_UNUSED, -1, 0) == 0)
+ && clear_breakpoint (-1, 0, BREAK_UNUSED) == 0)
|| mips_monitor == MON_LSI)
monitor_supports_breakpoints = 1;
else
case BREAK_ACCESS: /* read/write */
flags = "rw";
break;
+ case BREAK_FETCH: /* fetch */
+ flags = "f";
+ break;
default:
abort ();
}