From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19385 invoked by alias); 2 Nov 2010 02:16:47 -0000 Received: (qmail 19320 invoked by uid 22791); 2 Nov 2010 02:16:46 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.windriver.com (HELO mail.windriver.com) (147.11.1.11) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Nov 2010 02:16:35 +0000 Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id oA22GG3s003925; Mon, 1 Nov 2010 19:16:16 -0700 (PDT) Received: from ala-mail06.corp.ad.wrs.com ([147.11.57.147]) by ALA-MAIL03.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 1 Nov 2010 19:16:16 -0700 Received: from [128.224.158.168] ([128.224.158.168]) by ala-mail06.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 1 Nov 2010 19:16:15 -0700 Message-ID: <4CCF74A0.6050001@windriver.com> Date: Tue, 02 Nov 2010 02:16:00 -0000 From: "Liu, Lei" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10 MIME-Version: 1.0 To: Tom Tromey CC: gdb@sourceware.org Subject: Re: Looking up enum constant symbols from C++ base classes References: <4CCE89F7.10908@windriver.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00011.txt.bz2 On 2010年11月02日 03:12, Tom Tromey wrote: >>> I added some code in cp_lookup_symbol_nonlocal to make gdb look up symbols >>> from all base classes. It works fine. Is this a right fix? > > It might be, but we'd have to see the patch to be sure. > > Tom > Thanks Tom. I'll send my patch to gdb-patches. Lei