projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't write to inferior_ptid in go32-nat.c
[deliverable/binutils-gdb.git]
/
gdb
/
arch
/
i386.c
diff --git
a/gdb/arch/i386.c
b/gdb/arch/i386.c
index 7d2901333b9092a959bd1349760299555087a166..099a20b98a27cffb9aec190446b27e814fb627d0 100644
(file)
--- a/
gdb/arch/i386.c
+++ b/
gdb/arch/i386.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 2017-20
19
Free Software Foundation, Inc.
+/* Copyright (C) 2017-20
20
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-15,10
+15,10
@@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "
common
/common-defs.h"
+#include "
gdbsupport
/common-defs.h"
#include "i386.h"
#include "i386.h"
-#include "
common
/tdesc.h"
-#include "
common
/x86-xstate.h"
+#include "
gdbsupport
/tdesc.h"
+#include "
gdbsupport
/x86-xstate.h"
#include <stdlib.h>
#include "../features/i386/32bit-core.c"
#include <stdlib.h>
#include "../features/i386/32bit-core.c"
@@
-28,11
+28,12
@@
#include "../features/i386/32bit-avx512.c"
#include "../features/i386/32bit-mpx.c"
#include "../features/i386/32bit-pkeys.c"
#include "../features/i386/32bit-avx512.c"
#include "../features/i386/32bit-mpx.c"
#include "../features/i386/32bit-pkeys.c"
+#include "../features/i386/32bit-segments.c"
/* Create i386 target descriptions according to XCR0. */
target_desc *
/* Create i386 target descriptions according to XCR0. */
target_desc *
-i386_create_target_description (uint64_t xcr0, bool is_linux)
+i386_create_target_description (uint64_t xcr0, bool is_linux
, bool segments
)
{
target_desc *tdesc = allocate_target_description ();
{
target_desc *tdesc = allocate_target_description ();
@@
-53,6
+54,9
@@
i386_create_target_description (uint64_t xcr0, bool is_linux)
if (is_linux)
regnum = create_feature_i386_32bit_linux (tdesc, regnum);
if (is_linux)
regnum = create_feature_i386_32bit_linux (tdesc, regnum);
+ if (segments)
+ regnum = create_feature_i386_32bit_segments (tdesc, regnum);
+
if (xcr0 & X86_XSTATE_AVX)
regnum = create_feature_i386_32bit_avx (tdesc, regnum);
if (xcr0 & X86_XSTATE_AVX)
regnum = create_feature_i386_32bit_avx (tdesc, regnum);
This page took
0.024238 seconds
and
4
git commands to generate.