about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-10-09 16:23:52 +0000
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-10-09 16:23:52 +0000
commit9d3efc3be6c049fd98b797de6aff31b19e03cc2e (patch)
tree4de2fa78a72107d9bdf22bed269fa2d4fef4c13c
parentc5c0118a512f87ff8732a8b68e38e954f31dab90 (diff)
downloadfocaccia-9d3efc3be6c049fd98b797de6aff31b19e03cc2e.tar.gz
focaccia-9d3efc3be6c049fd98b797de6aff31b19e03cc2e.zip
More alternatives for accessing aarch64 vectors
-rw-r--r--src/focaccia/tools/_qemu_tool.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/focaccia/tools/_qemu_tool.py b/src/focaccia/tools/_qemu_tool.py
index 419e073..23c1488 100644
--- a/src/focaccia/tools/_qemu_tool.py
+++ b/src/focaccia/tools/_qemu_tool.py
@@ -44,7 +44,10 @@ class GDBProgramState(ReadableProgramState):
         try:
             return int(str(val['d']['u']), 10)
         except:
-            return int(str(val['u']), 10)
+            try:
+                return int(str(val['u']), 10)
+            except:
+                return int(str(val['q']['u']), 10)
 
     @staticmethod
     def _read_vector_reg_x86(val: gdb.Value, size) -> int: