* gdbarch.sh: Include "regcache.h" into gdbarch.c.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 22 Aug 2008 13:35:00 +0000 (13:35 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 22 Aug 2008 13:35:00 +0000 (13:35 +0000)
(deprecated_current_gdbarch_select_hack): Call registers_changed
instead of reinit_frame_cache.
* gdbarch.c: Regenerate.

gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.sh

index 4d60a94e107813f4cfd3f76d616b6ceae43ffe01..c67ade7fd6dcc32aecc8fb9c5ba7bf53349a4598 100644 (file)
@@ -1,3 +1,10 @@
+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.
index 504cb774f1c1fcea76075640c80345d8b8e44ac7..cfe8be1c49c5b542d05e5b495943689f3c61ad3d 100644 (file)
@@ -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);
index a9fcd80015a5b1c594a2fc8b1e323c8c256fafee..222751d2e355284451017213da5f8fd39adf2ac8 100755 (executable)
@@ -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);