From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8032 invoked by alias); 14 Aug 2007 03:02:47 -0000 Received: (qmail 7684 invoked by uid 22791); 14 Aug 2007 03:02:39 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 14 Aug 2007 03:02:35 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IKmfr-0004Yt-8o for gdb-patches@sources.redhat.com; Tue, 14 Aug 2007 05:02:27 +0200 Received: from 241-246.umostel.ru ([77.246.241.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Aug 2007 05:02:27 +0200 Received: from ghost by 241-246.umostel.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Aug 2007 05:02:27 +0200 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: [PATCH] varobj.c (cplus_describe_child): guard null (resubmit) Date: Tue, 14 Aug 2007 03:02:00 -0000 Message-ID: References: <18292.12.7.175.2.1187044963.squirrel@webmail.sonic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.4 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00274.txt.bz2 msnyder@sonic.net wrote: > Adapted from Vladimir's suggestion. The switch default > allows the pointer to be null at this point. As far as I'm concerned, this one is fine. Thanks, Volodya