public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] amd64: add fs_base and gs_base
@ 2016-11-03  9:47 Walfred Tedeschi
  2016-11-03  9:47 ` [PATCH 2/2] amd64-linux: expose system register FS_BASE and GS_BASE for Linux Walfred Tedeschi
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Walfred Tedeschi @ 2016-11-03  9:47 UTC (permalink / raw)
  To: palves, eliz, brobecker; +Cc: gdb-patches, Walfred Tedeschi

The next two patches add Linux system registers fs_base and gs_base
in GDB and gdbserver.

First commit align the gdbserver with GDB code  in terms of
HAVE_STRUCT_USER_REGS_STRUCT_(GS|FS)_BASE.

Second patch introduces the registers into GDB and gdbserver.


Walfred Tedeschi (2):
  gdbserver-amd64: add HAVE_STRUCT_USER_REGS_STRUCT_(GS|FS)_BASE for
    gdbserver.
  amd64-linux: expose system register FS_BASE and GS_BASE for Linux.

 gdb/amd64-linux-nat.c                       |  53 ++++++++
 gdb/amd64-linux-tdep.c                      |  35 ++++-
 gdb/amd64-linux-tdep.h                      |   2 +-
 gdb/amd64-tdep.h                            |   6 +-
 gdb/doc/gdb.texinfo                         |   3 +
 gdb/features/Makefile                       |  17 +--
 gdb/features/i386/64bit-segments.xml        |  12 ++
 gdb/features/i386/amd64-avx-linux.c         |  36 +++---
 gdb/features/i386/amd64-avx-linux.xml       |   1 +
 gdb/features/i386/amd64-avx-mpx-linux.c     |  48 +++----
 gdb/features/i386/amd64-avx-mpx-linux.xml   |   1 +
 gdb/features/i386/amd64-avx512-linux.c      | 192 ++++++++++++++--------------
 gdb/features/i386/amd64-avx512-linux.xml    |   1 +
 gdb/features/i386/amd64-linux.c             |   4 +
 gdb/features/i386/amd64-linux.xml           |   1 +
 gdb/features/i386/amd64-mpx-linux.c         |  16 ++-
 gdb/features/i386/amd64-mpx-linux.xml       |   1 +
 gdb/features/i386/x32-avx-linux.c           |  36 +++---
 gdb/features/i386/x32-avx-linux.xml         |   1 +
 gdb/features/i386/x32-avx512-linux.c        | 192 ++++++++++++++--------------
 gdb/features/i386/x32-avx512-linux.xml      |   1 +
 gdb/features/i386/x32-linux.c               |   4 +
 gdb/features/i386/x32-linux.xml             |   1 +
 gdb/gdbserver/config.in                     |   6 +
 gdb/gdbserver/configure                     |  26 ++++
 gdb/gdbserver/configure.ac                  |   7 +
 gdb/gdbserver/configure.srv                 |   2 +-
 gdb/gdbserver/linux-x86-low.c               |  32 +++++
 gdb/regformats/i386/amd64-avx-linux.dat     |   2 +
 gdb/regformats/i386/amd64-avx-mpx-linux.dat |   2 +
 gdb/regformats/i386/amd64-avx512-linux.dat  |   2 +
 gdb/regformats/i386/amd64-linux.dat         |   2 +
 gdb/regformats/i386/amd64-mpx-linux.dat     |   2 +
 gdb/regformats/i386/x32-avx-linux.dat       |   2 +
 gdb/regformats/i386/x32-avx512-linux.dat    |   2 +
 gdb/regformats/i386/x32-linux.dat           |   2 +
 gdb/testsuite/gdb.arch/amd64-gs_base.c      |  33 +++++
 gdb/testsuite/gdb.arch/amd64-gs_base.exp    |  57 +++++++++
 38 files changed, 582 insertions(+), 261 deletions(-)
 create mode 100644 gdb/features/i386/64bit-segments.xml
 create mode 100644 gdb/testsuite/gdb.arch/amd64-gs_base.c
 create mode 100644 gdb/testsuite/gdb.arch/amd64-gs_base.exp

-- 
2.9.3



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

end of thread, other threads:[~2016-12-07 16:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-03  9:47 [PATCH 0/2] amd64: add fs_base and gs_base Walfred Tedeschi
2016-11-03  9:47 ` [PATCH 2/2] amd64-linux: expose system register FS_BASE and GS_BASE for Linux Walfred Tedeschi
2016-11-05 14:55   ` John Baldwin
2016-11-07 14:40     ` Tedeschi, Walfred
2016-11-10 12:36   ` Gary Benson
2016-11-30 13:31     ` Tedeschi, Walfred
2016-11-23 12:02   ` Pedro Alves
2016-11-30 10:29     ` Tedeschi, Walfred
2016-12-07 16:37       ` Pedro Alves
2016-11-03  9:47 ` [PATCH 1/2] gdbserver-amd64: add HAVE_STRUCT_USER_REGS_STRUCT_(GS|FS)_BASE for gdbserver Walfred Tedeschi
2016-11-10 12:37   ` Gary Benson
2016-11-23 12:02     ` Pedro Alves
2016-11-30 14:20 ` [PATCH 0/2] amd64: add fs_base and gs_base Gary Benson

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).