From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16882 invoked by alias); 9 Jul 2003 14:20:46 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16862 invoked from network); 9 Jul 2003 14:20:45 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 9 Jul 2003 14:20:45 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h69EKjH22292 for ; Wed, 9 Jul 2003 10:20:45 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h69EKcS23164 for ; Wed, 9 Jul 2003 10:20:39 -0400 Received: from cygbert.vinschen.de (vpn50-7.rdu.redhat.com [172.16.50.7]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h69EKbK09969 for ; Wed, 9 Jul 2003 07:20:37 -0700 Received: by cygbert.vinschen.de (Postfix, from userid 500) id 0665B580A1; Wed, 9 Jul 2003 16:20:35 +0200 (CEST) Date: Wed, 09 Jul 2003 14:20:00 -0000 From: Corinna Vinschen To: gdb@sources.redhat.com Subject: Re: A matter of taste? Message-ID: <20030709142035.GR12368@cygbert.vinschen.de> Reply-To: gdb@sources.redhat.com Mail-Followup-To: gdb@sources.redhat.com References: <20030709135543.GO12368@cygbert.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-SW-Source: 2003-07/txt/msg00094.txt.bz2 On Wed, Jul 09, 2003 at 04:09:20PM +0200, Andreas Schwab wrote: > If you don't define REGISTER_RAW_SIZE then it is defined to > generic_register_size, which uses TYPE_LENGTH. Uh, I failed to notice that. The check for 0 pointer in gdbarch_deprecated_register_raw_size led me to believe that deprecated_register_raw_size is initialized to 0. Thanks, Corinna -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen@redhat.com