aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/gdbarch.c3
-rwxr-xr-xgdb/gdbarch.sh3
3 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4d60a94..c67ade7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,12 @@
2008-08-21 Ulrich Weigand <uweigand@de.ibm.com>
+ * gdbarch.sh: Include "regcache.h" into gdbarch.c.
+ (deprecated_current_gdbarch_select_hack): Call registers_changed
+ instead of reinit_frame_cache.
+ * gdbarch.c: Regenerate.
+
+2008-08-21 Ulrich Weigand <uweigand@de.ibm.com>
+
* elfread.c (elf_symtab_read): Do not relocate thread-local symbols.
2008-08-21 Daniel Jacobowitz <dan@codesourcery.com>
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 504cb77..cfe8be1 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -48,6 +48,7 @@
#include "osabi.h"
#include "gdb_obstack.h"
#include "observer.h"
+#include "regcache.h"
/* Static function declarations */
@@ -3666,7 +3667,7 @@ deprecated_current_gdbarch_select_hack (struct gdbarch *new_gdbarch)
gdb_assert (new_gdbarch->initialized_p);
current_gdbarch = new_gdbarch;
observer_notify_architecture_changed (new_gdbarch);
- reinit_frame_cache ();
+ registers_changed ();
}
extern void _initialize_gdbarch (void);
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index a9fcd80..222751d 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -1137,6 +1137,7 @@ cat <<EOF
#include "osabi.h"
#include "gdb_obstack.h"
#include "observer.h"
+#include "regcache.h"
/* Static function declarations */
@@ -2022,7 +2023,7 @@ deprecated_current_gdbarch_select_hack (struct gdbarch *new_gdbarch)
gdb_assert (new_gdbarch->initialized_p);
current_gdbarch = new_gdbarch;
observer_notify_architecture_changed (new_gdbarch);
- reinit_frame_cache ();
+ registers_changed ();
}
extern void _initialize_gdbarch (void);