binutils-gdb/gdb/arch
Andrew Burgess efba976d97 gdb/arch: assert that X86_XSTATE_MPX is not set for x32
While trying to merge this commit:

  commit 4bb20a6244
  Date:   Wed Mar 20 04:13:18 2024 -0700

      gdbserver: Clear X86_XSTATE_MPX bits in xcr0 on x32

With this patch series of mine:

  https://inbox.sourceware.org/gdb-patches/cover.1706801009.git.aburgess@redhat.com

I worried that there could be other paths that could result in an xcr0
value that has X86_XSTATE_MPX set in x32 mode.  As everyone eventually
calls amd64_create_target_description to build their target
description, I figured we could assert in here that if X86_XSTATE_MPX
is set then we should not be an x32 target, this should uncover any
other bugs in this area.

I'm not currently able to build/run any x32 binaries, so I have no way
to test this.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31511
2024-03-25 17:14:19 +00:00
..
aarch32.c gdb/arm: Remove tpidruro register from non-FreeBSD target descriptions 2024-02-29 12:27:27 -03:00
aarch32.h gdb/arm: Remove tpidruro register from non-FreeBSD target descriptions 2024-02-29 12:27:27 -03:00
aarch64-insn.c aarch64: Use aarch64_debug_printf in a few more places 2024-02-28 16:03:16 -08:00
aarch64-insn.h
aarch64-mte-linux.c
aarch64-mte-linux.h
aarch64-scalable-linux.c
aarch64-scalable-linux.h
aarch64.c
aarch64.h
amd64.c gdb/arch: assert that X86_XSTATE_MPX is not set for x32 2024-03-25 17:14:19 +00:00
amd64.h
arc.c
arc.h
arm-get-next-pcs.c
arm-get-next-pcs.h
arm-linux.c
arm-linux.h
arm.c
arm.h
csky.c
csky.h
i386.c
i386.h
loongarch.c gdb: LoongArch: Add LBT extension support 2024-02-06 18:40:19 +08:00
loongarch.h gdb: LoongArch: Change LOONGARCH_FIRST_FP_REGNUM to 35 2024-03-02 19:07:04 +08:00
ppc-linux-common.c
ppc-linux-common.h
ppc-linux-tdesc.h
riscv.c
riscv.h
tic6x.c
tic6x.h
xtensa.h