diff options
author | John Baldwin <jhb@FreeBSD.org> | 2017-08-04 20:16:33 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2017-08-04 20:16:33 +0000 |
commit | 67631b1bb9524a35fce397414c52b3aedf199cfe (patch) | |
tree | efa578222876378822d63d97ee10987874f1febf /devel/gdb/files/commit-b30ff123fb | |
parent | Update devel/etcd32 to version 3.2.5. (diff) |
Backport support for fs_base/gs_base and $_siginfo from GDB master.
Bring in two patchsets committed to GDB master along with a few other commits
those patchsets depend on.
- Add support for examining $_siginfo. When a thread has valid signal
information, report the current information in a $_siginfo variable.
For live processes the values are extracted via the PT_LWPINFO ptrace
request. The values are also extracted from process core dumps that
include NT_LWPINFO notes (currently only present in FreeBSD 12-current).
- Add support for the $fs_base and $gs_base registers on amd64. This only
works for live processes via the PT_{GET,SET}{FS,GS}BASE ptrace requests.
FreeBSD currently does not store these values in core dumps, so they are
not available from core dumps.
Reviewed by: luca.pizzamiglio@gmail.com (maintainer)
Approved by: az, imp
Differential Revision: https://reviews.freebsd.org/D11813
Notes
Notes:
svn path=/head/; revision=447377
Diffstat (limited to 'devel/gdb/files/commit-b30ff123fb')
-rw-r--r-- | devel/gdb/files/commit-b30ff123fb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/devel/gdb/files/commit-b30ff123fb b/devel/gdb/files/commit-b30ff123fb new file mode 100644 index 000000000000..4b32dcdfe0e7 --- /dev/null +++ b/devel/gdb/files/commit-b30ff123fb @@ -0,0 +1,40 @@ +commit b30ff123fbff63d6c8be1115320efd0158e49a7f +Author: Yao Qi <yao.qi@linaro.org> +Date: Thu Jun 22 13:41:27 2017 +0100 + + Regenerate two regformats/i386/.dat files + + The self tests which compare pre-generated target descriptions and + dynamically created target descriptions fail, and it turns out that two + pre-generated target descriptions are wrong, so regenerate them. + + gdb: + + 2017-06-22 Yao Qi <yao.qi@linaro.org> + + * regformats/i386/amd64-avx-mpx-avx512-pku-linux.dat: Regenerated. + * regformats/i386/amd64-avx-mpx-avx512-pku.dat: Regenerated. + +diff --git gdb/regformats/i386/amd64-avx-mpx-avx512-pku-linux.dat gdb/regformats/i386/amd64-avx-mpx-avx512-pku-linux.dat +index 3ae6b0e472..9cd0fae820 100644 +--- gdb/regformats/i386/amd64-avx-mpx-avx512-pku-linux.dat ++++ gdb/regformats/i386/amd64-avx-mpx-avx512-pku-linux.dat +@@ -157,3 +157,4 @@ expedite:rbp,rsp,rip + 256:zmm29h + 256:zmm30h + 256:zmm31h ++32:pkru +diff --git gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat +index 88185fd8c3..b3340d3276 100644 +--- gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat ++++ gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat +@@ -60,9 +60,6 @@ expedite:rbp,rsp,rip + 128:xmm14 + 128:xmm15 + 32:mxcsr +-64:orig_rax +-64:fs_base +-64:gs_base + 128:ymm0h + 128:ymm1h + 128:ymm2h |