From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12211 invoked by alias); 5 Aug 2003 05:13:53 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12195 invoked from network); 5 Aug 2003 05:13:50 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 5 Aug 2003 05:13:50 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 182282B7F; Tue, 5 Aug 2003 01:13:49 -0400 (EDT) Message-ID: <3F2F3D0C.2070607@redhat.com> Date: Tue, 05 Aug 2003 05:13:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: RFC: Unpredictable register set operations References: <20030715220923.GA30513@nevyn.them.org> <3F14BC94.4070405@redhat.com> <20030716032118.GA13750@nevyn.them.org> <20030721164850.GA7494@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00056.txt.bz2 > This is a straight bug. The register cache should be marked as invalid >> > after the store. What puzzles me is why store.exp doesn't tickle this, >> > or is this a hangover from lval_register vs lval_reg_frame_relative? > >> >> Where's the invalidation supposed to happen presently? Perhaps I need >> to retest. > > > I don't know if we're talking about the same thing, but this definitely > doesn't happen now. I believe we invalidate the frame cache, not > the current regcache... try it, for example on a remote ARM target: > > set debug remote 1 > info registers > [see the g packet] > set $r0 = 2 > [see the G packet] > info registers > [from the cache, no packets on the wire] Sounds like it never did. It needs to though (the missing function target_changed). After a write, the target state should be flushed. Andrew