binutils-gdb/gdb/common
Gary Benson 721ec300e1 Introduce target/target.h
This introduces target/target.h.  This file declares some functions
that the shared code can use and that clients must implement.  It also
changes some shared code to use these functions.

gdb/ChangeLog:

	* target/target.h: New file.
	* Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
	* target.h: Include target/target.h.
	(target_read_memory, target_write_memory): Don't declare.
	* target.c (target_read_uint32): New function.
	* common/agent.c: Include target/target.h.
	[!GDBSERVER]: Don't include target.h.
	(helper_thread_id): Type changed to uint32_t.
	(agent_get_helper_thread_id): Use target_read_uint32.
	(agent_run_command): Always use target_read_memory and
	target_write_memory.
	(agent_capability): Type changed to uint32_t.
	(agent_capability_check): Use target_read_uint32.

gdb/gdbserver/ChangeLog:

	* target.h: Include target/target.h.
	* target.c (target_read_memory, target_read_uint32)
	(target_write_memory): New functions.
2014-09-11 11:19:56 +01:00
..
agent.c Introduce target/target.h 2014-09-11 11:19:56 +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-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
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
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