aboutsummaryrefslogtreecommitdiff
path: root/gdb/delta68-nat.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1998-02-10 20:14:43 +0000
committerJason Molenda <jmolenda@apple.com>1998-02-10 20:14:43 +0000
commit75a1d67abb5453f79f8494c8b8c882b624a4c1b9 (patch)
treeda883f1d80854f37f5200b9892abc55dcdbefc79 /gdb/delta68-nat.c
parent7d620e23edea10dc24f60abefc3cca51ede5c0b2 (diff)
downloadgdb-75a1d67abb5453f79f8494c8b8c882b624a4c1b9.zip
gdb-75a1d67abb5453f79f8494c8b8c882b624a4c1b9.tar.gz
gdb-75a1d67abb5453f79f8494c8b8c882b624a4c1b9.tar.bz2
Mon Feb 10 12:37:47 1998 Philippe De Muyter <phdm@macqel.be>
* m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for `REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not `REGISTER_VIRTUAL_TYPE (FP0_REGNUM)'; (STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes' is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'. (FRAME_NUM_ARGS): New macro. * m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto. * delta68-nat.c (clear_insn_cache): New function, forgotten in previous patch.
Diffstat (limited to 'gdb/delta68-nat.c')
-rw-r--r--gdb/delta68-nat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/delta68-nat.c b/gdb/delta68-nat.c
index c62e1d7..2874edd 100644
--- a/gdb/delta68-nat.c
+++ b/gdb/delta68-nat.c
@@ -77,3 +77,10 @@ _initialize_delta68_nat ()
exit (1);
}
}
+
+clear_insn_cache ()
+{
+#ifdef MCT_TEXT /* in sys/signal.h on sysV68 R3V7.1 */
+ memctl(0, 4096, MCT_TEXT);
+#endif
+}