Mercurial > hg > graal-jvmci-8
diff src/os/bsd/vm/os_bsd.cpp @ 16719:b1911c1e44c8
Dump disassembly in crash log
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Thu, 07 Aug 2014 11:06:09 -0700 |
parents | 4ca6dc0799b6 |
children | 3eed8712d410 |
line wrap: on
line diff
--- a/src/os/bsd/vm/os_bsd.cpp Thu Aug 07 11:05:12 2014 -0700 +++ b/src/os/bsd/vm/os_bsd.cpp Thu Aug 07 11:06:09 2014 -0700 @@ -3805,6 +3805,11 @@ return fetcher.result(); } +address os::get_pc(void* context) { + ucontext_t *uc = (ucontext_t*)context; + return os::Bsd::ucontext_get_pc(uc); +} + int os::Bsd::safe_cond_timedwait(pthread_cond_t *_cond, pthread_mutex_t *_mutex, const struct timespec *_abstime) { return pthread_cond_timedwait(_cond, _mutex, _abstime);