diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-05 20:30:35 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-05 20:30:35 +0000 |
commit | aa56c7161b34a22bb49ee424ebd42bafb0e72aa5 (patch) | |
tree | 0905a72350a60cffd3f89939f0a6fcbb86e8e61c /gdb/config/mips | |
parent | fa4beb7e8f23ce6812bc3541af52638da8d5d883 (diff) | |
download | gdb-aa56c7161b34a22bb49ee424ebd42bafb0e72aa5.zip gdb-aa56c7161b34a22bb49ee424ebd42bafb0e72aa5.tar.gz gdb-aa56c7161b34a22bb49ee424ebd42bafb0e72aa5.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r-- | gdb/config/mips/tm-idt.h | 6 | ||||
-rw-r--r-- | gdb/config/mips/tm-idtl.h | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/gdb/config/mips/tm-idt.h b/gdb/config/mips/tm-idt.h index 1a5a415..bb4697d 100644 --- a/gdb/config/mips/tm-idt.h +++ b/gdb/config/mips/tm-idt.h @@ -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} diff --git a/gdb/config/mips/tm-idtl.h b/gdb/config/mips/tm-idtl.h index 632495d..3410bca 100644 --- a/gdb/config/mips/tm-idtl.h +++ b/gdb/config/mips/tm-idtl.h @@ -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} |