* remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):

New functions.
	(mips_store_word): Change calling convention to return errors, and
	to provide old contents if the caller wants it.
	(mips_xfer_memory): Deal with errors from mips_store_word.
	* config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT
	define now that remote-mips.c doesn't use BREAKPOINT.
This commit is contained in:
Jim Kingdon
1994-02-05 20:30:35 +00:00
parent fa4beb7e8f
commit aa56c7161b
4 changed files with 91 additions and 27 deletions

View File

@ -17,9 +17,3 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "mips/tm-bigmips.h"
/* The IDT board uses an unusual breakpoint value, and sometimes gets
confused when it sees the usual MIPS breakpoint instruction. */
#undef BREAKPOINT
#define BREAKPOINT {0, 0, 0x0a, 0x0d}

View File

@ -17,9 +17,3 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "mips/tm-mips.h"
/* The IDT board uses an unusual breakpoint value, and sometimes gets
confused when it sees the usual MIPS breakpoint instruction. */
#undef BREAKPOINT
#define BREAKPOINT {0x0d, 0x0a, 0, 0}