diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-01-27 10:40:35 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-03-25 17:14:19 +0000 |
commit | 7816b81e9b36ea0f57662bfd7446b573bf0c9e54 (patch) | |
tree | 145d42dc60604530f50dff357f92e48701e2cd0c /gdb/python | |
parent | 0a7bb97ad2f2fe2d18a442dad265051e34eab13e (diff) | |
download | binutils-7816b81e9b36ea0f57662bfd7446b573bf0c9e54.zip binutils-7816b81e9b36ea0f57662bfd7446b573bf0c9e54.tar.gz binutils-7816b81e9b36ea0f57662bfd7446b573bf0c9e54.tar.bz2 |
gdb/gdbserver: share I386_LINUX_XSAVE_XCR0_OFFSET definition
Share the definition of I386_LINUX_XSAVE_XCR0_OFFSET between GDB and
gdbserver.
This commit is part of a series that aims to share more of the x86
target description creation code between GDB and gdbserver. The
I386_LINUX_XSAVE_XCR0_OFFSET #define is used as part of the target
description creation, and I noticed that this constant is defined
separately for GDB and gdbserver.
This commit moves the definition into gdb/nat/x86-linux.h, which
allows the #define to be shared.
There should be no user visible changes after this commit.
Approved-By: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions