aboutsummaryrefslogtreecommitdiff
path: root/gdb/features
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-10-01 10:06:04 +0100
committerPedro Alves <palves@redhat.com>2014-10-01 10:52:54 +0100
commite001e535f63d804127269fbdfbcbefa1f206bf46 (patch)
tree9d414268622195bc45baae132082aa24cd2c3be7 /gdb/features
parentbdc144174bcb11e808b4e73089b850cf9620a7ee (diff)
downloadgdb-e001e535f63d804127269fbdfbcbefa1f206bf46.zip
gdb-e001e535f63d804127269fbdfbcbefa1f206bf46.tar.gz
gdb-e001e535f63d804127269fbdfbcbefa1f206bf46.tar.bz2
Fix features/i386/64bit-avx512.xml
This file's format is invalid, as it's missing some end quotes. I noticed this because I tried to regenerate all the .dat files in gdb/regformats/. I got: sh ../../move-if-change ../regformats/i386/x32-avx.tmp ../regformats/i386/x32-avx.dat echo "# DO NOT EDIT: generated from i386/x32-avx512.xml" > ../regformats/i386/x32-avx512.tmp echo "name:`echo x32-avx512 | sed 's/-/_/g'`" >> ../regformats/i386/x32-avx512.tmp echo "xmltarget:x32-avx512.xml" >> ../regformats/i386/x32-avx512.tmp echo "expedite:rbp,rsp,rip" \ >> ../regformats/i386/x32-avx512.tmp xsltproc --path "/home/pedro/gdb/mygit/src/gdb/features" --xinclude number-regs.xsl i386/x32-avx512.xml | \ xsltproc sort-regs.xsl - | \ xsltproc gdbserver-regs.xsl - >> ../regformats/i386/x32-avx512.tmp i386/64bit-avx512.xml:81: parser error : Unescaped '<' not allowed in attributes values <reg name="zmm11h" bitsize="256" type="v2ui128/> ^ i386/64bit-avx512.xml:81: parser error : attributes construct error <reg name="zmm11h" bitsize="256" type="v2ui128/> ^ i386/64bit-avx512.xml:81: parser error : Couldn't find end of Start Tag reg line 80 <reg name="zmm11h" bitsize="256" type="v2ui128/> ^ i386/64bit-avx512.xml:82: parser error : Unescaped '<' not allowed in attributes values <reg name="zmm12h" bitsize="256" type="v2ui128/> ^ i386/64bit-avx512.xml:82: parser error : attributes construct error <reg name="zmm12h" bitsize="256" type="v2ui128/> ^ ... i386/x32-avx512.xml:17: element include: XInclude error : could not load i386/64bit-avx512.xml, and no fallback was found -:1: parser error : Document is empty ^ -:1: parser error : Start tag expected, '<' not found ^ unable to parse - -:1: parser error : Document is empty ^ -:1: parser error : Start tag expected, '<' not found ^ unable to parse - make: *** [../regformats/i386/x32-avx512.dat] Error 6 Interestingly, gdb/expat manages to grok the broken file. gdb/ 2014-10-01 Pedro Alves <palves@redhat.com> * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h) (zmm14h): Add missing end quotes.
Diffstat (limited to 'gdb/features')
-rw-r--r--gdb/features/i386/64bit-avx512.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/features/i386/64bit-avx512.xml b/gdb/features/i386/64bit-avx512.xml
index 5e2bf9f..c6c158a 100644
--- a/gdb/features/i386/64bit-avx512.xml
+++ b/gdb/features/i386/64bit-avx512.xml
@@ -77,11 +77,11 @@
<reg name="zmm7h" bitsize="256" type="v2ui128"/>
<reg name="zmm8h" bitsize="256" type="v2ui128"/>
<reg name="zmm9h" bitsize="256" type="v2ui128"/>
- <reg name="zmm10h" bitsize="256" type="v2ui128/>
- <reg name="zmm11h" bitsize="256" type="v2ui128/>
- <reg name="zmm12h" bitsize="256" type="v2ui128/>
- <reg name="zmm13h" bitsize="256" type="v2ui128/>
- <reg name="zmm14h" bitsize="256" type="v2ui128/>
+ <reg name="zmm10h" bitsize="256" type="v2ui128"/>
+ <reg name="zmm11h" bitsize="256" type="v2ui128"/>
+ <reg name="zmm12h" bitsize="256" type="v2ui128"/>
+ <reg name="zmm13h" bitsize="256" type="v2ui128"/>
+ <reg name="zmm14h" bitsize="256" type="v2ui128"/>
<reg name="zmm15h" bitsize="256" type="v2ui128"/>
<reg name="zmm16h" bitsize="256" type="v2ui128"/>
<reg name="zmm17h" bitsize="256" type="v2ui128"/>