public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Support fs_base and gs_base for native FreeBSD/amd64
@ 2017-06-27 22:50 John Baldwin
  2017-06-27 22:51 ` [PATCH 2/2] Support the fs_base and gs_base registers on FreeBSD/amd64 native processes John Baldwin
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: John Baldwin @ 2017-06-27 22:50 UTC (permalink / raw)
  To: gdb-patches

I did not add the fs_base and gs_base registers to the x32 descriptions
since I'm not aware of a platform supporting x32 other than Linux.

On the other hand, I wonder if we shouldn't just add fs_base and gs_base
to the "core" descriptions alongside "fs" and "gs" rather than using a
separate feature if they are always going to be present.

The manual dependencies for the various x86 regformat data files have
several inconsistencies (missing dependencies or in some cases wrong
dependencies), but I didn't do a fixup of those since Yao's patches
are going to replace all that anyway.

John Baldwin (2):
  Include the fs_base and gs_base registers in amd64 target
    descriptions.
  Support the fs_base and gs_base registers on FreeBSD/amd64 native
    processes.

 gdb/ChangeLog                                    |  32 ++++
 gdb/amd64-bsd-nat.c                              |  54 +++++++
 gdb/features/Makefile                            |  14 +-
 gdb/features/i386/amd64-avx-avx512.c             | 180 +++++++++++----------
 gdb/features/i386/amd64-avx-avx512.xml           |   1 +
 gdb/features/i386/amd64-avx-mpx-avx512-pku.c     | 194 ++++++++++++-----------
 gdb/features/i386/amd64-avx-mpx-avx512-pku.xml   |   1 +
 gdb/features/i386/amd64-avx-mpx.c                |  48 +++---
 gdb/features/i386/amd64-avx-mpx.xml              |   1 +
 gdb/features/i386/amd64-avx.c                    |  36 +++--
 gdb/features/i386/amd64-avx.xml                  |   1 +
 gdb/features/i386/amd64-mpx.c                    |  16 +-
 gdb/features/i386/amd64-mpx.xml                  |   1 +
 gdb/features/i386/amd64.c                        |   4 +
 gdb/features/i386/amd64.xml                      |   1 +
 gdb/regformats/i386/amd64-avx-avx512.dat         |   2 +
 gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat |   1 -
 gdb/regformats/i386/amd64-avx-mpx.dat            |   2 +
 gdb/regformats/i386/amd64-avx.dat                |   2 +
 gdb/regformats/i386/amd64-mpx.dat                |   2 +
 gdb/regformats/i386/amd64.dat                    |   2 +
 21 files changed, 361 insertions(+), 234 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-07-13 19:59 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27 22:50 [PATCH 0/2] Support fs_base and gs_base for native FreeBSD/amd64 John Baldwin
2017-06-27 22:51 ` [PATCH 2/2] Support the fs_base and gs_base registers on FreeBSD/amd64 native processes John Baldwin
2017-07-11  8:09   ` Yao Qi
2017-06-27 22:51 ` [PATCH 1/2] Include the fs_base and gs_base registers in amd64 target descriptions John Baldwin
2017-07-11  8:03   ` Yao Qi
2017-07-11 16:26     ` John Baldwin
2017-07-12 12:16     ` Phil Muldoon
2017-07-12 13:02       ` Yao Qi
2017-07-12 13:51         ` Simon Marchi
2017-07-12 20:03           ` John Baldwin
2017-07-13 16:55             ` Yao Qi
2017-07-13 17:04               ` John Baldwin
2017-07-13 18:40               ` Pedro Alves
2017-07-13 19:59                 ` Pedro Alves
2017-07-12 16:23         ` Keith Seitz
2017-07-11  7:49 ` [PATCH 0/2] Support fs_base and gs_base for native FreeBSD/amd64 Yao Qi
2017-07-11 16:26   ` John Baldwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).