From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20167 invoked by alias); 6 Aug 2004 20:50:58 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20157 invoked from network); 6 Aug 2004 20:50:57 -0000 Received: from unknown (HELO biscayne-one-station.mit.edu) (18.7.7.80) by sourceware.org with SMTP; 6 Aug 2004 20:50:57 -0000 Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id i76KouRU006988; Fri, 6 Aug 2004 16:50:56 -0400 (EDT) Received: from contents-vnder-pressvre.mit.edu (CONTENTS-VNDER-PRESSVRE.MIT.EDU [18.7.16.67]) (authenticated bits=56) (User authenticated as nathanw@ATHENA.MIT.EDU) by melbourne-city-street.mit.edu (8.12.4/8.12.4) with ESMTP id i76KouOn001459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 6 Aug 2004 16:50:56 -0400 (EDT) Received: (from nathanw@localhost) by contents-vnder-pressvre.mit.edu (8.12.9) id i76KouCO014970; Fri, 6 Aug 2004 16:50:56 -0400 (EDT) To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: assert that target_fetch_registers did its job References: From: "Nathan J. Williams" Organization: Wasabi Systems, Inc. Date: Fri, 06 Aug 2004 20:50:00 -0000 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-08/txt/msg00176.txt.bz2 Jim Blandy writes: > Does anyone see anything wrong with this? Should it be an error, or a > warning, instead of an internal error? It seems to me that the error > should be furnished by the target-specific code; if > target_fetch_registers returns silently, it should have done its job. I noticed that "info reg" tripped over this with the BSD KVM target, because the KVM backend only loads in the registers that are present in the PCB. Should the KVM backend be zeroing out everything else explicitly (is there a regcache call to do the wipe for us)? - Nathan