From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8602 invoked by alias); 7 Aug 2004 01:47:22 -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 8594 invoked from network); 7 Aug 2004 01:47:21 -0000 Received: from unknown (209.128.65.135) by sourceware.org with QMTP; 7 Aug 2004 01:47:21 -0000 Received: (qmail 19053 invoked by uid 10); 7 Aug 2004 01:47:21 -0000 Received: (qmail 18961 invoked by uid 500); 7 Aug 2004 01:47:12 -0000 From: Ian Lance Taylor To: Jim Blandy Cc: "Nathan J. Williams" , gdb-patches@sources.redhat.com Subject: Re: RFA: assert that target_fetch_registers did its job References: Date: Sat, 07 Aug 2004 01:47:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-08/txt/msg00191.txt.bz2 Jim Blandy writes: > Perhaps another option would be something like the below: it informs > users that things are not as they seem, and encourages developers to > fix up their targets. Comments? Aren't users going to wind up getting this error message approximately one gazillion times when doing debugging on a target which doesn't provide all the registers? I don't know if this is the right approach in general, but if it is I think it at least needs a static flag or something to only issue the error once per execution. I'm not sure this is the right approach because I don't see how to avoid the error, at least not with something like BSD KVM. The registers are in the target, but the values just aren't available. It's not like there is any way to fix that. Ian