History

NetBSD: start arm support. WIP

Christian Jullien committed 5 years ago

Commit 3873f951 parent 07549121 file · +3 −0Browse files

Unified · Split

tccrun.c+3−0
@@ -661,6 +661,9 @@ static void rt_getcontext(ucontext_t *uc, rt_context *rc) · 660 unmodified lines
661661 rc->ip = uc->uc_mcontext.gregs[REG_RIP];
662662 rc->fp = uc->uc_mcontext.gregs[REG_RBP];
663663 # endif
664+#elif defined(__arm__) && defined(__NetBSD__)
665+ rc->ip = uc->uc_mcontext.__gregs[_REG_PC];
666+ rc->fp = uc->uc_mcontext.__gregs[_REG_FP];
664667 #elif defined(__arm__)
665668 rc->ip = uc->uc_mcontext.arm_pc;
666669 rc->fp = uc->uc_mcontext.arm_fp;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t