Fix typos [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2017-09-15 12:03:42 +00:00
parent dd3b3dd0f3
commit 743ab3c783

View File

@ -466,7 +466,7 @@ darwin_sigtramp:
unw_set_reg(&cursor, UNW_X86_64_R15, uctx->uc_mcontext->__ss.__r15); unw_set_reg(&cursor, UNW_X86_64_R15, uctx->uc_mcontext->__ss.__r15);
ip = uctx->uc_mcontext->__ss.__rip; ip = uctx->uc_mcontext->__ss.__rip;
/* There's 4 cases for SEGV: /* There're 4 cases for SEGV:
* (1) called invalid address * (1) called invalid address
* (2) read or write invalid address * (2) read or write invalid address
* (3) received signal * (3) received signal
@ -487,7 +487,7 @@ darwin_sigtramp:
* Same as (2). * Same as (2).
* (4) received signal in kernel * (4) received signal in kernel
* In this case saved ip points just after syscall, but registers are * In this case saved ip points just after syscall, but registers are
* already overwriten by kernel. To fix register consistency, * already overwritten by kernel. To fix register consistency,
* skip libc's kernel wrapper. * skip libc's kernel wrapper.
* To detect this case, just previous two bytes of ip is "\x0f\x05", * To detect this case, just previous two bytes of ip is "\x0f\x05",
* syscall instruction of x86_64. * syscall instruction of x86_64.