From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12925 invoked by alias); 15 Sep 2009 16:11:17 -0000 Received: (qmail 12912 invoked by uid 22791); 15 Sep 2009 16:11:15 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Sep 2009 16:11:12 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8FGAjLG009122; Tue, 15 Sep 2009 12:10:45 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8FGAfx8031176 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Sep 2009 12:10:44 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n8FGAehv024647; Tue, 15 Sep 2009 18:10:40 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id n8FGAcfF024646; Tue, 15 Sep 2009 18:10:38 +0200 Date: Tue, 15 Sep 2009 16:11:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: Eli Zaretskii , mark.kettenis@xs4all.nl, gdb-patches@sourceware.org, Tom Tromey Subject: Re: [patch] Fix warnings using gcc-4.5 HEAD Message-ID: <20090915161038.GA23952@host0.dyn.jankratochvil.net> References: <20090711082502.GA18801@host0.dyn.jankratochvil.net> <200907110836.n6B8a4Yn015392@brahms.sibelius.xs4all.nl> <20090711083928.GA30826@host0.dyn.jankratochvil.net> <837hyfy3fv.fsf@gnu.org> <20090711175937.GB18892@host0.dyn.jankratochvil.net> <20090908185119.GA10457@host0.dyn.jankratochvil.net> <20090910014821.GH20694@adacore.com> <20090910072815.GA19270@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090910072815.GA19270@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.19 (2009-01-05) 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: 2009-09/txt/msg00485.txt.bz2 Hi all, Checked-in: http://sourceware.org/ml/gdb-cvs/2009-09/msg00080.html gdb/ Fix gcc-4.5 HEAD warnings for enum ada_operator. * Makefile.in (HFILES_NO_SRCDIR): Add ada-operator.inc. * ada-lang.h (enum ada_operator): Move it to ... * ada-operator.inc: ... a new file. * expression.h (enum exp_opcode): Include ada-operator.inc. New element OP_UNUSED_LAST. Update comment for OP_EXTENDED0. gdb/ Fix gcc-4.5 HEAD warnings for GDB_FORM_cached_string. * dwarf2read.c (GDB_FORM_cached_string) (dwarf_form_name ): Remove. (struct attribute ): Reduce the bit width. (struct attribute , DW_STRING_IS_CANONICAL): New. (read_attribute_value ) (read_attribute_value ): Initialize DW_STRING_IS_CANONICAL. (dwarf2_name, dump_die_shallow ) (dump_die_shallow ): Update the code using former GDB_FORM_cached_string. Thanks, Jan