From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21137 invoked by alias); 22 Dec 2005 04:56:59 -0000 Received: (qmail 21129 invoked by uid 22791); 22 Dec 2005 04:56:58 -0000 X-Spam-Check-By: sourceware.org Received: from ausmtp03.au.ibm.com (HELO ausmtp03.au.ibm.com) (202.81.18.151) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 22 Dec 2005 04:56:57 +0000 Received: from sd0112e0.au.ibm.com (d23rh903.au.ibm.com [202.81.18.201]) by ausmtp03.au.ibm.com (8.12.10/8.12.10) with ESMTP id jBM501Hd049618 for ; Thu, 22 Dec 2005 16:00:06 +1100 Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.250.242]) by sd0112e0.au.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id jBM4xoeK174856 for ; Thu, 22 Dec 2005 15:59:50 +1100 Received: from d23av01.au.ibm.com (loopback [127.0.0.1]) by d23av01.au.ibm.com (8.12.11/8.13.3) with ESMTP id jBM4uk30001343 for ; Thu, 22 Dec 2005 15:56:46 +1100 Received: from [9.181.133.187] ([9.181.133.187]) by d23av01.au.ibm.com (8.12.11/8.12.11) with ESMTP id jBM4ughK001273; Thu, 22 Dec 2005 15:56:44 +1100 Date: Thu, 22 Dec 2005 16:10:00 -0000 From: Wu Zhou To: ezannoni@redhat.com cc: gdb-patches@sources.redhat.com, drow@false.org, manjo@austin.ibm.com Subject: [Patch Ping]: Dont skip DW_TAG_member in load_partial_dies Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00260.txt.bz2 Hi Elena, I am now taking over some of Manoj's work on GDB. He ever sent a patch to not skip DW_TAG_member in load_partial_dies. The url is: http://sourceware.org/ml/gdb-patches/2005-02/msg00152.html What is the status of this patch? Do you have chance to review this? I also noticed that Daniel also posted a patch in http://sourceware.org/ml/gdb-patches/2005-04/msg00066.html, which also include this one. That patch involve a little more situation. But this patch (attached below) is just one line one. So I am thinking of that it might be easier to review this one, right? Very happy to know what you are thinking of this patch. Thanks a lot! 2005-02-15 Manoj Iyer * dwarf2read.c (load_partial_dies): Save DIE with tag DW_TAG_member, generated by XLC when compiling C++ application. diff -Naur ./old/src/gdb/dwarf2read.c ./new/src/gdb/dwarf2read.c --- ./old/src/gdb/dwarf2read.c 2005-02-15 11:13:05.000000000 -0600 +++ ./new/src/gdb/dwarf2read.c 2005-02-22 10:24:08.000000000 -0600 @@ -5167,7 +5167,8 @@ && abbrev->tag != DW_TAG_enumerator && abbrev->tag != DW_TAG_subprogram && abbrev->tag != DW_TAG_variable - && abbrev->tag != DW_TAG_namespace) + && abbrev->tag != DW_TAG_namespace + && abbrev->tag != DW_TAG_member) { /* Otherwise we skip to the next sibling, if any. */ info_ptr = skip_one_die (info_ptr + bytes_read, abbrev, cu); Regards - Wu Zhou