aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-09 20:09:42 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-09 20:09:42 +0000
commit8a1bf479ce96c531ca840cb7bb8434cb413bf72e (patch)
tree790f572dbc6625418723c79c4f7ab8c718dde69f /gdb
parent4b38d6f1a4136a0aa2492bcff772b64dd8ff234b (diff)
downloadgdb-8a1bf479ce96c531ca840cb7bb8434cb413bf72e.zip
gdb-8a1bf479ce96c531ca840cb7bb8434cb413bf72e.tar.gz
gdb-8a1bf479ce96c531ca840cb7bb8434cb413bf72e.tar.bz2
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.
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 ();