Include the fs_base and gs_base registers in amd64 target descriptions.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 27 Jun 2017 01:14:43 +0000 (18:14 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 11 Jul 2017 16:46:29 +0000 (09:46 -0700)
commit48aeef91c248291dd03583798904612426b1f40a
tree8fbd5fb7845ffde0fecad3c80d5543f4925bbb37
parent61a0857c0fb512ce6a2ba4315a37fcce744f6045
Include the fs_base and gs_base registers in amd64 target descriptions.

This permits these registers to be used with non-Linux targets.

gdb/ChangeLog:

* features/Makefile (amd64.dat, amd64-avx.dat, amd64-mpx.dat)
(amd64-avx-mpx.dat, amd64-avx-avx512.dat)
(amd64-avx-mpx-avx512-pku.dat): Add i386/64bit-segments.xml in
those rules.
* features/i386/amd64-avx-avx512.xml: Add 64bit-segments.xml.
        * features/i386/amd64-avx-mpx-avx512-pku.xml: Add 64bit-segments.xml.
* features/i386/amd64-avx-mpx.xml: Add 64bit-segments.xml.
* features/i386/amd64-avx.xml: Add 64bit-segments.xml.
* features/i386/amd64-mpx.xml: Add 64bit-segments.xml.
* features/i386/amd64.xml: Add 64bit-segments.xml.
* features/i386/amd64-avx-avx512.c: Regenerated.
* features/i386/amd64-avx-mpx-avx512-pku.c: Regenerated.
* features/i386/amd64-avx-mpx.c: Regenerated.
* features/i386/amd64-avx.c: Regenerated.
* features/i386/amd64-mpx.c: Regenerated.
* features/i386/amd64.c: Regenerated.
* regformats/i386/amd64-avx-avx512.dat: Regenerated.
* regformats/i386/amd64-avx-mpx-avx512-pku.dat: Regenerated.
* regformats/i386/amd64-avx-mpx.dat: Regenerated.
* regformats/i386/amd64-avx.dat: Regenerated.
* regformats/i386/amd64-mpx.dat: Regenerated.
* regformats/i386/amd64.dat: Regenerated.
20 files changed:
gdb/ChangeLog
gdb/features/Makefile
gdb/features/i386/amd64-avx-avx512.c
gdb/features/i386/amd64-avx-avx512.xml
gdb/features/i386/amd64-avx-mpx-avx512-pku.c
gdb/features/i386/amd64-avx-mpx-avx512-pku.xml
gdb/features/i386/amd64-avx-mpx.c
gdb/features/i386/amd64-avx-mpx.xml
gdb/features/i386/amd64-avx.c
gdb/features/i386/amd64-avx.xml
gdb/features/i386/amd64-mpx.c
gdb/features/i386/amd64-mpx.xml
gdb/features/i386/amd64.c
gdb/features/i386/amd64.xml
gdb/regformats/i386/amd64-avx-avx512.dat
gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat
gdb/regformats/i386/amd64-avx-mpx.dat
gdb/regformats/i386/amd64-avx.dat
gdb/regformats/i386/amd64-mpx.dat
gdb/regformats/i386/amd64.dat