From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24861 invoked by alias); 20 May 2009 23:07:26 -0000 Received: (qmail 24815 invoked by uid 22791); 20 May 2009 23:07:24 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 May 2009 23:07:18 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id AE4A52BABE9; Wed, 20 May 2009 19:07:16 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QiiiZiCrWXbC; Wed, 20 May 2009 19:07:16 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 7A57B2BAB94; Wed, 20 May 2009 19:07:16 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 20D29F5A08; Wed, 20 May 2009 23:39:53 +0200 (CEST) Date: Wed, 20 May 2009 23:07:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: [RFA] More problems with language in printing symbols Message-ID: <20090520213953.GA13846@adacore.com> References: <83d4a9q9e5.fsf@gnu.org> <83ab5dq67f.fsf@gnu.org> <833ab3r9g2.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <833ab3r9g2.fsf@gnu.org> User-Agent: Mutt/1.5.18 (2008-05-17) 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: 2009-05/txt/msg00440.txt.bz2 > Here's a patch that implements 2 ideas: it uses language_minimal for > the "_globals_" pseudo-file, Great minds think alike - I was going to suggest the same thing :-). > 2009-05-17 Eli Zaretskii > > * symmisc.c (dump_symtab): Switch the current language to > the language of the symtab we are dumping only if the symtab's > language is neither language_auto nor language_unknown. > > * coffread.c (coff_symtab_read): Set language_minimal as the > language for the "_globals_" pseudo-file. Both changes look OK to me. -- Joel