From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25479 invoked by alias); 27 Jul 2007 13:07:39 -0000 Received: (qmail 25416 invoked by uid 22791); 27 Jul 2007 13:07:38 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 27 Jul 2007 13:07:35 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 79168982FA; Fri, 27 Jul 2007 13:07:34 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 26EC4982A4; Fri, 27 Jul 2007 13:07:33 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IEPXW-00075d-TP; Fri, 27 Jul 2007 09:07:30 -0400 Date: Fri, 27 Jul 2007 14:30:00 -0000 From: Daniel Jacobowitz To: Robert Norton Cc: Nick Roberts , gdb@sourceware.org Subject: Re: Segfault in varobj.c Message-ID: <20070727130730.GA27227@caradoc.them.org> Mail-Followup-To: Robert Norton , Nick Roberts , gdb@sourceware.org References: <18089.56395.938853.868975@kahikatea.snap.net.nz> <18089.57854.615639.287461@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00195.txt.bz2 On Fri, Jul 27, 2007 at 05:52:25AM -0700, Robert Norton wrote: > Breakpointing in c_type_of_child (now c_describe_child) we end up in the > default case of the switch because the parent has type code > TYPE_CODE_TYPEDEF, so could it be that the switch requires another case > to handle this situation? I'll see if I can come up with a minimal test > binary based on this. No, that won't happen any more. See get_value_type. -- Daniel Jacobowitz CodeSourcery