]> Git Repo - binutils.git/blobdiff - gdb/config/mips/tm-idt.h
* Makefile.in (INTERNAL_CFLAGS): Add ENABLE_CFLAGS.
[binutils.git] / gdb / config / mips / tm-idt.h
index 1a5a4152362779c2bf2a201af9d2e6b028f6dd31..f3d2cc88686e013f488406c0e0d5787778239d6d 100644 (file)
@@ -14,12 +14,47 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+
+#define TARGET_BYTE_ORDER_SELECTABLE
 
 #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 DEFAULT_MIPS_TYPE
+#define DEFAULT_MIPS_TYPE "r3051"
+
+/* start-sanitize-gm */
+#ifdef GENERAL_MAGIC
+
+#include "tm-magic.h"          /* Include generic stuff */
+
+/* For some reason GM can't hack this... */
+
+#undef GET_LONGJMP_TARGET
+
+/* Watchpoint support */
+
+#define TARGET_HAS_HARDWARE_WATCHPOINTS
+
+#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \
+       (1 == 1)                /* We allow all types of hardware watchpoints */
+
+/* Use these macros for watchpoint insertion/deletion.  */
+/* type can be 0: write watch, 1: read watch, 2: access watch (read/write) */
+
+#define target_insert_watchpoint(addr, len, type) \
+       remote_mips_set_watchpoint (addr, len, type)
+
+#define target_remove_watchpoint(addr, len, type) \
+       remote_mips_remove_watchpoint (addr, len, type)
+
+/* We need to remove watchpoints when stepping, else we hit them again! */
+
+#define HAVE_NONSTEPPABLE_WATCHPOINT
+
+#define STOPPED_BY_WATCHPOINT(w) remote_mips_stopped_by_watchpoint ()
+
+#define FLUSH_CACHED_MEMORY() flush_cached_memory()
 
-#undef BREAKPOINT
-#define BREAKPOINT {0, 0, 0x0a, 0x0d}
+#endif /* GENERAL_MAGIC */
+/* end-sanitize-gm */
This page took 0.025691 seconds and 4 git commands to generate.