Introduce common-regcache.h
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 30112cb6ca8097fdcf88032241c9743f17ad1dfb..96d65ae92f5ce8dac1fa2cba7e25183091e6574a 100644 (file)
@@ -1,3 +1,15 @@
+2014-09-12  Tom Tromey  <tromey@redhat.com>
+           Gary Benson  <gbenson@redhat.com>
+
+       * common/common-regcache.h: New file.
+       * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
+       * regcache.h: Include common-regcache.h.
+       (regcache_read_pc): Don't declare.
+       * regcache.c (get_thread_regcache_for_ptid): New function.
+       * nat/linux-btrace.c: Don't include regcache.h.
+       Include common-regcache.h.
+       (perf_event_read_bts): Use get_thread_regcache_for_ptid.
+
 2014-09-11  Thomas Schwinge  <thomas@codesourcery.com>
 
        * regcache.h (struct regset): Declare.
This page took 0.024292 seconds and 4 git commands to generate.