From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3121 invoked by alias); 18 Aug 2006 13:55:19 -0000 Received: (qmail 3094 invoked by uid 22791); 18 Aug 2006 13:55:17 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 18 Aug 2006 13:55:12 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GE4oW-0006iC-VT; Fri, 18 Aug 2006 09:55:09 -0400 Date: Sat, 19 Aug 2006 07:48:00 -0000 From: Daniel Jacobowitz To: Ronald Hecht , insight@sourceware.org, gdb-patches@sources.redhat.com Subject: Re: [rfc] target_read_memory_partial in gdbtk-cmds.c Message-ID: <20060818135508.GA25763@nevyn.them.org> Mail-Followup-To: Ronald Hecht , insight@sourceware.org, gdb-patches@sources.redhat.com References: <44E58789.2030703@uni-rostock.de> <20060818132833.GB24799@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060818132833.GB24799@nevyn.them.org> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00126.txt.bz2 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