From: Daniel Jacobowitz Date: Sun, 1 May 2005 23:16:46 +0000 (+0000) Subject: * gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5dbe23a34eba6933db1c79262b3955f60956f3e2;p=binutils-gdb.git * gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush cached frames when changing gdbarch. * gdbarch.c: Regenerated. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 26154194182..bc9d067f6f7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2005-05-01 Daniel Jacobowitz + + * gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush + cached frames when changing gdbarch. + * gdbarch.c: Regenerated. + 2005-05-01 Andrew Cagney * MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 8b137551a97..4aee6495f51 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -4241,6 +4241,7 @@ deprecated_current_gdbarch_select_hack (struct gdbarch *new_gdbarch) current_gdbarch_swap_out_hack (); current_gdbarch_swap_in_hack (new_gdbarch); architecture_changed_event (); + flush_cached_frames (); } extern void _initialize_gdbarch (void); diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 01195a4e163..774c6e27daf 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -2216,6 +2216,7 @@ deprecated_current_gdbarch_select_hack (struct gdbarch *new_gdbarch) current_gdbarch_swap_out_hack (); current_gdbarch_swap_in_hack (new_gdbarch); architecture_changed_event (); + flush_cached_frames (); } extern void _initialize_gdbarch (void);