From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22508 invoked by alias); 5 Oct 2010 23:31:16 -0000 Received: (qmail 22497 invoked by uid 22791); 5 Oct 2010 23:31:14 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Oct 2010 23:31:10 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 7C89338001; Tue, 5 Oct 2010 16:31:06 -0700 (PDT) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost2.vmware.com (Postfix) with ESMTP id 742B88E620; Tue, 5 Oct 2010 16:31:06 -0700 (PDT) Message-ID: <4CABB53A.8000101@vmware.com> Date: Tue, 05 Oct 2010 23:31:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20100903) MIME-Version: 1.0 To: Matt Rice CC: "gdb-patches@sourceware.org" Subject: Re: disable objective-c stuff when theres no objective-c cu. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00063.txt.bz2 Matt Rice wrote: > this makes it so that a flag is set if either an objective-c > compilation unit is found, > or the user goes 'set language objective-c' in the case where debug > symbols are absent. > > 2010-10-05 Matt Rice > > * defs.h: Add comment. > * dwarf2read.c (set_cu_language): Notice that a language has been > seen. > * language.c (set_language): Ditto. > (mask_for_language, language_has_cu_loaded): New Functions. > (set_language_has_cu_loaded): Ditto. > * language.h: Declare new functions. > * linespec.c (decode_line_1): Don't lookup objective-c methods > unless objective-c has been seen. Hi Matt, Do you have a copyright assignment? Thanks, Michael