aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-05-01 23:16:46 +0000
committerDaniel Jacobowitz <drow@false.org>2005-05-01 23:16:46 +0000
commit5dbe23a34eba6933db1c79262b3955f60956f3e2 (patch)
tree9a88ad99d87541110f855d5f8ea38d45cf39bf65
parent87d088f521e334b82696ae4a60817df9b04fde95 (diff)
downloadgdb-5dbe23a34eba6933db1c79262b3955f60956f3e2.zip
gdb-5dbe23a34eba6933db1c79262b3955f60956f3e2.tar.gz
gdb-5dbe23a34eba6933db1c79262b3955f60956f3e2.tar.bz2
* gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush
cached frames when changing gdbarch. * gdbarch.c: Regenerated.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/gdbarch.c1
-rwxr-xr-xgdb/gdbarch.sh1
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);