From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2205) id 2ED403857C72; Tue, 30 Aug 2022 08:22:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2ED403857C72 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1661847755; bh=He6JZNNfgVdfO8HtmyCKk8CLffrXJKELVejOs1uLsYQ=; h=From:To:Subject:Date:From; b=TACetJS/Dz2WM3cYGO4/SMghWR7OeYq38ixHjV+PgBshhJ05MXvOPUN5OatOIdTJY Ra4d6IS8vWQm9+E49CdJvW62olc8LsdWJNCa/wSZkhuU5qPR/uPiu1BZAY3L9mHa+x DLi9zqCrIdGRhO9Gh6AF2GjVBLJopjOfE/4t8CSQ= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom de Vries To: gdb-cvs@sourceware.org Subject: [binutils-gdb] [gdb/tdep] Declare score-*-* target obsolete X-Act-Checkin: binutils-gdb X-Git-Author: Tom de Vries X-Git-Refname: refs/heads/master X-Git-Oldrev: fae8f4d1fd9623c226ec0281dec6a686acc78912 X-Git-Newrev: 28b5cde22b1a858b8c05da0f03ba37c670798298 Message-Id: <20220830082235.2ED403857C72@sourceware.org> Date: Tue, 30 Aug 2022 08:22:35 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D28b5cde22b1a= 858b8c05da0f03ba37c670798298 commit 28b5cde22b1a858b8c05da0f03ba37c670798298 Author: Tom de Vries Date: Tue Aug 30 10:22:28 2022 +0200 [gdb/tdep] Declare score-*-* target obsolete =20 I tried out the script gdb/gdb_mbuild.sh, and ran into: ... score-elf ... ... configure --target=3Dscore-elf ... make score-elf ... run score-elf score-elf: gdb dumped core Terminated ... =20 Gdb runs into this internal error in initialize_current_architecture: ... if (! gdbarch_update_p (info)) internal_error (__FILE__, __LINE__, _("initialize_current_architecture: Selection of " "initial architecture failed")); ... =20 The call to gdbarch_update_p fails because commit 575b4c298a6 ("gdb: Re= move support for S+core") removed support for the architecture. =20 Fix this by adding score-*-* to the list of obsolete targets in gdb/configure.tgt, such that we're no longer able to build the configur= ation: ... *** Configuration score-unknown-elf is obsolete. *** Support has been REMOVED. make: *** [Makefile:12806: configure-gdb] Error 1 ... =20 Also remove the related line from the "Target Instruction Set Architect= ures" list in gdb/MAINTAINERS, such that gdb/gdb_mbuild.sh no longer tries to= build it. Diff: --- gdb/MAINTAINERS | 1 - gdb/configure.tgt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS index ef507e57590..00b9a5ce5e8 100644 --- a/gdb/MAINTAINERS +++ b/gdb/MAINTAINERS @@ -325,7 +325,6 @@ the native maintainer when resolving ABI issues. s390 --target=3Ds390-linux-gnu ,-Werror Andreas Arnez arnez@linux.ibm.com =20 - score --target=3Dscore-elf sh --target=3Dsh-elf ,-Werror =20 sparc --target=3Dsparcv9-solaris2.11 ,-Werror diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 0705ccf32b8..e84e222ba0d 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -26,6 +26,7 @@ case $targ in m68*-*-os68k* | \ mips*-*-pe | \ rs6000-*-lynxos* | \ + score-*-* | \ sh*-*-pe | \ hppa*-*-hpux* | \ ia64-*-hpux* | \