HomeFreeBSD

emulators/rpcs3: unbreak on aarch64 after 66e5089f6d0d

Description

emulators/rpcs3: unbreak on aarch64 after 66e5089f6d0d

Utilities/Thread.cpp:1794:51: error: no member named 'pc' in '__mcontext'

const bool is_executing = uptr(info->si_addr) == RIP(context);
                                                 ^~~~~~~~~~~~

Utilities/Thread.cpp:1795:62: error: no member named 'pc' in '__mcontext'

const u32 insn = is_executing ? 0 : *reinterpret_cast<u32*>(RIP(context));
                                                            ^~~~~~~~~~~~

Utilities/Thread.cpp:1831:90: error: no member named 'pc' in '__mcontext'

std::string msg = fmt::format("Segfault %s location %p at %p.\n", cause, info->si_addr, RIP(context));
                                                                                        ^~~~~~~~~~~~

Utilities/Thread.cpp:1225:46: note: expanded from macro 'RIP'
#define RIP(context) ((context)->uc_mcontext.pc)

~~~~~~~~~~~~~~~~~~~~~~ ^

Reported by: pkg-fallout

(cherry picked from commit 30f587d136d4960d7b214bda0046ff166d5fbaf4)

Details

Provenance
jbeichAuthored on Apr 24 2022, 10:03 AM
Parents
R11:4c40e59d3392: emulators/citra: mark BROKEN on aarch64 after 2627d61105ad
Branches
Unknown
Tags
Unknown