Bug#791985: Please support ARM64 (ucontext_t)
- Subject: Bug#791985: Please support ARM64 (ucontext_t)
- From: tbm@hp.com (Martin Michlmayr)
- Date: Thu, 9 Jul 2015 15:32:01 -0400
- Message-id: <[🔎] 20150709193201.GC3698@jirafa.cyrius.com>
- In-reply-to: <20150629185310.DEC8E5C38EB@m400-c3n1.hlinux.usa.hp.com>
- References: <20150629185310.DEC8E5C38EB@m400-c3n1.hlinux.usa.hp.com>
Package: libguytools2
Version: 2.0.3-1
Severity: wishlist
User: debian-arm at lists.debian.org
Usertags: arm64 port
This package fails to build on arm64, but a quick looks suggests
this package might be useful on arm64. Do you know if upstream or
someone else is working on arm64 support ("aarch64") already?
The only arch specific code I could fine was in toolsignal.cpp:
#if defined(__i386__)
pIP = (void*) pUContext->uc_mcontext.gregs[REG_EIP];
#elif defined(__x86_64__)
pIP = (void*) pUContext->uc_mcontext.gregs[REG_RIP];
#elif defined(__hppa__)
pIP = (void*) pUContext->uc_mcontext.sc_iaoq[0] & ~0x3UL;
#elif (defined (__ppc__)) || (defined (__powerpc__))
pIP = (void*) pUContext->uc_mcontext.regs->nip;
#endif
--
Martin Michlmayr
Linux for HP Helion, Hewlett-Packard
Reply to: