diff -r 7ab5f6318694 -r b16494a69d3d src/os/posix/vm/os_posix.cpp --- a/src/os/posix/vm/os_posix.cpp Sun Jan 01 11:17:59 2012 -0500 +++ b/src/os/posix/vm/os_posix.cpp Tue Jan 03 15:11:31 2012 -0500 @@ -59,6 +59,10 @@ VMError::report_coredump_status(buffer, success); } +int os::get_last_error() { + return errno; +} + bool os::is_debugger_attached() { // not implemented return false;