From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25089 invoked by alias); 27 Jan 2004 15:38:31 -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 25065 invoked from network); 27 Jan 2004 15:38:30 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 27 Jan 2004 15:38:30 -0000 Received: by zenia.home (Postfix, from userid 5433) id 944A1207A3; Tue, 27 Jan 2004 10:38:23 -0500 (EST) To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: handle zero-length types in value_from_register References: <40166B2D.9080506@gnu.org> From: Jim Blandy Date: Tue, 27 Jan 2004 15:38:00 -0000 In-Reply-To: <40166B2D.9080506@gnu.org> 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-01/txt/msg00696.txt.bz2 Andrew Cagney writes: > > 2004-01-27 Jim Blandy > > * findvar.c (value_from_register): If the type has no length, > > just > > return an acceptable value --- don't report an internal error. > > > This looks to need a test case. I tried to put one together, but the bug only occurs when the zero-length value is allocated to a register. I couldn't find any way to make that happen at all. So the only known instance of this bug depends on bad debug info.