[Lldb-commits] win32: Memory mapped have to be aligned on the right boundary

2013-09-26 Thread Carlo Kok
The current trunk implementation of win32 mapped files works fine if the start address is 0, but if the start address is not 0, the memory mapping fails. This is because mapviewoffile has to be aligned on the system's dwAllocationGranularity. This patch fixes that. (This is used when loading a

Re: [Lldb-commits] win32: Memory mapped have to be aligned on the right boundary

2013-09-26 Thread Greg Clayton
Looks good. On Sep 26, 2013, at 9:27 AM, Carlo Kok c...@remobjects.com wrote: memory_mapped_file_win32.patch ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Re: [Lldb-commits] connectfiledescriptor close should take in account the handle type on Windows

2013-09-26 Thread Greg Clayton
Looks good. On Sep 26, 2013, at 10:26 AM, Carlo Kok c...@remobjects.com wrote: On windows a socket and a file have different kinds of handle. One goes through Close the other through CloseSocket. If this one is oke I'll commit it with the other one. -- Carlo Kok RemObjects Software

[Lldb-commits] [patch] mac-os platforms file types and runtime are not actually mac specific

2013-09-26 Thread Carlo Kok
They should be initialized so someone can remote debug to the mac. -- Carlo Kok RemObjects Software Index: lldb.cpp === --- lldb.cpp(revision 191382) +++ lldb.cpp(working copy) @@ -47,19 +47,19 @@ #ifndef

[Lldb-commits] [lldb] r191478 - Factor the code that was eliminating redundant breakpoint locations and moving

2013-09-26 Thread Jim Ingham
Author: jingham Date: Thu Sep 26 20:16:58 2013 New Revision: 191478 URL: http://llvm.org/viewvc/llvm-project?rev=191478view=rev Log: Factor the code that was eliminating redundant breakpoint locations and moving line breakpoints past the prologue of functions so it can be shared between the file