This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: [rfc] target_read_memory_partial in gdbtk-cmds.c
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ronald Hecht <ronald dot hecht at uni-rostock dot de>, insight at sourceware dot org, gdb-patches at sources dot redhat dot com
- Date: Fri, 18 Aug 2006 09:55:08 -0400
- Subject: Re: [rfc] target_read_memory_partial in gdbtk-cmds.c
- References: <44E58789.2030703@uni-rostock.de> <20060818132833.GB24799@nevyn.them.org>
On Fri, Aug 18, 2006 at 09:28:33AM -0400, Daniel Jacobowitz wrote:
> > Just replacing the function with target_read_memory compiles, but seems
> > not to work.
>
> I believe they have different return value conventions.
Oh, Vladimir discovered this separately last month. At the time there
wasn't a viable replacement function but now there is; I believe
it should use target_read (TARGET_OBJECT_MEMORY).
--
Daniel Jacobowitz
CodeSourcery