From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13858 invoked by alias); 10 Jul 2002 15:29:29 -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 13851 invoked from network); 10 Jul 2002 15:29:29 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 10 Jul 2002 15:29:29 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 195F63CF5; Wed, 10 Jul 2002 11:29:26 -0400 (EDT) Message-ID: <3D2C52D5.1040904@ges.redhat.com> Date: Wed, 10 Jul 2002 09:05:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020613 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jim Blandy Cc: Daniel Berlin , gdb-patches@sources.redhat.com Subject: Re: [RFA]: dwarf2expr.[ch] References: <3D2A5D2C.5040506@ges.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00184.txt.bz2 > Andrew Cagney writes: > >> Is there also a way of implementing these objects such that they >> check, at compile time, a match between initialized members and those >> that require assignment? Perhaphs a memset(0) will be easiest. > > > What do you mean by "these objects"? > > Actually, that reminds me --- the function new_dwarf_expr_context is > supposed to initialize all the function pointer entries to things that > give an error message --- so that if the caller doesn't provide > something, but the expression requires it, you get an error. ``struct dwarf_expr_context'' and the like - you've addressed my concern. Andrew