mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:54:41 +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>
21 lines
664 B
XML
21 lines
664 B
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2012-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. -->
|
|
|
|
<!DOCTYPE target SYSTEM "gdb-target.dtd">
|
|
<target>
|
|
<architecture>mips</architecture>
|
|
<osabi>GNU/Linux</osabi>
|
|
<xi:include href="mips64-cpu.xml"/>
|
|
<xi:include href="mips64-cp0.xml"/>
|
|
<xi:include href="mips64-fpu.xml"/>
|
|
<xi:include href="mips64-dsp.xml"/>
|
|
|
|
<feature name="org.gnu.gdb.mips.linux">
|
|
<reg name="restart" bitsize="64" group="system"/>
|
|
</feature>
|
|
</target>
|