]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: LoongArch: Handle newly added llsc instructions
authorXi Ruoyao <xry111@xry111.site>
Tue, 19 Aug 2025 07:33:44 +0000 (15:33 +0800)
committerTiezhu Yang <yangtiezhu@loongson.cn>
Mon, 25 Aug 2025 11:58:08 +0000 (19:58 +0800)
commitc9b8f14cbafac00acfbeaba1590ef9dd5ec8cd4a
treeb4e147509e87909657effd93ee1102be56b94276
parent8b7a074374f812a00f6f30be849f1b1f32bbe230
gdb: LoongArch: Handle newly added llsc instructions

We can't put a breakpoint in the middle of a ll/sc atomic sequence,
handle the instructions sc.q, llacq.{w/d}, screl.{w/d} newly added
in the LoongArch Reference Manual v1.10 so a ll/sc atomic sequence
using them won't loop forever being debugged.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
gdb/loongarch-tdep.c