]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: Fix gdb support for RISC-V
authorMarcel Ziswiler <marcel.ziswiler@codethink.co.uk>
Thu, 11 Jun 2026 07:16:00 +0000 (09:16 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 14 Jun 2026 22:23:22 +0000 (07:23 +0900)
commitf62021663306e46f26b3d3d56af42bac1311befe
tree90049e8ab17ed7b78ad826eb97620e5370915328
parent4290607eae1c35c9eadd51507729fb2a7f0ba169
boot: Fix gdb support for RISC-V

This will also allow debugging systemd-boot easily on RISC-V.

Note that the following much simpler variant won't work, as we might be missing
the optional 'zihintpause' extension:

    asm volatile("pause");

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@codethink.co.uk>
src/boot/util.c