From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26264 invoked by alias); 28 Jun 2010 23:57:03 -0000 Received: (qmail 26256 invoked by uid 22791); 28 Jun 2010 23:57:02 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Jun 2010 23:56:58 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 183D11308E; Mon, 28 Jun 2010 16:56:57 -0700 (PDT) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost2.vmware.com (Postfix) with ESMTP id 0D2588E6F8; Mon, 28 Jun 2010 16:56:57 -0700 (PDT) Message-ID: <4C2936C8.8010002@vmware.com> Date: Mon, 28 Jun 2010 23:57:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: Kevin Buettner CC: "gdb-patches@sourceware.org" Subject: Re: Should we be able to read simulator memory immediately after a "load" command? References: <20100628130010.360f398d@mesquite.lan> <4C29213C.8020308@vmware.com> <20100628165514.5f408738@mesquite.lan> In-Reply-To: <20100628165514.5f408738@mesquite.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-06/txt/msg00670.txt.bz2 Kevin Buettner wrote: > On Mon, 28 Jun 2010 15:25:00 -0700 > Michael Snyder wrote: > >> Hmm, should we substitute "target_has_memory"? >> >> Is that set to TRUE after a load? > > If default_child_has_memory() is used, which is currently the case for > the remote-sim target, it will not return TRUE after a "load", but > before a "run". Hmmm. That sucks. ;-)