2004-06-09 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Wed, 9 Jun 2004 20:09:42 +0000 (20:09 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 9 Jun 2004 20:09:42 +0000 (20:09 +0000)
* 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.

gdb/ChangeLog
gdb/infptrace.c
gdb/target.c

index 664aa634ca1557b32838372dffec84965e3a65b3..91ff9fd1654f8065fd82342e775eebd30ce7029c 100644 (file)
@@ -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
index 28419d97f043c4d9ba7ecf981934a08effd1817c..f40e6e97703905891437646dcfc3e6c7808c0a2e 100644 (file)
@@ -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
     {
index 97ab6a8bcdb02426c329fe6b48929d0d9a8fd2b4..75f81f3191ad64e80fa51224b9e7b0aa7a9d2e8e 100644 (file)
@@ -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 ();