]> 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>
Fri, 11 Oct 2024 21:21:03 +0000 (22:21 +0100)
commit415a22650f25c0211fc3ae60ade12666f08174e6
treefb709ddbaaa663a580b2430e337b748b3bb8355f
parent5bc1b13676bc5eeefc50d25379991f5f9255eb80
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.
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