From 1056aa39196e0af454e6cdff193d7fd4bc638b9c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 14 Jul 2021 01:30:46 -0400 Subject: gdb: clean up some things in features/Makefile Clean up some things I noticed: - we generate a regformats/microblaze-with-stack-protect.dat file. I don't think this is used. It could be used by a GDBserver built for Microblaze, but GDBserver isn't ported to Microblaze. So I don't think that's used at all. Remove the entry in features/Makefile and the file itself. - There are a bunch of *-expedite values in features/Makefile for architectures for which we don't generate dat files. AFAIK, these *-expedite values are only used when generating dat files. Remove those that are not necessary. - 32bit-segments.xml is not listed in the Makfile, but it's used. This means that it wouldn't get re-generated if we were to change how C files are generated from the XML. It looks like it was simply forgotten, add it. Change-Id: I112d00db317102270e1df924473c37122ccb6c3a --- gdb/features/Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'gdb/features') diff --git a/gdb/features/Makefile b/gdb/features/Makefile index ded8c3b..aa38d17 100644 --- a/gdb/features/Makefile +++ b/gdb/features/Makefile @@ -45,7 +45,6 @@ # List of .dat files to create in ../regformats/ WHICH = mips-linux mips-dsp-linux \ - microblaze-with-stack-protect \ mips64-linux mips64-dsp-linux \ nios2-linux \ rs6000/powerpc-32 \ @@ -69,18 +68,11 @@ WHICH = mips-linux mips-dsp-linux \ tic6x-c64xp-linux tic6x-c64x-linux tic6x-c62x-linux # Record which registers should be sent to GDB by default after stop. -aarch64-expedite = x29,sp,pc -arm-expedite = r11,sp,pc -i386-expedite = ebp,esp,eip -amd64-expedite = rbp,rsp,rip -x32-expedite = rbp,rsp,rip mips-expedite = r29,pc mips-dsp-expedite = r29,pc mips64-expedite = r29,pc mips64-dsp-expedite = r29,pc -microblaze-expedite = r1,rpc nios2-linux-expedite = sp,pc -or1k-expedite = r1,npc powerpc-expedite = r1,pc s390-linux32-expedite = r14,r15,pswa s390-linux32v1-expedite = r14,r15,pswa @@ -222,6 +214,7 @@ FEATURE_XMLFILES = aarch64-core.xml \ i386/32bit-mpx.xml \ i386/32bit-avx512.xml \ i386/32bit-pkeys.xml \ + i386/32bit-segments.xml \ i386/64bit-avx512.xml \ i386/64bit-core.xml \ i386/64bit-mpx.xml \ -- cgit v1.1