diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbarch.c | 1 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2615419..bc9d067 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2005-05-01 Daniel Jacobowitz <dan@codesourcery.com> + + * gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush + cached frames when changing gdbarch. + * gdbarch.c: Regenerated. + 2005-05-01 Andrew Cagney <cagney@gnu.org> * MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 8b13755..4aee649 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 01195a4..774c6e2 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); |