aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
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 /gdb/gdbarch.c
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.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c1
1 files changed, 1 insertions, 0 deletions
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);