rpcs3/Utilities
Jan Beich f04655c814 Thread: define how to access PC on BSD aarch64 after 580bd2b25eba
Utilities/Thread.cpp:1799:51: error: no member named 'pc' in '__mcontext'
        const bool is_executing = uptr(info->si_addr) == RIP(context);
                                                         ^~~~~~~~~~~~
Utilities/Thread.cpp:1800:62: error: no member named 'pc' in '__mcontext'
        const u32 insn = is_executing ? 0 : *reinterpret_cast<u32*>(RIP(context));
                                                                    ^~~~~~~~~~~~
Utilities/Thread.cpp:1836: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:1229:46: note: expanded from macro 'RIP'
 #define RIP(context) ((context)->uc_mcontext.pc)
                       ~~~~~~~~~~~~~~~~~~~~~~ ^

Based on https://github.com/mozilla/gecko-dev/commit/480b73c38c73
2022-04-24 15:40:33 +03:00
..
2021-05-18 21:40:59 +03:00
2021-06-25 09:41:32 +03:00
2021-04-11 14:01:51 +03:00
2022-01-29 22:10:48 +03:00
2022-01-29 22:10:48 +03:00
2022-01-25 03:16:37 +03:00
2021-04-29 22:57:40 +03:00
2021-04-11 14:01:51 +03:00
2020-12-18 12:23:53 +03:00
2020-12-12 15:12:01 +03:00
2021-04-11 14:01:51 +03:00
2022-03-16 22:20:23 +01:00
2022-03-16 22:20:23 +01:00
2022-03-26 16:10:18 +03:00
2021-04-11 14:01:51 +03:00
2022-01-15 06:48:04 +03:00
2020-12-18 12:23:53 +03:00
2020-12-12 15:12:01 +03:00