aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat/x86-linux.h
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-03-26 18:52:51 +0000
committerAndrew Burgess <aburgess@redhat.com>2024-03-26 18:52:51 +0000
commitf06daade43dc8ec839e2eb3bd8b200c4b3f9682b (patch)
tree9f0e953bfcd63c7e875e84b1821f33bdf75f987a /gdb/nat/x86-linux.h
parent49a7660fb50cc3c68e7830eb098905d068a3ccbf (diff)
downloadgdb-f06daade43dc8ec839e2eb3bd8b200c4b3f9682b.zip
gdb-f06daade43dc8ec839e2eb3bd8b200c4b3f9682b.tar.gz
gdb-f06daade43dc8ec839e2eb3bd8b200c4b3f9682b.tar.bz2
Revert "gdb/gdbserver: share I386_LINUX_XSAVE_XCR0_OFFSET definition"
This reverts commit 7816b81e9b36ea0f57662bfd7446b573bf0c9e54.
Diffstat (limited to 'gdb/nat/x86-linux.h')
-rw-r--r--gdb/nat/x86-linux.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/gdb/nat/x86-linux.h b/gdb/nat/x86-linux.h
index 855a8d1..15153ea 100644
--- a/gdb/nat/x86-linux.h
+++ b/gdb/nat/x86-linux.h
@@ -22,26 +22,6 @@
#include "nat/linux-nat.h"
-/* Format of XSAVE extended state is:
- struct
- {
- fxsave_bytes[0..463]
- sw_usable_bytes[464..511]
- xstate_hdr_bytes[512..575]
- extended state regions (AVX, MPX, AVX512, PKRU, etc.)
- };
-
- Same memory layout will be used for the coredump NT_X86_XSTATE
- representing the XSAVE extended state registers.
-
- The first 8 bytes of the sw_usable_bytes[464..467] is the OS enabled
- extended state mask, which is the same as the extended control register
- 0 (the XFEATURE_ENABLED_MASK register), XCR0. We can use this mask
- together with the mask saved in the xstate_hdr_bytes to determine what
- states the processor/OS supports and what state, used or initialized,
- the process/thread is in. */
-#define I386_LINUX_XSAVE_XCR0_OFFSET 464
-
/* Set whether our local mirror of LWP's debug registers has been
changed since the values were last written to the thread. Nonzero
indicates that a change has been made, zero indicates no change. */