[lldb-dev] LLDB /w Windows and MinGW64

2016-03-27 Thread Eran Ifrah via lldb-dev
Hi, I have built LLDB on Windows 7 using MinGW64/4.9.2 (took some effort to get the job done...) When I tried to debug a simple hello world executable, I get this output: D:\software\msys-for-clang\1.0\home\PC\build-release-64-lldb\bin>lldb.exe HelloWorld.exe (lldb) target create "HelloWorld.exe"

Re: [lldb-dev] LLDB /w Windows and MinGW64

2016-03-28 Thread Eran Ifrah via lldb-dev
n_platform function ​Looking at the function that crashes, I see this: llvm_unreachable("Platform has no NativeProcessProtocol support"); Any ideas? Thanks! issues after that as well, since you're the first person afaik to try > building with MinGW > > On Sun, Mar 27, 2016 at 10:29 P

Re: [lldb-dev] LLDB /w Windows and MinGW64

2016-03-28 Thread Eran Ifrah via lldb-dev
inux code that can not be compiled under Windows (fork, exec*) >> and basically lldb-server calls the main_gdbserver instead of >> main_platform function >> >> ​Looking at the function that crashes, I see this: >> >> llvm_unreachable("Platform has no Nati

Re: [lldb-dev] LLDB /w Windows and MinGW64

2016-03-28 Thread Eran Ifrah via lldb-dev
>>> lldb_private::MainLoopBase&, >>>>> std::shared_ptr&) >>>>> 1 0x005f815d >>>>> >>>>> lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::LaunchProcess() >>>>> >>>>>

Re: [lldb-dev] LLDB /w Windows and MinGW64

2016-03-28 Thread Eran Ifrah via lldb-dev
t; but you >>>>>>>> may still run into some >>>>>>> >>>>>>> ​I got lldb-server to compile and run on Windows, however, it >>>>>>> crashes immediately and the backtrace shows this: >>>>>>> >>>>>>> 0

Re: [lldb-dev] LLDB /w Windows and MinGW64

2016-03-28 Thread Eran Ifrah via lldb-dev
>>> >>>>>>>> >>>>>>>>> You can try getting lldb-server to build and run under Windows, or >>>>>>>>> you can try to get it to use the non lldb server codepath on MinGW, >>>>>>>&

Re: [lldb-dev] LLDB /w Windows and MinGW64

2016-03-28 Thread Eran Ifrah via lldb-dev
functions are missing in MinGW implementations (like gets_s >>>>>>>>> and others :/) >>>>>>>>> ​ >>>>>>>>> >>>>>>>>> >>>>>>>>>> You can try getting lldb-server t

Re: [lldb-dev] LLDB /w Windows and MinGW64

2016-03-31 Thread Eran Ifrah via lldb-dev
e differences, so it doesn't surprise me that things don't >>>>>>>>>>> work quite >>>>>>>>>>> right. >>>>>>>>>>> >>>>>>>>>>> ​I got it to compile (I have a big patch tha

Re: [lldb-dev] LLDB /w Windows and MinGW64

2016-04-03 Thread Eran Ifrah via lldb-dev
t;> >>>>>>>>>>>>> and while We've gotten things working pretty well on Windows, >>>>>>>>>>>>> our effort has been 100% on building with msvc and/or clang-cl. >>>>>>>>>>>>> B

[lldb-dev] [lldb-mi] unable to debug GTK applications

2019-02-26 Thread Eran Ifrah via lldb-dev
Hi, I am not sure if this is the correct mailing list for this question, so excuse me if its not. I am trying a GTK application using lldb-mi, however, the application terminates immediately with the error message: @"15:47:16: Error: Unable to initialize GTK+, is DISPLAY set properly?\r\n" Runni