]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/features: set osabi in all Linux related features/*.xml files
authorAndrew Burgess <aburgess@redhat.com>
Fri, 11 Oct 2024 13:53:25 +0000 (14:53 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 12 Nov 2024 12:51:36 +0000 (12:51 +0000)
commit9b5ba7e49edcb75ca48908d6cd64db01a6e900cf
treed2e527968e3eca91cc4cd96c1e62d25444619a09
parent3d6f66d8bb6c539bc89b55b1add85dc6f53f2011
gdb/features: set osabi in all Linux related features/*.xml files

Some of the top level (i.e. those that contain the <target> 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 <osabi> element
included with the value "GNU/Linux".

This commits adds the <osabi> 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.

Approved-By: Kevin Buettner <kevinb@redhat.com>
38 files changed:
gdb/features/mips64-dsp-linux.c
gdb/features/mips64-dsp-linux.xml
gdb/features/mips64-linux.c
gdb/features/mips64-linux.xml
gdb/features/s390-gs-linux64.c
gdb/features/s390-gs-linux64.xml
gdb/features/s390-linux32.c
gdb/features/s390-linux32.xml
gdb/features/s390-linux32v1.c
gdb/features/s390-linux32v1.xml
gdb/features/s390-linux32v2.c
gdb/features/s390-linux32v2.xml
gdb/features/s390-linux64.c
gdb/features/s390-linux64.xml
gdb/features/s390-linux64v1.c
gdb/features/s390-linux64v1.xml
gdb/features/s390-linux64v2.c
gdb/features/s390-linux64v2.xml
gdb/features/s390-te-linux64.c
gdb/features/s390-te-linux64.xml
gdb/features/s390-tevx-linux64.c
gdb/features/s390-tevx-linux64.xml
gdb/features/s390-vx-linux64.c
gdb/features/s390-vx-linux64.xml
gdb/features/s390x-gs-linux64.c
gdb/features/s390x-gs-linux64.xml
gdb/features/s390x-linux64.c
gdb/features/s390x-linux64.xml
gdb/features/s390x-linux64v1.c
gdb/features/s390x-linux64v1.xml
gdb/features/s390x-linux64v2.c
gdb/features/s390x-linux64v2.xml
gdb/features/s390x-te-linux64.c
gdb/features/s390x-te-linux64.xml
gdb/features/s390x-tevx-linux64.c
gdb/features/s390x-tevx-linux64.xml
gdb/features/s390x-vx-linux64.c
gdb/features/s390x-vx-linux64.xml