[PATCH 0/1] Add Intel APX support
Christina Joos <[email protected]> Sat, 25 Jul 2026 10:53:34 +0000
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
Hi all, this is my v2 for Intel APX support. V1 can be found here: https://sourceware.org/pipermail/gdb-patches/2026-June/227755.html Changes since v1: - Refactored the APX tests to simplify them - Added actual linux corefile testing, as indicated here: https://sourceware.org/pipermail/gdb-patches/2026-July/228568.html - Dropped the patch "gdb: add maintenance set/show gcore xml-target-description command" for the maintenance command - Fixed some nits in the actual gdb code, also based on Keith's feedback, but no functional changes - Fixed the "apx" naming -> "Intel APX" - Fixed the documentation according to Eli's feedback - Fixed copyright year - Changed the co-author to my new name (Joos) I am looking forward to your feedback! Christina H.J. Lu (1): gdb, gdbserver: Add Intel APX register support gdb/NEWS | 4 + gdb/amd64-linux-tdep.c | 2 + gdb/amd64-tdep.c | 262 ++++++++++++++---- gdb/amd64-tdep.h | 2 + gdb/arch/amd64.c | 4 + gdb/arch/x86-linux-tdesc-features.c | 1 + gdb/doc/gdb.texinfo | 5 + gdb/features/Makefile | 1 + gdb/features/i386/64bit-apx.c | 29 ++ gdb/features/i386/64bit-apx.xml | 26 ++ gdb/i386-tdep.c | 32 ++- gdb/i386-tdep.h | 26 ++ gdb/i387-tdep.c | 105 ++++++- gdb/i387-tdep.h | 6 + gdb/nat/x86-xstate.c | 1 + gdb/target-debug.h | 1 + gdb/testsuite/gdb.arch/amd64-apx-core.c | 88 ++++++ gdb/testsuite/gdb.arch/amd64-apx-corefile.c | 71 +++++ gdb/testsuite/gdb.arch/amd64-apx-corefile.exp | 67 +++++ gdb/testsuite/gdb.arch/amd64-apx.c | 66 +++++ gdb/testsuite/gdb.arch/amd64-apx.exp | 77 +++++ gdb/testsuite/lib/gdb.exp | 58 ++++ gdbserver/i387-fp.cc | 43 +++ gdbserver/linux-x86-low.cc | 4 +- gdbsupport/x86-xstate.h | 12 +- 25 files changed, 931 insertions(+), 62 deletions(-) create mode 100644 gdb/features/i386/64bit-apx.c create mode 100644 gdb/features/i386/64bit-apx.xml create mode 100644 gdb/testsuite/gdb.arch/amd64-apx-core.c create mode 100644 gdb/testsuite/gdb.arch/amd64-apx-corefile.c create mode 100644 gdb/testsuite/gdb.arch/amd64-apx-corefile.exp create mode 100644 gdb/testsuite/gdb.arch/amd64-apx.c create mode 100644 gdb/testsuite/gdb.arch/amd64-apx.exp -- 2.34.1 Intel Deutschland GmbH Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany Tel: +49 89 991 430, www.intel.de Managing Directors: Harry Demas, Jeffrey Schneiderman, Yin Chong Sorrell Chairperson of the Supervisory Board: Nicole Lau Registered Seat: Munich Commercial Register: Amtsgericht Muenchen HRB 186928