Skip to content

Commit

Permalink
update aarch64_be-linux-user gdb XML list
Browse files Browse the repository at this point in the history
  • Loading branch information
mikdusan committed Oct 4, 2024
1 parent 7f2396f commit 0f837ad
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion command/patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -e
. $(dirname $0)/base

WORKDIR "/work/src/${QEMU_SRC_BASENAME}"
RUN patch -p1 -i "${WORK_ROOT}/patch/configs__targets__aarch64_be-linux-user.mak.diff"
RUN patch -p1 -i "${WORK_ROOT}/patch/linux-user__sigrt.diff"
RUN patch -p1 -i "${WORK_ROOT}/patch/linux-user__syscall.diff"
RUN patch -p1 -i "${WORK_ROOT}/patch/linux-user__syscall-lfs.diff"
RUN patch -p1 -i "${WORK_ROOT}/patch/linux-user__syscall.diff"
25 changes: 25 additions & 0 deletions patch/configs__targets__aarch64_be-linux-user.mak.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
commit 3676e278dbe2111d2799a4d2dc023f20e9cd6820
Author: Alex Bennée <[email protected]>
Date: Tue Sep 24 20:43:56 2024 +0100

config/targets: update aarch64_be-linux-user gdb XML list

Attempting to run the binary asserts when it can't find the XML entry.
We can fix it so we don't although I suspect other stuff is broken.

Fixes: https://gitlab.com/qemu-project/qemu/-/issues/2580
Signed-off-by: Alex Bennée <[email protected]>

diff --git a/configs/targets/aarch64_be-linux-user.mak b/configs/targets/aarch64_be-linux-user.mak
index acb5620cdb..14623ac076 100644
--- a/configs/targets/aarch64_be-linux-user.mak
+++ b/configs/targets/aarch64_be-linux-user.mak
@@ -1,7 +1,7 @@
TARGET_ARCH=aarch64
TARGET_BASE_ARCH=arm
TARGET_BIG_ENDIAN=y
-TARGET_XML_FILES= gdb-xml/aarch64-core.xml gdb-xml/aarch64-fpu.xml gdb-xml/aarch64-pauth.xml
+TARGET_XML_FILES= gdb-xml/aarch64-core.xml gdb-xml/aarch64-fpu.xml gdb-xml/aarch64-pauth.xml gdb-xml/aarch64-mte.xml
TARGET_HAS_BFLT=y
CONFIG_SEMIHOSTING=y
CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y

0 comments on commit 0f837ad

Please sign in to comment.