aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infptrace.c3
-rw-r--r--gdb/target.c5
3 files changed, 5 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 664aa63..91ff9fd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2004-06-09 Andrew Cagney <cagney@gnu.org>
+ * infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete
+ #ifdef CLEAR_INSN_CACHE code.
+ * target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]:
+ Delete #ifdef CLEAR_DEFERRED_STORES code.
+
* solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.
* config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index 28419d9..f40e6e9 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -606,9 +606,6 @@ child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
if (errno)
return 0;
}
-#ifdef CLEAR_INSN_CACHE
- CLEAR_INSN_CACHE ();
-#endif
}
else
{
diff --git a/gdb/target.c b/gdb/target.c
index 97ab6a8..75f81f3 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -1526,11 +1526,6 @@ generic_mourn_inferior (void)
breakpoint_init_inferior (inf_exited);
registers_changed ();
-#ifdef CLEAR_DEFERRED_STORES
- /* Delete any pending stores to the inferior... */
- CLEAR_DEFERRED_STORES;
-#endif
-
reopen_exec_file ();
reinit_frame_cache ();