From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22501 invoked by alias); 13 Sep 2002 00:23:17 -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 22494 invoked from network); 13 Sep 2002 00:23:17 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 13 Sep 2002 00:23:17 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id RAA14678; Thu, 12 Sep 2002 17:12:07 -0700 (PDT) Message-ID: <3D812FF4.8BA9C266@redhat.com> Date: Thu, 12 Sep 2002 17:23:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com CC: jimb@redhat.com, drow@mvista.com Subject: crasher in C++ ABI code Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00226.txt.bz2 Attention, all you c++_abi_savvy folk... I found a crasher bug while running the gdb testsuite on a COFF toolchain. TYPE_VPTR_FIELDNO returned -1; I haven't looked into this mechanism, but I assume that's a mistake. When it was applied via value_field, of course it yielded a garbage value. So looking at coffread.c, I see that there are no references to vptr_fieldno nor vptr_basetype -- these fields are never initialized. I'm just wondering where to go from here. Is it possible to obtain these values from COFF? If not, perhaps their access methods should check for an invalid value? Michael