From 8a1bf479ce96c531ca840cb7bb8434cb413bf72e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 9 Jun 2004 20:09:42 +0000 Subject: [PATCH] 2004-06-09 Andrew Cagney * 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 | 5 +++++ gdb/infptrace.c | 3 --- gdb/target.c | 5 ----- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 664aa634ca1..91ff9fd1654 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2004-06-09 Andrew Cagney + * 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 28419d97f04..f40e6e97703 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 97ab6a8bcdb..75f81f3191a 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 (); -- 2.30.2