Skip to content
Commit 7816b81e authored by Andrew Burgess's avatar Andrew Burgess
Browse files

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: default avatarJohn Baldwin <jhb@FreeBSD.org>
parent 0a7bb97a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment