From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19992 invoked by alias); 5 Mar 2012 14:56:33 -0000 Received: (qmail 19982 invoked by uid 22791); 5 Mar 2012 14:56:32 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,TW_NV X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Mar 2012 14:56:19 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id C17E529004D; Mon, 5 Mar 2012 15:56:19 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iIVZNLPw+UTs; Mon, 5 Mar 2012 15:56:19 +0100 (CET) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id B06FF29004C; Mon, 5 Mar 2012 15:56:19 +0100 (CET) Subject: Re: FYI: fix build failure Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <87399nxfo1.fsf@fleche.redhat.com> Date: Mon, 05 Mar 2012 14:56:00 -0000 Cc: gdb-patches@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <3684C6F7-4FFA-4C1E-BC29-76355680F219@adacore.com> References: <87399nxfo1.fsf@fleche.redhat.com> To: Tom Tromey 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: 2012-03/txt/msg00137.txt.bz2 On Mar 5, 2012, at 3:53 PM, Tom Tromey wrote: > I'm checking this in. >=20 > I did a --enable-targets=3Dall build and got a build failure: >=20 > /home/tromey/gnu/archer/build/gdb/../../archer/gdb/ia64-vms-tdep.c:162: m= ultiple definition of `_initialize_ia64_hpux_tdep' > ia64-hpux-tdep.o:/home/tromey/gnu/archer/build/gdb/../../archer/gdb/ia64-= hpux-tdep.c:431: first defined here >=20 > The fix is to rename the VMS function, which seems obviously misnamed to > me. My fault. Sorry, I missed this renaming. Thank you for fixing it. Tristan. >=20 > Tom >=20 > 2012-03-05 Tom Tromey >=20 > * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from > _initialize_ia64_hpux_tdep. >=20 > diff --git a/gdb/ia64-vms-tdep.c b/gdb/ia64-vms-tdep.c > index 859c0b4..66920b1 100644 > --- a/gdb/ia64-vms-tdep.c > +++ b/gdb/ia64-vms-tdep.c > @@ -155,10 +155,10 @@ ia64_openvms_init_abi (struct gdbarch_info info, st= ruct gdbarch *gdbarch) > } >=20 > /* Provide a prototype to silence -Wmissing-prototypes. */ > -extern initialize_file_ftype _initialize_ia64_hpux_tdep; > +extern initialize_file_ftype _initialize_ia64_vms_tdep; >=20 > void > -_initialize_ia64_hpux_tdep (void) > +_initialize_ia64_vms_tdep (void) > { > gdbarch_register_osabi (bfd_arch_ia64, 0, GDB_OSABI_OPENVMS, > ia64_openvms_init_abi);