From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16630 invoked by alias); 10 Feb 2012 13:21:25 -0000 Received: (qmail 16623 invoked by uid 22791); 10 Feb 2012 13:21:24 -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; Fri, 10 Feb 2012 13:21:07 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id AC304290009; Fri, 10 Feb 2012 14:21:06 +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 a6z6yKRSHNX2; Fri, 10 Feb 2012 14:21:06 +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 99B38290001; Fri, 10 Feb 2012 14:21:06 +0100 (CET) Subject: RFA: New port: ia64-hp-openvms (1/3) - new osabi Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=windows-1252 From: Tristan Gingold In-Reply-To: <6AD2487F-8409-4F4E-93A6-9DB7FD195E71@adacore.com> Date: Fri, 10 Feb 2012 13:21:00 -0000 Cc: Rupp Douglas Content-Transfer-Encoding: quoted-printable Message-Id: <190A7167-B038-4EC0-82FD-815B306B4975@adacore.com> References: <6AD2487F-8409-4F4E-93A6-9DB7FD195E71@adacore.com> To: "gdb-patches@sourceware.org ml" 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-02/txt/msg00178.txt.bz2 OpenVMS has its own ABI=85 Tristan. 2012-02-10 Tristan Gingold * osabi.c (gdb_osabi_names): Add OpenVMS. (generic_elf_osabi_sniffer): Likewise. * defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS. diff --git a/gdb/defs.h b/gdb/defs.h index a97487a..1075111 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -948,6 +948,7 @@ enum gdb_osabi GDB_OSABI_DICOS, GDB_OSABI_DARWIN, GDB_OSABI_SYMBIAN, + GDB_OSABI_OPENVMS, =20 GDB_OSABI_INVALID /* keep this last */ }; diff --git a/gdb/osabi.c b/gdb/osabi.c index aba9842..faffe30 100644 --- a/gdb/osabi.c +++ b/gdb/osabi.c @@ -72,6 +72,7 @@ static const char * const gdb_osabi_names[] =3D "DICOS", "Darwin", "Symbian", + "OpenVMS", =20 "" }; @@ -549,6 +550,10 @@ generic_elf_osabi_sniffer (bfd *abfd) generic_elf_osabi_sniff_abi_tag_sections, &osabi); break; + + case ELFOSABI_OPENVMS: + osabi =3D GDB_OSABI_OPENVMS; + break; } =20 if (osabi =3D=3D GDB_OSABI_UNKNOWN)