From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from barracuda.ebox.ca (barracuda.ebox.ca [96.127.255.19]) by sourceware.org (Postfix) with ESMTPS id 486283840C3D for ; Wed, 17 Jun 2020 02:28:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 486283840C3D X-ASG-Debug-ID: 1592360858-0c856e29fd339da0001-fS2M51 Received: from smtp.ebox.ca (smtp.ebox.ca [96.127.255.82]) by barracuda.ebox.ca with ESMTP id UILfBtYQVf3owsBV (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Jun 2020 22:27:38 -0400 (EDT) X-Barracuda-Envelope-From: simon.marchi@efficios.com X-Barracuda-RBL-Trusted-Forwarder: 96.127.255.82 Received: from epycamd.internal.efficios.com (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) by smtp.ebox.ca (Postfix) with ESMTP id 643B6441B21; Tue, 16 Jun 2020 22:27:38 -0400 (EDT) From: Simon Marchi X-Barracuda-Effective-Source-IP: 192-222-181-218.qc.cable.ebox.net[192.222.181.218] X-Barracuda-Apparent-Source-IP: 192.222.181.218 X-Barracuda-RBL-IP: 192.222.181.218 To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 2/3] gdb, gdbserver: remove ARM regdat files Date: Tue, 16 Jun 2020 22:27:35 -0400 X-ASG-Orig-Subj: [PATCH 2/3] gdb, gdbserver: remove ARM regdat files Message-Id: <20200617022736.1506-2-simon.marchi@efficios.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200617022736.1506-1-simon.marchi@efficios.com> References: <20200617022736.1506-1-simon.marchi@efficios.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Barracuda-Connect: smtp.ebox.ca[96.127.255.82] X-Barracuda-Start-Time: 1592360858 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://96.127.255.19:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 6372 X-Virus-Scanned: by bsmtpd at ebox.ca X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=8.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.82604 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-23.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SCC_10_SHORT_WORD_LINES, SCC_20_SHORT_WORD_LINES, SCC_5_SHORT_WORD_LINES, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2020 02:28:03 -0000 This patch removes the leftover regformats .dat files for the arm architecture. There are no longer relevant, since the arm architecture has been converted to use feature-based target-descriptions. These .dat files are used by GDBserver ports that still use static target descriptions. These .dat files are generated from corresponding .xml files in the features directory. And since the corresponding .xml files for these arm .dat files don't exist anymore, it is impossible to re-generated them. If you delete these .dat files and type "make" in the features directory, you'll get: make: *** No rule to make target '../regformats/arm/arm-with-iwmmxt.dat', needed by 'all'. Stop. So it removes the entries in the `WHICH` variable of gdb/features/Makefile. Finally, it removes the rule in gdbserver/Makefile to generate .cc files from `../gdb/regformats/arm/%.dat`. gdb/ChangeLog: * features/Makefile (WHICH): Remove arm files. * regformats/arm/arm-with-iwmmxt.dat: Remove. * regformats/arm/arm-with-neon.dat: Remove. * regformats/arm/arm-with-vfpv2.dat: Remove. * regformats/arm/arm-with-vfpv3.dat: Remove. gdbserver/ChangeLog: * Makefile.in (%-generated.cc: ../gdb/regformats/arm/%.dat): Remove. --- gdb/features/Makefile | 4 +- gdb/regformats/arm/arm-with-iwmmxt.dat | 53 --------------------- gdb/regformats/arm/arm-with-neon.dat | 64 -------------------------- gdb/regformats/arm/arm-with-vfpv2.dat | 48 ------------------- gdb/regformats/arm/arm-with-vfpv3.dat | 64 -------------------------- gdbserver/Makefile.in | 3 -- 6 files changed, 1 insertion(+), 235 deletions(-) delete mode 100644 gdb/regformats/arm/arm-with-iwmmxt.dat delete mode 100644 gdb/regformats/arm/arm-with-neon.dat delete mode 100644 gdb/regformats/arm/arm-with-vfpv2.dat delete mode 100644 gdb/regformats/arm/arm-with-vfpv3.dat diff --git a/gdb/features/Makefile b/gdb/features/Makefile index 2a409dde39a..f2dd279eb69 100644 --- a/gdb/features/Makefile +++ b/gdb/features/Makefile @@ -44,9 +44,7 @@ # make GDB=/path/to/gdb XMLTOC="xml files" FEATURE_XMLFILES="xml files" cfiles # List of .dat files to create in ../regformats/ -WHICH = arm/arm-with-iwmmxt arm/arm-with-vfpv2 arm/arm-with-vfpv3 \ - arm/arm-with-neon \ - mips-linux mips-dsp-linux \ +WHICH = mips-linux mips-dsp-linux \ microblaze-with-stack-protect \ mips64-linux mips64-dsp-linux \ nios2-linux \ diff --git a/gdb/regformats/arm/arm-with-iwmmxt.dat b/gdb/regformats/arm/arm-with-iwmmxt.dat deleted file mode 100644 index f529c2c493c..00000000000 --- a/gdb/regformats/arm/arm-with-iwmmxt.dat +++ /dev/null @@ -1,53 +0,0 @@ -# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: -# Generated from: arm/arm-with-iwmmxt.xml -name:arm_with_iwmmxt -xmltarget:arm-with-iwmmxt.xml -expedite:r11,sp,pc -32:r0 -32:r1 -32:r2 -32:r3 -32:r4 -32:r5 -32:r6 -32:r7 -32:r8 -32:r9 -32:r10 -32:r11 -32:r12 -32:sp -32:lr -32:pc -0: -0: -0: -0: -0: -0: -0: -0: -0: -32:cpsr -64:wR0 -64:wR1 -64:wR2 -64:wR3 -64:wR4 -64:wR5 -64:wR6 -64:wR7 -64:wR8 -64:wR9 -64:wR10 -64:wR11 -64:wR12 -64:wR13 -64:wR14 -64:wR15 -32:wCSSF -32:wCASF -32:wCGR0 -32:wCGR1 -32:wCGR2 -32:wCGR3 diff --git a/gdb/regformats/arm/arm-with-neon.dat b/gdb/regformats/arm/arm-with-neon.dat deleted file mode 100644 index 2e6cb85cf4b..00000000000 --- a/gdb/regformats/arm/arm-with-neon.dat +++ /dev/null @@ -1,64 +0,0 @@ -# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: -# Generated from: arm/arm-with-neon.xml -name:arm_with_neon -xmltarget:arm-with-neon.xml -expedite:r11,sp,pc -32:r0 -32:r1 -32:r2 -32:r3 -32:r4 -32:r5 -32:r6 -32:r7 -32:r8 -32:r9 -32:r10 -32:r11 -32:r12 -32:sp -32:lr -32:pc -0: -0: -0: -0: -0: -0: -0: -0: -0: -32:cpsr -64:d0 -64:d1 -64:d2 -64:d3 -64:d4 -64:d5 -64:d6 -64:d7 -64:d8 -64:d9 -64:d10 -64:d11 -64:d12 -64:d13 -64:d14 -64:d15 -64:d16 -64:d17 -64:d18 -64:d19 -64:d20 -64:d21 -64:d22 -64:d23 -64:d24 -64:d25 -64:d26 -64:d27 -64:d28 -64:d29 -64:d30 -64:d31 -32:fpscr diff --git a/gdb/regformats/arm/arm-with-vfpv2.dat b/gdb/regformats/arm/arm-with-vfpv2.dat deleted file mode 100644 index aa71f85bcb2..00000000000 --- a/gdb/regformats/arm/arm-with-vfpv2.dat +++ /dev/null @@ -1,48 +0,0 @@ -# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: -# Generated from: arm/arm-with-vfpv2.xml -name:arm_with_vfpv2 -xmltarget:arm-with-vfpv2.xml -expedite:r11,sp,pc -32:r0 -32:r1 -32:r2 -32:r3 -32:r4 -32:r5 -32:r6 -32:r7 -32:r8 -32:r9 -32:r10 -32:r11 -32:r12 -32:sp -32:lr -32:pc -0: -0: -0: -0: -0: -0: -0: -0: -0: -32:cpsr -64:d0 -64:d1 -64:d2 -64:d3 -64:d4 -64:d5 -64:d6 -64:d7 -64:d8 -64:d9 -64:d10 -64:d11 -64:d12 -64:d13 -64:d14 -64:d15 -32:fpscr diff --git a/gdb/regformats/arm/arm-with-vfpv3.dat b/gdb/regformats/arm/arm-with-vfpv3.dat deleted file mode 100644 index 6fec4fd8f5d..00000000000 --- a/gdb/regformats/arm/arm-with-vfpv3.dat +++ /dev/null @@ -1,64 +0,0 @@ -# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: -# Generated from: arm/arm-with-vfpv3.xml -name:arm_with_vfpv3 -xmltarget:arm-with-vfpv3.xml -expedite:r11,sp,pc -32:r0 -32:r1 -32:r2 -32:r3 -32:r4 -32:r5 -32:r6 -32:r7 -32:r8 -32:r9 -32:r10 -32:r11 -32:r12 -32:sp -32:lr -32:pc -0: -0: -0: -0: -0: -0: -0: -0: -0: -32:cpsr -64:d0 -64:d1 -64:d2 -64:d3 -64:d4 -64:d5 -64:d6 -64:d7 -64:d8 -64:d9 -64:d10 -64:d11 -64:d12 -64:d13 -64:d14 -64:d15 -64:d16 -64:d17 -64:d18 -64:d19 -64:d20 -64:d21 -64:d22 -64:d23 -64:d24 -64:d25 -64:d26 -64:d27 -64:d28 -64:d29 -64:d30 -64:d31 -32:fpscr diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in index 7321ba12c2e..9d7687be534 100644 --- a/gdbserver/Makefile.in +++ b/gdbserver/Makefile.in @@ -555,9 +555,6 @@ target/%.o: ../gdb/target/%.c %-generated.cc: ../gdb/regformats/%.dat $(regdat_sh) $(ECHO_REGDAT) $(SHELL) $(regdat_sh) $< $@ -%-generated.cc: ../gdb/regformats/arm/%.dat $(regdat_sh) - $(ECHO_REGDAT) $(SHELL) $(regdat_sh) $< $@ - %-generated.cc: ../gdb/regformats/rs6000/%.dat $(regdat_sh) $(ECHO_REGDAT) $(SHELL) $(regdat_sh) $< $@ -- 2.27.0