mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
9b5ba7e49e
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>
27 lines
936 B
XML
27 lines
936 B
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2010-2024 Free Software Foundation, Inc.
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
are permitted in any medium without royalty provided the copyright
|
|
notice and this notice are preserved. -->
|
|
|
|
<!-- S/390 31-bit user-level code on a machine operating
|
|
in z/Architecture mode. -->
|
|
|
|
<!DOCTYPE target SYSTEM "gdb-target.dtd">
|
|
<target>
|
|
<architecture>s390:31-bit</architecture>
|
|
<osabi>GNU/Linux</osabi>
|
|
<xi:include href="s390-core64.xml"/>
|
|
<xi:include href="s390-acr.xml"/>
|
|
<xi:include href="s390-fpr.xml"/>
|
|
|
|
<feature name="org.gnu.gdb.s390.linux">
|
|
<reg name="orig_r2" bitsize="32" type="uint32" group="system"/>
|
|
<reg name="last_break" bitsize="32" type="code_ptr" group="system" save-restore="no"/>
|
|
<reg name="system_call" bitsize="32" type="uint32" group="system"/>
|
|
</feature>
|
|
|
|
<xi:include href="s390-tdb.xml"/>
|
|
</target>
|