This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Delete #ifdef CLEAR_INSN_CACHE and CLEAR_DEFERRED_STORES
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 09 Jun 2004 16:10:26 -0400
- Subject: [ob] Delete #ifdef CLEAR_INSN_CACHE and CLEAR_DEFERRED_STORES
Neither is defined,
committed,
Andrew
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.
Index: infptrace.c
===================================================================
RCS file: /cvs/src/src/gdb/infptrace.c,v
retrieving revision 1.30
diff -p -u -r1.30 infptrace.c
--- infptrace.c 8 Jun 2004 19:58:11 -0000 1.30
+++ infptrace.c 9 Jun 2004 20:07:49 -0000
@@ -606,9 +606,6 @@ child_xfer_memory (CORE_ADDR memaddr, ch
if (errno)
return 0;
}
-#ifdef CLEAR_INSN_CACHE
- CLEAR_INSN_CACHE ();
-#endif
}
else
{
Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.74
diff -p -u -r1.74 target.c
--- target.c 25 May 2004 14:58:31 -0000 1.74
+++ target.c 9 Jun 2004 20:07:49 -0000
@@ -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 ();