Files
Gary Benson 361c8ade9c Introduce common-regcache.h
This introduces common-regcache.h.  This contains two functions that
allow nat/linux-btrace.c to be simplified.  A better long term
solution would be unify the regcache code, but this is sufficient for
now.

gdb/ChangeLog:

	* 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.

gdb/gdbserver/ChangeLog:

	* regcache.h: Include common-regcache.h.
	(regcache_read_pc): Don't declare.
	* regcache.c (get_thread_regcache_for_ptid): New function.
2014-09-12 10:11:42 +01:00
..
2014-09-11 11:43:21 +01:00
2014-08-07 09:06:47 +01:00
2014-08-07 09:06:47 +01:00
2014-08-29 10:53:35 +01:00
2014-08-29 10:53:35 +01:00
2014-09-11 11:19:56 +01:00
2014-09-11 11:19:56 +01:00
2014-08-19 10:07:20 +01:00
2014-09-12 10:11:42 +01:00
2014-08-19 10:07:19 +01:00
2014-08-19 10:07:18 +01:00
2014-08-29 10:53:36 +01:00
2014-08-07 09:06:47 +01:00
2014-08-07 09:06:47 +01:00
2014-08-29 10:53:36 +01:00
2014-01-17 10:23:29 -08:00
2014-01-17 10:23:29 -08:00
2014-02-12 09:59:13 -07:00
2014-02-27 14:30:07 +00:00
2014-08-07 09:06:45 +01:00
2014-08-07 09:06:47 +01:00
2014-02-12 09:59:20 -07:00
2014-08-07 09:06:47 +01:00
2014-09-11 11:43:21 +01:00
2014-08-07 09:06:47 +01:00
2014-08-07 09:06:47 +01:00