From patchwork Sun Oct 27 20:07:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Burgess X-Patchwork-Id: 99684 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DECC83858415 for ; Sun, 27 Oct 2024 20:08:32 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 525223858C41 for ; Sun, 27 Oct 2024 20:07:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 525223858C41 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 525223858C41 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730059675; cv=none; b=UOl0Xr0e2PFiuFfwIkQIdpheuV34VFcWnd9KGTxqecRLYYke4vqLGCotKkN1XpwyNTWDk4pR28WftwwKfuGJPbi7e0XG3kIUZt3CJv7oE8e77+0b6eKcJRBoeMtmhINJQIGqunsCnVyvPKompfDgZ5wXfrXwzZGr9tGlVmnWWBY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730059675; c=relaxed/simple; bh=vP/8K5BHuQHnR3PPPhiVpZuMKYJ5O5vNCDw5mEnNK/A=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=Y98YnFs4PGesVA7vsBrMtN31L+F490SbCeX+U6/WUIYAyj6qZRJIyfiEQC9J4ZQhSp8FPpN9VHXtPVaAJs2YZLhAIJrilNqysrbzKhm8IBrxoJ4WXlxfC6sDG1AO2O5GbZuwToT9rY0LU0OXAxDuqsb9rVikoeXvHpoZi/dFah0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730059672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Q/q21s9/al7yiO5t3jNNY/NKO+wlxtT75jlQ/S4+J24=; b=AxMiWqsoZT2d0dLI2As/4m5D6w3bg+pI82sIPhAWe2nSafuBa/dAAp0d28y3XgJVqCyJCY oZoAT4Vj4bumGeVqklRFX4YKEctK9uOobUc2qHR9GnpWm7/khdIYvkzzIUHWEJ1dcPUqn/ I7K7i0vAhMc98Q/RrIOzkfoCfTLiHM4= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-12-ERiDdxRQMWWtTUk4l3ygMA-1; Sun, 27 Oct 2024 16:07:50 -0400 X-MC-Unique: ERiDdxRQMWWtTUk4l3ygMA-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-43151a9ea95so23575715e9.1 for ; Sun, 27 Oct 2024 13:07:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730059668; x=1730664468; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q/q21s9/al7yiO5t3jNNY/NKO+wlxtT75jlQ/S4+J24=; b=ChIqj2vEmXmh4ceIIUxWa6cQ1Vkx95aqXg4ZRs+6viyAze8+EHkkksJl0vtTJDgVdb VmgDKQkbTssxYHDgJwg/MloCq31R3Ix4bsdDxWR/OUes8vEX+Je2K6kEY4OdGB/l3r3i B9eRbA4VCo50A4xJB2dV67nS1NL00UMsQ8YGg+2t4vaxlyp9d5YSJnbgwkJZyjpzioeU cyQw0QEgjd8WBQOq3i8zvxSlrvXIJkagsch7xQfhohugWaMfN3ZzRE8gTc4V7kEQo15/ 72bFpxngYLYzU066zgG9nLSuivvr3eaUawSL/CgwiDcwMJm6T+p4Vttwko4cLkpuo6um CI0A== X-Gm-Message-State: AOJu0YxHiiZbFZmo78YtZt7NiS8QdiplvxwBr1gaqmh9lPhfGcv1CqX5 BEAF+FlciCUwTqhUzJqmzg5ioQMKWiyfSE1zpqmj7th3csIHWfJvpMKLYDeeGtIljCppwmJDHU+ wJWQeusbacrMk+TR/go0xi99O/mDY/OCR1xjlSWEmlYEXyU/q+FdK9XBl4nsYbxkLsONt8OeuHg Mbd26zD74JVwjsGzX45NNGRL2QzuK/Fa5x4A6uFl9K1QQ= X-Received: by 2002:a05:600c:35cd:b0:431:52da:9d89 with SMTP id 5b1f17b1804b1-4319a55f003mr45970615e9.1.1730059668107; Sun, 27 Oct 2024 13:07:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF8pG3Bl6N5gB8T0fdk2ovHaOjS2UJoCU5x3l4BnZfnxVVgRKq5KLFGVz3VPiynm47DAe403A== X-Received: by 2002:a05:600c:35cd:b0:431:52da:9d89 with SMTP id 5b1f17b1804b1-4319a55f003mr45970455e9.1.1730059667409; Sun, 27 Oct 2024 13:07:47 -0700 (PDT) Received: from localhost (197.209.200.146.dyn.plus.net. [146.200.209.197]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4318b57a1a4sm115374735e9.41.2024.10.27.13.07.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2024 13:07:45 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PATCHv5 1/3] gdb/features: set osabi in all Linux related features/*.xml files Date: Sun, 27 Oct 2024 20:07:40 +0000 Message-Id: <5ae0586f15def7f48516494b3529824cc552b839.1730059609.git.aburgess@redhat.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: References: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org Some of the top level (i.e. those that contain the element) xml files in gdb/features/ are clearly Linux only. I conclude this based on the files names containing the string "linux". I think that all of these files should have the element included with the value "GNU/Linux". This commits adds the element where I believe it is appropriate and regenerates the associated .c files. The benefit of this change is that gdbserver, which makes use of these files, will now send the osabi back in more cases. Sending back more descriptive target descriptions is a good thing as this makes it easier for GDB to select the correct gdbarch. --- gdb/features/mips64-dsp-linux.c | 2 ++ gdb/features/mips64-dsp-linux.xml | 1 + gdb/features/mips64-linux.c | 2 ++ gdb/features/mips64-linux.xml | 1 + gdb/features/s390-gs-linux64.c | 2 ++ gdb/features/s390-gs-linux64.xml | 1 + gdb/features/s390-linux32.c | 2 ++ gdb/features/s390-linux32.xml | 1 + gdb/features/s390-linux32v1.c | 2 ++ gdb/features/s390-linux32v1.xml | 1 + gdb/features/s390-linux32v2.c | 2 ++ gdb/features/s390-linux32v2.xml | 1 + gdb/features/s390-linux64.c | 2 ++ gdb/features/s390-linux64.xml | 1 + gdb/features/s390-linux64v1.c | 2 ++ gdb/features/s390-linux64v1.xml | 1 + gdb/features/s390-linux64v2.c | 2 ++ gdb/features/s390-linux64v2.xml | 1 + gdb/features/s390-te-linux64.c | 2 ++ gdb/features/s390-te-linux64.xml | 1 + gdb/features/s390-tevx-linux64.c | 2 ++ gdb/features/s390-tevx-linux64.xml | 1 + gdb/features/s390-vx-linux64.c | 2 ++ gdb/features/s390-vx-linux64.xml | 1 + gdb/features/s390x-gs-linux64.c | 2 ++ gdb/features/s390x-gs-linux64.xml | 1 + gdb/features/s390x-linux64.c | 2 ++ gdb/features/s390x-linux64.xml | 1 + gdb/features/s390x-linux64v1.c | 2 ++ gdb/features/s390x-linux64v1.xml | 1 + gdb/features/s390x-linux64v2.c | 2 ++ gdb/features/s390x-linux64v2.xml | 1 + gdb/features/s390x-te-linux64.c | 2 ++ gdb/features/s390x-te-linux64.xml | 1 + gdb/features/s390x-tevx-linux64.c | 2 ++ gdb/features/s390x-tevx-linux64.xml | 1 + gdb/features/s390x-vx-linux64.c | 2 ++ gdb/features/s390x-vx-linux64.xml | 1 + 38 files changed, 57 insertions(+) diff --git a/gdb/features/mips64-dsp-linux.c b/gdb/features/mips64-dsp-linux.c index 7ea0bb704f4..646f5487f49 100644 --- a/gdb/features/mips64-dsp-linux.c +++ b/gdb/features/mips64-dsp-linux.c @@ -11,6 +11,8 @@ initialize_tdesc_mips64_dsp_linux (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("mips")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.mips.cpu"); diff --git a/gdb/features/mips64-dsp-linux.xml b/gdb/features/mips64-dsp-linux.xml index 69518e496c4..6c108555490 100644 --- a/gdb/features/mips64-dsp-linux.xml +++ b/gdb/features/mips64-dsp-linux.xml @@ -8,6 +8,7 @@ mips + GNU/Linux diff --git a/gdb/features/mips64-linux.c b/gdb/features/mips64-linux.c index f4dcf8bc109..98b3d34448d 100644 --- a/gdb/features/mips64-linux.c +++ b/gdb/features/mips64-linux.c @@ -11,6 +11,8 @@ initialize_tdesc_mips64_linux (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("mips")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.mips.cpu"); diff --git a/gdb/features/mips64-linux.xml b/gdb/features/mips64-linux.xml index 4c99206b5bd..f861982a8e9 100644 --- a/gdb/features/mips64-linux.xml +++ b/gdb/features/mips64-linux.xml @@ -8,6 +8,7 @@ mips + GNU/Linux diff --git a/gdb/features/s390-gs-linux64.c b/gdb/features/s390-gs-linux64.c index 49ea08b2c39..ab6ad6f21e3 100644 --- a/gdb/features/s390-gs-linux64.c +++ b/gdb/features/s390-gs-linux64.c @@ -11,6 +11,8 @@ initialize_tdesc_s390_gs_linux64 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:31-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390-gs-linux64.xml b/gdb/features/s390-gs-linux64.xml index 035e794643d..e33e8a42f6b 100644 --- a/gdb/features/s390-gs-linux64.xml +++ b/gdb/features/s390-gs-linux64.xml @@ -11,6 +11,7 @@ s390:31-bit + GNU/Linux diff --git a/gdb/features/s390-linux32.c b/gdb/features/s390-linux32.c index 43ceb9c008e..e45321a2099 100644 --- a/gdb/features/s390-linux32.c +++ b/gdb/features/s390-linux32.c @@ -11,6 +11,8 @@ initialize_tdesc_s390_linux32 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:31-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390-linux32.xml b/gdb/features/s390-linux32.xml index 4225e5cb120..6a51c21d07c 100644 --- a/gdb/features/s390-linux32.xml +++ b/gdb/features/s390-linux32.xml @@ -11,6 +11,7 @@ s390:31-bit + GNU/Linux diff --git a/gdb/features/s390-linux32v1.c b/gdb/features/s390-linux32v1.c index 291784fdac7..cea14c16969 100644 --- a/gdb/features/s390-linux32v1.c +++ b/gdb/features/s390-linux32v1.c @@ -11,6 +11,8 @@ initialize_tdesc_s390_linux32v1 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:31-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390-linux32v1.xml b/gdb/features/s390-linux32v1.xml index 60f8ab650ea..63780765f98 100644 --- a/gdb/features/s390-linux32v1.xml +++ b/gdb/features/s390-linux32v1.xml @@ -11,6 +11,7 @@ s390:31-bit + GNU/Linux diff --git a/gdb/features/s390-linux32v2.c b/gdb/features/s390-linux32v2.c index 6fa26daa537..182ab2f0b60 100644 --- a/gdb/features/s390-linux32v2.c +++ b/gdb/features/s390-linux32v2.c @@ -11,6 +11,8 @@ initialize_tdesc_s390_linux32v2 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:31-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390-linux32v2.xml b/gdb/features/s390-linux32v2.xml index 58b1478ee4f..0646ce3f2e0 100644 --- a/gdb/features/s390-linux32v2.xml +++ b/gdb/features/s390-linux32v2.xml @@ -11,6 +11,7 @@ s390:31-bit + GNU/Linux diff --git a/gdb/features/s390-linux64.c b/gdb/features/s390-linux64.c index 74c338c1fa6..8bcec095174 100644 --- a/gdb/features/s390-linux64.c +++ b/gdb/features/s390-linux64.c @@ -11,6 +11,8 @@ initialize_tdesc_s390_linux64 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:31-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390-linux64.xml b/gdb/features/s390-linux64.xml index dcd50296983..e8d8f03eae7 100644 --- a/gdb/features/s390-linux64.xml +++ b/gdb/features/s390-linux64.xml @@ -11,6 +11,7 @@ s390:31-bit + GNU/Linux diff --git a/gdb/features/s390-linux64v1.c b/gdb/features/s390-linux64v1.c index 0aebbdb6b7a..3a6394b513d 100644 --- a/gdb/features/s390-linux64v1.c +++ b/gdb/features/s390-linux64v1.c @@ -11,6 +11,8 @@ initialize_tdesc_s390_linux64v1 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:31-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390-linux64v1.xml b/gdb/features/s390-linux64v1.xml index a849e793acd..fc63a165236 100644 --- a/gdb/features/s390-linux64v1.xml +++ b/gdb/features/s390-linux64v1.xml @@ -11,6 +11,7 @@ s390:31-bit + GNU/Linux diff --git a/gdb/features/s390-linux64v2.c b/gdb/features/s390-linux64v2.c index 3b3b4916ac3..5ff9a5709ef 100644 --- a/gdb/features/s390-linux64v2.c +++ b/gdb/features/s390-linux64v2.c @@ -11,6 +11,8 @@ initialize_tdesc_s390_linux64v2 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:31-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390-linux64v2.xml b/gdb/features/s390-linux64v2.xml index 4bbfb09b2fb..3d0c9f9b210 100644 --- a/gdb/features/s390-linux64v2.xml +++ b/gdb/features/s390-linux64v2.xml @@ -11,6 +11,7 @@ s390:31-bit + GNU/Linux diff --git a/gdb/features/s390-te-linux64.c b/gdb/features/s390-te-linux64.c index d49e7441313..2abddd53bfa 100644 --- a/gdb/features/s390-te-linux64.c +++ b/gdb/features/s390-te-linux64.c @@ -11,6 +11,8 @@ initialize_tdesc_s390_te_linux64 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:31-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390-te-linux64.xml b/gdb/features/s390-te-linux64.xml index e141e0b789c..399053a0319 100644 --- a/gdb/features/s390-te-linux64.xml +++ b/gdb/features/s390-te-linux64.xml @@ -11,6 +11,7 @@ s390:31-bit + GNU/Linux diff --git a/gdb/features/s390-tevx-linux64.c b/gdb/features/s390-tevx-linux64.c index ffe1ddf4ee1..8e38a5cf81f 100644 --- a/gdb/features/s390-tevx-linux64.c +++ b/gdb/features/s390-tevx-linux64.c @@ -11,6 +11,8 @@ initialize_tdesc_s390_tevx_linux64 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:31-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390-tevx-linux64.xml b/gdb/features/s390-tevx-linux64.xml index f9dc796e66d..2dbb0399b9c 100644 --- a/gdb/features/s390-tevx-linux64.xml +++ b/gdb/features/s390-tevx-linux64.xml @@ -11,6 +11,7 @@ s390:31-bit + GNU/Linux diff --git a/gdb/features/s390-vx-linux64.c b/gdb/features/s390-vx-linux64.c index 30262a63fce..1ce5ad3671a 100644 --- a/gdb/features/s390-vx-linux64.c +++ b/gdb/features/s390-vx-linux64.c @@ -11,6 +11,8 @@ initialize_tdesc_s390_vx_linux64 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:31-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390-vx-linux64.xml b/gdb/features/s390-vx-linux64.xml index fe55fb22565..6b32bf8130b 100644 --- a/gdb/features/s390-vx-linux64.xml +++ b/gdb/features/s390-vx-linux64.xml @@ -11,6 +11,7 @@ s390:31-bit + GNU/Linux diff --git a/gdb/features/s390x-gs-linux64.c b/gdb/features/s390x-gs-linux64.c index 501b3b24061..76b8124863a 100644 --- a/gdb/features/s390x-gs-linux64.c +++ b/gdb/features/s390x-gs-linux64.c @@ -11,6 +11,8 @@ initialize_tdesc_s390x_gs_linux64 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:64-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390x-gs-linux64.xml b/gdb/features/s390x-gs-linux64.xml index 6131aaa9e38..c41e460d91c 100644 --- a/gdb/features/s390x-gs-linux64.xml +++ b/gdb/features/s390x-gs-linux64.xml @@ -10,6 +10,7 @@ s390:64-bit + GNU/Linux diff --git a/gdb/features/s390x-linux64.c b/gdb/features/s390x-linux64.c index 8655d5a6116..eb6b181f599 100644 --- a/gdb/features/s390x-linux64.c +++ b/gdb/features/s390x-linux64.c @@ -11,6 +11,8 @@ initialize_tdesc_s390x_linux64 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:64-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390x-linux64.xml b/gdb/features/s390x-linux64.xml index a70f6372c25..31afe82dadc 100644 --- a/gdb/features/s390x-linux64.xml +++ b/gdb/features/s390x-linux64.xml @@ -10,6 +10,7 @@ s390:64-bit + GNU/Linux diff --git a/gdb/features/s390x-linux64v1.c b/gdb/features/s390x-linux64v1.c index 11bfd85c995..6b43f88ac84 100644 --- a/gdb/features/s390x-linux64v1.c +++ b/gdb/features/s390x-linux64v1.c @@ -11,6 +11,8 @@ initialize_tdesc_s390x_linux64v1 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:64-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390x-linux64v1.xml b/gdb/features/s390x-linux64v1.xml index ffc0505202e..8aa26b4f587 100644 --- a/gdb/features/s390x-linux64v1.xml +++ b/gdb/features/s390x-linux64v1.xml @@ -10,6 +10,7 @@ s390:64-bit + GNU/Linux diff --git a/gdb/features/s390x-linux64v2.c b/gdb/features/s390x-linux64v2.c index 400b1af4485..eeba787ec7b 100644 --- a/gdb/features/s390x-linux64v2.c +++ b/gdb/features/s390x-linux64v2.c @@ -11,6 +11,8 @@ initialize_tdesc_s390x_linux64v2 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:64-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390x-linux64v2.xml b/gdb/features/s390x-linux64v2.xml index 4b2abc60dad..3769a75db40 100644 --- a/gdb/features/s390x-linux64v2.xml +++ b/gdb/features/s390x-linux64v2.xml @@ -10,6 +10,7 @@ s390:64-bit + GNU/Linux diff --git a/gdb/features/s390x-te-linux64.c b/gdb/features/s390x-te-linux64.c index 74883e30fe8..0fec2b0bd02 100644 --- a/gdb/features/s390x-te-linux64.c +++ b/gdb/features/s390x-te-linux64.c @@ -11,6 +11,8 @@ initialize_tdesc_s390x_te_linux64 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:64-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390x-te-linux64.xml b/gdb/features/s390x-te-linux64.xml index b38c7c0ac12..c48831d54e5 100644 --- a/gdb/features/s390x-te-linux64.xml +++ b/gdb/features/s390x-te-linux64.xml @@ -10,6 +10,7 @@ s390:64-bit + GNU/Linux diff --git a/gdb/features/s390x-tevx-linux64.c b/gdb/features/s390x-tevx-linux64.c index 1d45d6044c1..c1b890045d3 100644 --- a/gdb/features/s390x-tevx-linux64.c +++ b/gdb/features/s390x-tevx-linux64.c @@ -11,6 +11,8 @@ initialize_tdesc_s390x_tevx_linux64 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:64-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390x-tevx-linux64.xml b/gdb/features/s390x-tevx-linux64.xml index 2d7672e1dca..a53bfff5ac7 100644 --- a/gdb/features/s390x-tevx-linux64.xml +++ b/gdb/features/s390x-tevx-linux64.xml @@ -10,6 +10,7 @@ s390:64-bit + GNU/Linux diff --git a/gdb/features/s390x-vx-linux64.c b/gdb/features/s390x-vx-linux64.c index 4de6585a227..af57e052eab 100644 --- a/gdb/features/s390x-vx-linux64.c +++ b/gdb/features/s390x-vx-linux64.c @@ -11,6 +11,8 @@ initialize_tdesc_s390x_vx_linux64 (void) target_desc_up result = allocate_target_description (); set_tdesc_architecture (result.get (), bfd_scan_arch ("s390:64-bit")); + set_tdesc_osabi (result.get (), GDB_OSABI_LINUX); + struct tdesc_feature *feature; feature = tdesc_create_feature (result.get (), "org.gnu.gdb.s390.core"); diff --git a/gdb/features/s390x-vx-linux64.xml b/gdb/features/s390x-vx-linux64.xml index 8903f1871e2..fcf75deb588 100644 --- a/gdb/features/s390x-vx-linux64.xml +++ b/gdb/features/s390x-vx-linux64.xml @@ -10,6 +10,7 @@ s390:64-bit + GNU/Linux