mirror of
https://github.com/libunwind/libunwind.git
synced 2026-01-12 00:04:03 +08:00
Implement Gresume for freebsd riscv64
This commit is contained in:
committed by
Stephen M. Webb
parent
278033e91a
commit
66f9d10fc8
@@ -32,7 +32,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
HIDDEN inline int
|
||||
riscv_local_resume (unw_addr_space_t as UNUSED, unw_cursor_t *cursor, void *arg UNUSED)
|
||||
{
|
||||
#ifdef __linux__
|
||||
struct cursor *c = (struct cursor *) cursor;
|
||||
ucontext_t *uc = c->uc;
|
||||
|
||||
@@ -69,9 +68,7 @@ riscv_local_resume (unw_addr_space_t as UNUSED, unw_cursor_t *cursor, void *arg
|
||||
}
|
||||
|
||||
unreachable();
|
||||
#else
|
||||
# warning Implement me
|
||||
#endif
|
||||
|
||||
return -UNW_EINVAL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user