Re: [PATCH 10/15] Add target/target.h

Tom Tromey
2014-07-10T17:50:25Z

>>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:

Gary> This adds target/target.h. This file declares some functions that the
Gary> "common" code can use and that the clients must implement. It also
Gary> changes code in common to use these functions.

Gary> +/* See target/target.h. */
Gary> +
Gary> +int
Gary> +target_write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr, ssize_t len)

These comments refer to docs I never got around to writing... :

Gary> +extern int target_read_uint32 (CORE_ADDR memaddr, unsigned int *result);
Gary> +
Gary> +extern int target_write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr,
Gary> + ssize_t len);

Tom