projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6ee4e
)
Add loongarch64 support
author
Andreas Rönnquist
<gusnan@librem.one>
Sat, 16 Dec 2023 21:18:39 +0000
(22:18 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Sun, 17 Dec 2023 09:58:08 +0000
(09:58 +0000)
src/backward.h
patch
|
blob
|
history
diff --git
a/src/backward.h
b/src/backward.h
index
1823870
..
9f3b31e
100644
(file)
--- a/
src/backward.h
+++ b/
src/backward.h
@@
-4250,6
+4250,8
@@
public:
#else
error_addr = reinterpret_cast<void *>(uctx->uc_mcontext.pc);
#endif
+#elif defined(__loongarch64)
+ error_addr = reinterpret_cast<void *>(uctx->uc_mcontext.__pc);
#elif defined(__mips__)
error_addr = reinterpret_cast<void *>(
reinterpret_cast<struct sigcontext *>(&uctx->uc_mcontext)->sc_pc);