diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-02-27 01:07:42 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-02-27 01:07:42 +0000 |
commit | a5d9d57db1b0a4aaae2df815b405dd6201612a03 (patch) | |
tree | 1500b02379b5b8db735511ac4a0de20e83ba0de9 | |
parent | e25c958c9864171b373b9089b80c312f849cb7c1 (diff) | |
download | gdb-a5d9d57db1b0a4aaae2df815b405dd6201612a03.zip gdb-a5d9d57db1b0a4aaae2df815b405dd6201612a03.tar.gz gdb-a5d9d57db1b0a4aaae2df815b405dd6201612a03.tar.bz2 |
2008-02-26 Greg Law <glaw@undo-software.com>
* regcache.c (registers_changed): Call reinit_frame_cache.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/regcache.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5dba653..d9c1462 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-02-26 Greg Law <glaw@undo-software.com> + + * regcache.c (registers_changed): Call reinit_frame_cache. + 2008-02-26 Daniel Jacobowitz <dan@codesourcery.com> * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o. diff --git a/gdb/regcache.c b/gdb/regcache.c index 3e54c5f..85763c7 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -472,6 +472,9 @@ registers_changed (void) regcache_xfree (current_regcache); current_regcache = NULL; + /* Need to forget about any frames we have cached, too. */ + reinit_frame_cache (); + /* Force cleanup of any alloca areas if using C alloca instead of a builtin alloca. This particular call is used to clean up areas allocated by low level target code which may build up |