This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 10/15] Add target/target.h
- From: Tom Tromey <tromey at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 10 Jul 2014 11:50:15 -0600
- Subject: Re: [PATCH 10/15] Add target/target.h
- Authentication-results: sourceware.org; auth=none
- References: <1404902255-11101-1-git-send-email-gbenson at redhat dot com> <1404902255-11101-11-git-send-email-gbenson at redhat dot com>
>>>>> "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