mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-24 02:36:16 +00:00
1bbe66e98a
Incompatible with latest libuber-h3. A whole bunch of patches are quite unmaintainable. kphp-timelib is also disabled as only kphp depends on it.
12 lines
534 B
Diff
12 lines
534 B
Diff
--- a/common/server/crash-dump.cpp
|
|
+++ b/common/server/crash-dump.cpp
|
|
@@ -116,6 +116,8 @@
|
|
crash_dump_write_reg(LITERAL_WITH_LENGTH("R15=0x"), uc->uc_mcontext.gregs[REG_R15], buffer);
|
|
|
|
#elif defined(__aarch64__)
|
|
+ const auto *uc = static_cast<ucontext_t *>(ucontext);
|
|
+
|
|
crash_dump_write_reg(LITERAL_WITH_LENGTH("SP=0x"), uc->uc_mcontext.sp, buffer);
|
|
crash_dump_write_reg(LITERAL_WITH_LENGTH("PC=0x"), uc->uc_mcontext.pc, buffer);
|
|
crash_dump_write_reg(LITERAL_WITH_LENGTH("PSTATE=0x"), uc->uc_mcontext.pstate, buffer);
|