From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24195 invoked by alias); 28 Jun 2010 23:55:23 -0000 Received: (qmail 24187 invoked by uid 22791); 28 Jun 2010 23:55:23 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Jun 2010 23:55:16 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5SNtFZB001290 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 28 Jun 2010 19:55:15 -0400 Received: from mesquite.lan (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5SNtEeT017335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 28 Jun 2010 19:55:14 -0400 Date: Mon, 28 Jun 2010 23:55:00 -0000 From: Kevin Buettner To: gdb-patches@sourceware.org Subject: Re: Should we be able to read simulator memory immediately after a "load" command? Message-ID: <20100628165514.5f408738@mesquite.lan> In-Reply-To: <4C29213C.8020308@vmware.com> References: <20100628130010.360f398d@mesquite.lan> <4C29213C.8020308@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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/msg00669.txt.bz2 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". Kevin