<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>On 11 May 2009, at 11:51, Jay wrote:</div></span></span></span></span></span></span></span></span></div></span></div><div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; ">And the #if is always true on 10.5, with a default command line?</div></span></blockquote></div><div><br></div><div>Yes, I believe so, but you should check what 10.4 does. Is there not a def you can use for your version of Darwin?</div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; "><br>Or even no matter the command line?<br>If so, therefore I'm free to do whatever in the #else?<br> <br> - Jay<br> <br>> From:<span class="Apple-converted-space"> </span><a href="mailto:hosking@cs.purdue.edu">hosking@cs.purdue.edu</a><br>> To:<span class="Apple-converted-space"> </span><a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a><br>> Date: Mon, 11 May 2009 10:52:59 +1000<br>> CC:<span class="Apple-converted-space"> </span><a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br>> Subject: Re: [M3devel] I386_DARWIN GetPC, rep prefix?<br>><span class="Apple-converted-space"> </span><br>> This works on 10.5:<br>><span class="Apple-converted-space"> </span><br>> pc = Context->uc_mcontext->__ss.__eip;<br>><span class="Apple-converted-space"> </span><br>> On 11 May 2009, at 10:00, Jay wrote:<br>><span class="Apple-converted-space"> </span><br>> ><br>> > ok. What is the story on 10.5?<br>> > Your version works? My version works?<br>> ><br>> > - Jay<br>> ><br>> > ----------------------------------------<br>> >> CC:<span class="Apple-converted-space"> </span><a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br>> >> From:<span class="Apple-converted-space"> </span><a href="mailto:hosking@cs.purdue.edu">hosking@cs.purdue.edu</a><br>> >> To:<span class="Apple-converted-space"> </span><a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a><br>> >> Subject: Re: I386_DARWIN GetPC, rep prefix?<br>> >> Date: Mon, 11 May 2009 09:26:36 +1000<br>> >><br>> >> Hmm. Not sure I did test that. I don't have any 10.4 systems around<br>> >> anymore.<br>> >><br>> >> On 11 May 2009, at 08:33, Jay wrote:<br>> >><br>> >>> Tony, to get RTSignalC.c to compile on Darwin (not MacOSX) 8.0.1<br>> >>> (aka 10.4).<br>> >>><br>> >>><br>> >>><br>> >>> jdar1:/dev2/cm3/m3-libs/m3core/src/runtime/POSIX jay$ uname -a<br>> >>> Darwin jdar1.local 8.0.1 Darwin Kernel Version 8.0.1: Fri Apr 29<br>> >>> 12:18:40 PDT 2005; root:xnu-792.obj<br>> >>> /RELEASE_I386 x86 i386<br>> >>> jdar1:/dev2/cm3/m3-libs/m3core/src/runtime/POSIX jay$<br>> >>><br>> >>><br>> >>> Probably that's a not very interesting target, but I don't yet have<br>> >>> "real" x86/AMD64/Apple/Darwin hardware (just PPC/ARM).<br>> >>><br>> >>><br>> >>> I had to:<br>> >>><br>> >>><br>> >>> ===================================================================<br>> >>> RCS file: /usr/cvs/cm3/m3-libs/m3core/src/runtime/POSIX/<span class="Apple-converted-space"> </span><br>> >>> RTSignalC.c,v<br>> >>> retrieving revision 1.11<br>> >>> diff -r1.11 RTSignalC.c<br>> >>> 71c71<br>> >>> < pc = Context->uc_mcontext->ss.eip;<br>> >>> ---<br>> >>>> pc = Context->uc_mcontext->sc.sc_eip;<br>> >>><br>> >>><br>> >>> Did you test ss.eip?<br>> >>> And presumably sc.sc_eip doesn't work for you? Unless they have<br>> >>> #defines for compat (on such short names..)?<br>> >>> Maybe this changed from 10.4 to 10.5?<br>> >>> I just want to change over the Unix/*.i3 files.<br>> >>> I can leave my change uncommited till I get a real MacOSX>=10.5<br>> >>> system.<br>> >>><br>> >>><br>> >>> I also get problems even in native builds with "rep" prefixes using<br>> >>> the "builtin" tools (as).<br>> >>> I'll change cm3cg to 586, or 486, or 386, whatever it takes, to<br>> >>> workaround that.<br>> >>> Also not commit that.<br>> >>> Or maybe build a newer "cctools".<br>> >>><br>> >>><br>> >>> - Jay<br>> >><br>><span class="Apple-converted-space"> </span><br></div></span></blockquote></div><br></body></html>