[Mono-dev] Mono Debugger on Windows Patch
Jonathan Chambers
joncham at gmail.com
Wed Mar 11 00:43:26 EDT 2009
Hello, Another patch, containing all the changes for the GnuReadLine ->
LineReader abstraction.
Thanks,
Jonathan
On Tue, Mar 10, 2009 at 10:48 PM, Jonathan Chambers <joncham at gmail.com>wrote:
> Martin, Thanks for reviewing. I'll send in some small, easy to review
> patches.
>
> Thanks,
> Jonathan
>
>
> On Tue, Mar 10, 2009 at 2:16 PM, Martin Baulig <martin at novell.com> wrote:
>
>> Hi Jonathan,
>>
>> thanks a lot for this patch.
>>
>> Just a few comments:
>>
>> * Please don't use DebuggerConfiguration.IsRunningOnWindows -
>> DebuggerConfiguration is for storing persistent state and things
>> the user can configure.
>> I think the right place for this is Inferior.IsRunningOnWindows,
>> the Inferior can also auto-detect this.
>>
>> * DebuggerOptions.InferiorArguments must be kept platform-neutral
>> and thus we can't add null at the end there. The OS-specific code
>> should do that.
>>
>> * We shouldn't use any `#ifndef WIN32' conditionals in
>> backend/server/library.c. Instead, we should add new methods to
>> the `InferiorVTable' and have a custom implementation in
>> x86-ptrace.c and x86-windows.c
>>
>> * I like the GnuReadLine -> LineReader abstraction :-)
>>
>> * Regarding ThreadManager, if we need larger changes there, it may
>> make sense to make `ThreadManager' an abstract base class and have
>> a custom implementation for Linux and Windows.
>>
>> Martin
>>
>> --
>> Martin Baulig - martin at novell.com
>> Novell GmbH, Nördlicher Zubringer 9-11, 40470 Düsseldorf
>> GF: Dr. Jürgen Müller, Sylvia Geil, Felix Imendörffer; HRB 21108 (AG
>> Düsseldorf)
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090311/4c7ca745/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugger_windows_2.patch
Type: application/octet-stream
Size: 9966 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090311/4c7ca745/attachment-0001.obj
More information about the Mono-devel-list
mailing list