mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +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>
23 lines
777 B
XML
23 lines
777 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 64-bit user-level code. -->
|
|
|
|
<!DOCTYPE target SYSTEM "gdb-target.dtd">
|
|
<target>
|
|
<architecture>s390:64-bit</architecture>
|
|
<osabi>GNU/Linux</osabi>
|
|
<xi:include href="s390x-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="64" type="uint64" group="system"/>
|
|
<reg name="last_break" bitsize="64" type="code_ptr" group="system" save-restore="no"/>
|
|
</feature>
|
|
</target>
|