Change regcache list to be an hash map
[deliverable/binutils-gdb.git] / gdb / regcache.h
index 8d0c302ac3e559fa133769b8014f3c318d5c2b46..f8af38cf97fd86de7e267e222aeb02331b4a8d42 100644 (file)
 #define REGCACHE_H
 
 #include "gdbsupport/common-regcache.h"
+#include "gdbsupport/function-view.h"
 #include <forward_list>
 
 struct regcache;
 struct regset;
 struct gdbarch;
 struct address_space;
+class thread_info;
 
 extern struct regcache *get_current_regcache (void);
 extern struct regcache *get_thread_regcache (ptid_t ptid);
@@ -387,12 +389,9 @@ public:
    debug.  */
   void debug_print_register (const char *func, int regno);
 
-  static void regcache_thread_ptid_changed (ptid_t old_ptid, ptid_t new_ptid);
 protected:
   regcache (gdbarch *gdbarch, const address_space *aspace_);
 
-  static std::forward_list<regcache *> current_regcache;
-
 private:
 
   /* Helper function for transfer_regset.  Copies across a single register.  */
This page took 0.023499 seconds and 4 git commands to generate.