binutils-gdb/gdb/common
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
..
agent.c Introduce common/symbol.h 2014-09-11 11:43:21 +01:00
agent.h
ax.def
break-common.h
btrace-common.h Do not include defs.h or server.h in any header file 2014-07-31 13:25:01 +01:00
buffer.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
buffer.h Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
cleanups.c Move cleanups.[ch] to common 2014-08-29 10:53:35 +01:00
cleanups.h Move cleanups.[ch] to common 2014-08-29 10:53:35 +01:00
common-debug.c Introduce show_debug_regs 2014-09-11 11:19:56 +01:00
common-debug.h Introduce show_debug_regs 2014-09-11 11:19:56 +01:00
common-defs.h Introduce common-debug.h 2014-08-19 10:07:20 +01:00
common-exceptions.c Introduce common/common-exceptions.[ch] 2014-08-29 10:53:37 +01:00
common-exceptions.h Introduce common/common-exceptions.[ch] 2014-08-29 10:53:37 +01:00
common-regcache.h Introduce common-regcache.h 2014-09-12 10:11:42 +01:00
common-types.h Introduce common-types.h 2014-08-19 10:07:19 +01:00
common-utils.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
common-utils.h Introduce common/errors.h 2014-08-19 10:07:18 +01:00
common.m4 Introduce common/gdb_setjmp.h 2014-08-29 10:53:36 +01:00
create-version.sh
errors.c Move internal_{,v}warning to common/errors.[ch] 2014-08-29 10:53:35 +01:00
errors.h Move internal_{,v}warning to common/errors.[ch] 2014-08-29 10:53:35 +01:00
filestuff.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
filestuff.h
format.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
format.h
gdb_assert.h Move common-utils.h to common-defs.h 2014-08-07 09:06:44 +01:00
gdb_locale.h
gdb_setjmp.h Introduce common/gdb_setjmp.h 2014-08-29 10:53:36 +01:00
gdb_signals.h
gdb_vecs.c
gdb_vecs.h
gdb_wait.h
host-defs.h
print-utils.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
print-utils.h
ptid.c Make all source files include defs.h or server.h first 2014-07-30 09:22:48 +01:00
ptid.h Move ptid_match to common/ptid.c. 2014-02-27 14:30:07 +00:00
queue.h Include gdb_assert.h in common-defs.h 2014-08-07 09:06:45 +01:00
rsp-low.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
rsp-low.h
signals.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
symbol.h Introduce common/symbol.h 2014-09-11 11:43:21 +01:00
vec.c
vec.h Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
version.h
x86-xstate.h Rename 32- and 64-bit Intel files from "i386" to "x86" 2014-09-02 16:54:08 +01:00
xml-utils.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
xml-utils.h