diff options
author | Mark Alexander <marka@cygnus> | 1999-01-22 17:15:21 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1999-01-22 17:15:21 +0000 |
commit | c5a3735edfaf2ba1a27309beb6da4a487b965410 (patch) | |
tree | 6d9f98bd552dba15b3bdd1b43e42fd635faf8e22 | |
parent | 95490429f9f00b7cc0cb6a9f38990357f069ccb9 (diff) | |
download | gdb-c5a3735edfaf2ba1a27309beb6da4a487b965410.zip gdb-c5a3735edfaf2ba1a27309beb6da4a487b965410.tar.gz gdb-c5a3735edfaf2ba1a27309beb6da4a487b965410.tar.bz2 |
Fix for PR 18873:
* remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
(common_breakpoint): Restore support for instruction breakpoints
on non-LSI targets.
-rw-r--r-- | gdb/remote-mips.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 769834a..c92f8b7 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -1514,7 +1514,7 @@ mips_initialize () /* 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 @@ -2801,6 +2801,9 @@ common_breakpoint (set, addr, len, type) case BREAK_ACCESS: /* read/write */ flags = "rw"; break; + case BREAK_FETCH: /* fetch */ + flags = "f"; + break; default: abort (); } |