diff options
author | John Baldwin <jhb@FreeBSD.org> | 2017-06-26 18:14:43 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2017-07-11 09:46:29 -0700 |
commit | 48aeef91c248291dd03583798904612426b1f40a (patch) | |
tree | 8fbd5fb7845ffde0fecad3c80d5543f4925bbb37 /gdb/regformats | |
parent | 61a0857c0fb512ce6a2ba4315a37fcce744f6045 (diff) | |
download | binutils-48aeef91c248291dd03583798904612426b1f40a.zip binutils-48aeef91c248291dd03583798904612426b1f40a.tar.gz binutils-48aeef91c248291dd03583798904612426b1f40a.tar.bz2 |
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.
Diffstat (limited to 'gdb/regformats')
-rw-r--r-- | gdb/regformats/i386/amd64-avx-avx512.dat | 2 | ||||
-rw-r--r-- | gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat | 2 | ||||
-rw-r--r-- | gdb/regformats/i386/amd64-avx-mpx.dat | 2 | ||||
-rw-r--r-- | gdb/regformats/i386/amd64-avx.dat | 2 | ||||
-rw-r--r-- | gdb/regformats/i386/amd64-mpx.dat | 2 | ||||
-rw-r--r-- | gdb/regformats/i386/amd64.dat | 2 |
6 files changed, 12 insertions, 0 deletions
diff --git a/gdb/regformats/i386/amd64-avx-avx512.dat b/gdb/regformats/i386/amd64-avx-avx512.dat index b7938e6..1fbe473 100644 --- a/gdb/regformats/i386/amd64-avx-avx512.dat +++ b/gdb/regformats/i386/amd64-avx-avx512.dat @@ -60,6 +60,8 @@ expedite:rbp,rsp,rip 128:xmm14 128:xmm15 32:mxcsr +64:fs_base +64:gs_base 128:ymm0h 128:ymm1h 128:ymm2h diff --git a/gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat b/gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat index b3340d3..23c3a40 100644 --- a/gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat +++ b/gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat @@ -60,6 +60,8 @@ expedite:rbp,rsp,rip 128:xmm14 128:xmm15 32:mxcsr +64:fs_base +64:gs_base 128:ymm0h 128:ymm1h 128:ymm2h diff --git a/gdb/regformats/i386/amd64-avx-mpx.dat b/gdb/regformats/i386/amd64-avx-mpx.dat index d985641..655775b 100644 --- a/gdb/regformats/i386/amd64-avx-mpx.dat +++ b/gdb/regformats/i386/amd64-avx-mpx.dat @@ -60,6 +60,8 @@ expedite:rbp,rsp,rip 128:xmm14 128:xmm15 32:mxcsr +64:fs_base +64:gs_base 128:ymm0h 128:ymm1h 128:ymm2h diff --git a/gdb/regformats/i386/amd64-avx.dat b/gdb/regformats/i386/amd64-avx.dat index 2232336..8b9d81e 100644 --- a/gdb/regformats/i386/amd64-avx.dat +++ b/gdb/regformats/i386/amd64-avx.dat @@ -60,6 +60,8 @@ expedite:rbp,rsp,rip 128:xmm14 128:xmm15 32:mxcsr +64:fs_base +64:gs_base 128:ymm0h 128:ymm1h 128:ymm2h diff --git a/gdb/regformats/i386/amd64-mpx.dat b/gdb/regformats/i386/amd64-mpx.dat index 43b8776..d5e60ba 100644 --- a/gdb/regformats/i386/amd64-mpx.dat +++ b/gdb/regformats/i386/amd64-mpx.dat @@ -60,6 +60,8 @@ expedite:rbp,rsp,rip 128:xmm14 128:xmm15 32:mxcsr +64:fs_base +64:gs_base 128:bnd0raw 128:bnd1raw 128:bnd2raw diff --git a/gdb/regformats/i386/amd64.dat b/gdb/regformats/i386/amd64.dat index 0ff9170..66f26ad 100644 --- a/gdb/regformats/i386/amd64.dat +++ b/gdb/regformats/i386/amd64.dat @@ -60,3 +60,5 @@ expedite:rbp,rsp,rip 128:xmm14 128:xmm15 32:mxcsr +64:fs_base +64:gs_base |