[Vm-dev] OSProcessPlugin: VMConstruction-Plugins-OSProcessPlugin-dtl.25.mcz

Igor Stasenko siguctua at gmail.com
Mon Jan 3 06:51:02 UTC 2011


On 3 January 2011 05:01, David T. Lewis <lewis at mail.msen.com> wrote:
> On Fri, Dec 31, 2010 at 04:25:49PM +0100, Igor Stasenko wrote:
>> Here is another one, dave :)
>
> Thanks Igor!
>
> Your fix is in VMConstruction-Plugins-OSProcessPlugin-dtl.26 at SqueakSource/OSProcessPlugin.
>
>
>> after that there will be only argc/argv & printStack will be left to be fixed.
>>
>
>
> I'm not sure how to handle those. I'm sure John had this working for
> external OSPP on some of the OS X VMs. Linking may work differently
> on Mac, but for the unix VM it was just a matter of declaring the
> variables in main():
>
>    int main(int argc, char **argv, char **envp)
>    {
>      /* Make parameters global for access from plugins */
>      argCnt= argc;
>      argVec= argv;
>      envVec= envp;
>      ...
>    }
>
>

see how stWindow for win32 is used.
I think these variables should be exported similarily via
interpreterProxy->ioLoadFunctionFrom().

> Dave
>
>
>>
>> On 31 December 2010 17:10,
>> <squeak-dev-noreply at lists.squeakfoundation.org> wrote:
>> >
>> > Dave Lewis uploaded a new version of VMConstruction-Plugins-OSProcessPlugin to project OSProcessPlugin:
>> > http://www.squeaksource.com/OSProcessPlugin/VMConstruction-Plugins-OSProcessPlugin-dtl.25.mcz
>> >
>> > ==================== Summary ====================
>> >
>> > Name: VMConstruction-Plugins-OSProcessPlugin-dtl.25
>> > Author: dtl
>> > Time: 31 December 2010, 10:10:07 am
>> > UUID: 6ef147f9-8fdc-48b9-af28-4482b4e2a6de
>> > Ancestors: VMConstruction-Plugins-OSProcessPlugin-dtl.24
>> >
>> > OSProcessPlugin 4.4.1
>> > Fix #primitiveTestEndOfFileFlag to use interpreterProxy primitiveFail. This bug caused linking problems (symbol visibility) on Mac.
>> >
>> >
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list