[Lldb-commits] [lldb] r346100 - Fix NetBSD build after "Move path resolution logic out of FileSpec"

2018-11-04 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Sun Nov 4 08:53:16 2018 New Revision: 346100 URL: http://llvm.org/viewvc/llvm-project?rev=346100&view=rev Log: Fix NetBSD build after "Move path resolution logic out of FileSpec" D53915 Modified: lldb/trunk/source/Host/netbsd/Host.cpp lldb/trunk/source/Host/netbsd/Ho

[Lldb-commits] [lldb] r324234 - Fix a crash in *NetBSD::Factory::Launch

2018-02-05 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Mon Feb 5 05:16:22 2018 New Revision: 324234 URL: http://llvm.org/viewvc/llvm-project?rev=324234&view=rev Log: Fix a crash in *NetBSD::Factory::Launch Summary: We cannot call process_up->SetState() inside the NativeProcessNetBSD::Factory::Launch function because it triggers a

[Lldb-commits] [lldb] r324251 - Sync PlatformNetBSD.cpp with Linux

2018-02-05 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Mon Feb 5 09:12:23 2018 New Revision: 324251 URL: http://llvm.org/viewvc/llvm-project?rev=324251&view=rev Log: Sync PlatformNetBSD.cpp with Linux Summary: Various changes in logging from log->Printf() to generic LLDB_LOG(). Sponsored by Reviewers: labath, joerg Reviewed B

[Lldb-commits] [lldb] r298405 - Add NetBSD case in Entry::Type::ThreadID

2017-03-21 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Tue Mar 21 12:25:47 2017 New Revision: 298405 URL: http://llvm.org/viewvc/llvm-project?rev=298405&view=rev Log: Add NetBSD case in Entry::Type::ThreadID Summary: NetBSD native threads are printed as 64-bit unsigned integers. The underlying system type of a thread identity is

[Lldb-commits] [lldb] r298406 - Enable ProcessPOSIXLog on NetBSD

2017-03-21 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Tue Mar 21 12:26:55 2017 New Revision: 298406 URL: http://llvm.org/viewvc/llvm-project?rev=298406&view=rev Log: Enable ProcessPOSIXLog on NetBSD Summary: NetBSD can share the same logging functionality with Linux and FreeBSD. Sponsored by Reviewers: labath, emaste, joerg,

[Lldb-commits] [lldb] r298407 - Enable AUXV and QPassSignals in gdb-remote for NetBSD

2017-03-21 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Tue Mar 21 12:27:59 2017 New Revision: 298407 URL: http://llvm.org/viewvc/llvm-project?rev=298407&view=rev Log: Enable AUXV and QPassSignals in gdb-remote for NetBSD Summary: NetBSD is an ELF platform and it uses Elf Auxiliary Vector like Linux and other modern BSDs. While t

[Lldb-commits] [lldb] r298408 - Add stub for PluginProcessNetBSD

2017-03-21 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Tue Mar 21 12:30:47 2017 New Revision: 298408 URL: http://llvm.org/viewvc/llvm-project?rev=298408&view=rev Log: Add stub for PluginProcessNetBSD Summary: This is the base for introduction of further features to support Process Tracing on NetBSD, in local and remote setup. Th

[Lldb-commits] [lldb] r298409 - Create instance of DynamicLoaderPOSIXDYLD on NetBSD

2017-03-21 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Tue Mar 21 12:39:15 2017 New Revision: 298409 URL: http://llvm.org/viewvc/llvm-project?rev=298409&view=rev Log: Create instance of DynamicLoaderPOSIXDYLD on NetBSD Summary: NetBSD is a modern ELF UNIX-like system. There is requires DynamicLoaderPOSIXDYLD e.g. for ELF AUXV rea

[Lldb-commits] [lldb] r298524 - Reuse appropriate Launch and Attach on NetBSD

2017-03-22 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Wed Mar 22 12:24:37 2017 New Revision: 298524 URL: http://llvm.org/viewvc/llvm-project?rev=298524&view=rev Log: Reuse appropriate Launch and Attach on NetBSD Summary: NetBSD ships with NativeProcessNetBSD inherited from NativeProcessProtocol. Link Plugins/Process/gdb-remote

[Lldb-commits] [lldb] r298810 - [LLDB] OpenBSD support

2017-03-26 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Sun Mar 26 10:34:57 2017 New Revision: 298810 URL: http://llvm.org/viewvc/llvm-project?rev=298810&view=rev Log: [LLDB] OpenBSD support Summary: Add basic OpenBSD support. This is enough to be able to analyze core dumps for OpenBSD/amd64, OpenBSD/arm, OpenBSD/arm64 and OpenBSD

[Lldb-commits] [lldb] r298953 - Add support for tracing hello-world application on NetBSD

2017-03-28 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Tue Mar 28 17:43:17 2017 New Revision: 298953 URL: http://llvm.org/viewvc/llvm-project?rev=298953&view=rev Log: Add support for tracing hello-world application on NetBSD Summary: This patch is a stripped down from features a NetBSD process code (patch is kept under 2k LOC). Th

[Lldb-commits] [lldb] r298970 - Remove dead include from the NetBSD code.

2017-03-28 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Tue Mar 28 20:10:21 2017 New Revision: 298970 URL: http://llvm.org/viewvc/llvm-project?rev=298970&view=rev Log: Remove dead include from the NetBSD code. Modified: lldb/trunk/source/Host/netbsd/Host.cpp Modified: lldb/trunk/source/Host/netbsd/Host.cpp URL: http://llvm.o

[Lldb-commits] [lldb] r299023 - Add NetBSD path for Debugging Information in Separate Files

2017-03-29 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Wed Mar 29 14:52:24 2017 New Revision: 299023 URL: http://llvm.org/viewvc/llvm-project?rev=299023&view=rev Log: Add NetBSD path for Debugging Information in Separate Files Summary: NetBSD stores debug information files in the `/usr/libdata/debug` path. This change fixes debug

[Lldb-commits] [lldb] r299109 - Battery of NetBSD support improvements

2017-03-30 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Thu Mar 30 15:25:29 2017 New Revision: 299109 URL: http://llvm.org/viewvc/llvm-project?rev=299109&view=rev Log: Battery of NetBSD support improvements Summary: Include initial support for: - single step mode (PT_STEP) - single step trap handling (TRAP_TRACE) - exec() trap (

[Lldb-commits] [lldb] r299783 - Correct environ parsing on NetBSD

2017-04-07 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Fri Apr 7 11:45:36 2017 New Revision: 299783 URL: http://llvm.org/viewvc/llvm-project?rev=299783&view=rev Log: Correct environ parsing on NetBSD Summary: This replaces old code in Host::GetEnvironment for NetBSD with the version from Linux. This makes parsing environment vari

Re: [Lldb-commits] [PATCH] D31825: Fix loading core(5) files from NetBSD 7.99.67

2017-04-11 Thread Kamil Rytarowski via lldb-commits
Right, This patch happened to does not fully work for me (NetBSD-CORE@ switches were skipped), I will be back to it once I will get my current efforts done on watchpoints and fpr. Thank you for the initial scratch! On 11.04.2017 17:14, Zachary Turner wrote: > Just to be clear, this patch was onl

[Lldb-commits] [lldb] r300548 - Introduce FPR and Debug Registers/NetBSD/amd64 support

2017-04-18 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Tue Apr 18 07:53:35 2017 New Revision: 300548 URL: http://llvm.org/viewvc/llvm-project?rev=300548&view=rev Log: Introduce FPR and Debug Registers/NetBSD/amd64 support Summary: This code offers Debug Registers (80386) model in LLDB/amd64. This is initial support and has one is

[Lldb-commits] [lldb] r300853 - Resurrect LLDB Standalone build on NetBSD

2017-04-20 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Thu Apr 20 11:35:36 2017 New Revision: 300853 URL: http://llvm.org/viewvc/llvm-project?rev=300853&view=rev Log: Resurrect LLDB Standalone build on NetBSD Include CheckIncludeFile for check_include_file() in CMake. Detect in CMake. This header is available on NetBSD. Modifie

Re: [Lldb-commits] [PATCH] D32149: Correct handling NetBSD core(5) files with threads

2017-04-21 Thread Kamil Rytarowski via lldb-commits
Thanks! I'm working on this, I will test new code soon and submit to review. On 20.04.2017 15:51, Zachary Turner wrote: > Note that getAsInteger returns false on success, so be careful! > On Thu, Apr 20, 2017 at 6:09 AM Pavel Labath via Phabricator > mailto:revi...@reviews.llvm.org>> wrote: > >

Re: [Lldb-commits] [PATCH] D32149: Correct handling NetBSD core(5) files with threads

2017-04-27 Thread Kamil Rytarowski via lldb-commits
Thanks, I will give it a try! On 27.04.2017 17:59, Zachary Turner wrote: > In case it's not obvious, note the space in the command I said to run. > `git-clang-format` has a dash, and when you run `git clang-format` > (with a space), it will run the file with the dash. > > On Thu, Apr 27, 2017 at

[Lldb-commits] [lldb] r301603 - Resurrect the standalone build of LLDB

2017-04-27 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Thu Apr 27 19:29:54 2017 New Revision: 301603 URL: http://llvm.org/viewvc/llvm-project?rev=301603&view=rev Log: Resurrect the standalone build of LLDB Switch includes "llvm/Config/config.h" to "llvm/Config/llvm-config.h". Tested on NetBSD 7.99.70 amd64 Modified: lldb/tru

[Lldb-commits] [lldb] r303823 - Correct compiler warnings and Debug build of the NetBSD target

2017-05-24 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Wed May 24 18:59:50 2017 New Revision: 303823 URL: http://llvm.org/viewvc/llvm-project?rev=303823&view=rev Log: Correct compiler warnings and Debug build of the NetBSD target Correct files present only in the NetBSD build. Modified: lldb/trunk/source/Plugins/Process/NetBS

[Lldb-commits] [lldb] r303907 - Fix bug #28898

2017-05-25 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Thu May 25 15:12:30 2017 New Revision: 303907 URL: http://llvm.org/viewvc/llvm-project?rev=303907&view=rev Log: Fix bug #28898 lldb: libedit produces garbled, unusable input on Linux Apply patch from Christos Zoulas, upstream libedit developer. It has been tested on NetBSD/amd

Re: [Lldb-commits] [lldb] r303907 - Fix bug #28898

2017-05-29 Thread Kamil Rytarowski via lldb-commits
Do you offer shell account? I don't have Linux and/or s390x to debug it. On 29.05.2017 17:17, Ulrich Weigand via lldb-commits wrote: > Hello, > > It appears this commit broke the > EditlineTestFixture.EditlineReceivesSingleLineText > unit test on s390x-linux. The test now simply hangs (hanging t

[Lldb-commits] [lldb] r305794 - Correct syntax mistake hidden in assert(3)

2017-06-20 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Tue Jun 20 08:51:06 2017 New Revision: 305794 URL: http://llvm.org/viewvc/llvm-project?rev=305794&view=rev Log: Correct syntax mistake hidden in assert(3) wait_status cannot be compared with WaitStatus::Stop, go for wait_status.type. Modified: lldb/trunk/source/Plugins/Pr

[Lldb-commits] [PATCH] D23977: Support of lldb on Kfreebsd

2016-10-11 Thread Kamil Rytarowski via lldb-commits
krytarowski added inline comments. Comment at: cmake/modules/LLDBConfig.cmake:414 + +find_package(Backtrace REQUIRED) tfiala wrote: > Hi Sylvestre! > > It's hard to tell without more context, but it looks like this location has > most/all configurations going t

[Lldb-commits] [PATCH] D25668: [cmake] Respect LLVM_CMAKE_PATH in stand-alone builds for GetSVN.cmake

2016-10-17 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. This change makes sense for stand-alone builds, but if it's possible to remove branching in this CMake file - please go for it. https://reviews.llvm.org/D25668 ___ lldb-commits mailing list lldb-commits@lists.llvm.org h

[Lldb-commits] [PATCH] D25680: [cmake] Make dependencies of lldb libraries private, take 2

2016-10-18 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. Looks fine, thanks. Repository: rL LLVM https://reviews.llvm.org/D25680 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D25830: Search for llvm-config in LLDB_PATH_TO_LLVM_BUILD first

2016-10-20 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. I think it's possible to specify `-DLLVM_CONFIG:PATH` option, if that does the job. Repository: rL LLVM https://reviews.llvm.org/D25830 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/

[Lldb-commits] [PATCH] D25756: FreeBSD ARM support for software single step.

2016-10-21 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. NetBSD is still focused on amd64-only port. I start a funded project November 1st on getting x86 process plugin to work. More details here: http://blog.netbsd.org/tnf/entry/funded_contract_2016_2017 Estimated time is 4 months full-time. However there every help is

[Lldb-commits] [PATCH] D25756: FreeBSD ARM support for software single step.

2016-10-21 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. @emaste What's the status of remote debugging on FreeBSD? Repository: rL LLVM https://reviews.llvm.org/D25756 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/ll

[Lldb-commits] [PATCH] D25756: FreeBSD ARM support for software single step.

2016-10-21 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. I just scrolled the discussion so it's not really started. Thanks. My plan is to work on ptrace(2) for about a month. Then I will take the FreeBSD code as it is and port to NetBSD trying to make it functional. This is difficult part as there is everywhere OS specifi

Re: [Lldb-commits] LLGS for Free/NetBSD (was: Re: [PATCH] D25756: FreeBSD ARM support for software single step.)

2016-10-24 Thread Kamil Rytarowski via lldb-commits
On 24.10.2016 20:38, Ed Maste wrote: > On 24 October 2016 at 06:26, Pavel Labath wrote: >> >> It's not my place to tell you how to work, but I'd recommend a >> different approach to this. If you base your work on the current >> FreeBSD in-process plugin, then when you get around to actually >> imp

[Lldb-commits] [lldb] r293391 - Recognize Real-Time Signals on NetBSD

2017-01-28 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Sat Jan 28 14:01:53 2017 New Revision: 293391 URL: http://llvm.org/viewvc/llvm-project?rev=293391&view=rev Log: Recognize Real-Time Signals on NetBSD Summary: Real-Time Signals are available in NetBSD-current and will land NetBSD 8.0. Older stable versions of NetBSD will not b

[Lldb-commits] [lldb] r293392 - Switch HostInfoNetBSD::GetProgramFileSpec to sysctl(7)

2017-01-28 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Sat Jan 28 14:04:53 2017 New Revision: 293392 URL: http://llvm.org/viewvc/llvm-project?rev=293392&view=rev Log: Switch HostInfoNetBSD::GetProgramFileSpec to sysctl(7) Summary: Remove dependency on the proc (/proc) filesystem, which is optional. KERN_PROC_PATHNAME is available

[Lldb-commits] [lldb] r293625 - Add NetBSD support in Host::GetCurrentThreadID

2017-01-31 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Tue Jan 31 07:38:42 2017 New Revision: 293625 URL: http://llvm.org/viewvc/llvm-project?rev=293625&view=rev Log: Add NetBSD support in Host::GetCurrentThreadID Summary: To retrieve the native thread ID there must be called _lwp_self(). Sponsored by Reviewers: joerg, clayborg

[Lldb-commits] [lldb] r293768 - Transform ProcessLauncherLinux to ProcessLauncherPosixFork

2017-02-01 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Wed Feb 1 08:30:40 2017 New Revision: 293768 URL: http://llvm.org/viewvc/llvm-project?rev=293768&view=rev Log: Transform ProcessLauncherLinux to ProcessLauncherPosixFork Summary: Use ProcessLauncherPosixFork in Linux and NetBSD. Changes to ProcessLauncherLinux: - Limit pers

[Lldb-commits] [lldb] r293770 - Document that LaunchProcessPosixSpawn is used on NetBSD

2017-02-01 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Wed Feb 1 08:35:08 2017 New Revision: 293770 URL: http://llvm.org/viewvc/llvm-project?rev=293770&view=rev Log: Document that LaunchProcessPosixSpawn is used on NetBSD No functional change. Sponsored by Modified: lldb/trunk/source/Host/common/Host.cpp Modified: lldb/tr

[Lldb-commits] [lldb] r293774 - Do not pass non-POD type variables through variadic function

2017-02-01 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Wed Feb 1 10:02:55 2017 New Revision: 293774 URL: http://llvm.org/viewvc/llvm-project?rev=293774&view=rev Log: Do not pass non-POD type variables through variadic function Summary: Cannot pass object of non-POD type 'const CMIUtilString' through variadic function. This beha

[Lldb-commits] [lldb] r293895 - Fix multi-process-driver.cpp build on NetBSD

2017-02-02 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Thu Feb 2 09:05:56 2017 New Revision: 293895 URL: http://llvm.org/viewvc/llvm-project?rev=293895&view=rev Log: Fix multi-process-driver.cpp build on NetBSD Summary: Include for strcmp(3) and memset(3). Sponsored by Reviewers: joerg, clayborg, emaste, labath Reviewed By:

[Lldb-commits] [lldb] r294071 - Install six.py conditionally

2017-02-03 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Fri Feb 3 18:20:24 2017 New Revision: 294071 URL: http://llvm.org/viewvc/llvm-project?rev=294071&view=rev Log: Install six.py conditionally Summary: The current version of LLDB installs six.py into global python library directory. This approach produces conflicts downstream

[Lldb-commits] [lldb] r294145 - Synchronize PlatformNetBSD with Linux

2017-02-05 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Sun Feb 5 15:32:38 2017 New Revision: 294145 URL: http://llvm.org/viewvc/llvm-project?rev=294145&view=rev Log: Synchronize PlatformNetBSD with Linux Summary: Update the code to the new world code. These changes are needed for remote process plugin. Sponsored by Reviewers:

[Lldb-commits] [lldb] r294202 - Switch std::call_once to llvm::call_once

2017-02-06 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Mon Feb 6 11:55:02 2017 New Revision: 294202 URL: http://llvm.org/viewvc/llvm-project?rev=294202&view=rev Log: Switch std::call_once to llvm::call_once Summary: The std::call_once implementation in libstdc++ has problems on few systems: NetBSD, OpenBSD and Linux PPC. LLVM sh

[Lldb-commits] [lldb] r295400 - Add myself to CODE_OWNERS.txt for NetBSD

2017-02-16 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Thu Feb 16 19:58:30 2017 New Revision: 295400 URL: http://llvm.org/viewvc/llvm-project?rev=295400&view=rev Log: Add myself to CODE_OWNERS.txt for NetBSD Modified: lldb/trunk/CODE_OWNERS.txt Modified: lldb/trunk/CODE_OWNERS.txt URL: http://llvm.org/viewvc/llvm-project/lld

[Lldb-commits] [lldb] r296070 - Switch NetBSD from paccept(2) to accept4(2)

2017-02-23 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Thu Feb 23 19:51:38 2017 New Revision: 296070 URL: http://llvm.org/viewvc/llvm-project?rev=296070&view=rev Log: Switch NetBSD from paccept(2) to accept4(2) Summary: NetBSD 8.0 will ship with accept4(2) in libc wrapping paccept(2). This change reduces needless difference with

[Lldb-commits] [lldb] r296071 - Introduce support for Debug Registers in RegisterContextNetBSD_x86_64

2017-02-23 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Thu Feb 23 19:53:45 2017 New Revision: 296071 URL: http://llvm.org/viewvc/llvm-project?rev=296071&view=rev Log: Introduce support for Debug Registers in RegisterContextNetBSD_x86_64 Summary: NetBSD 7.99.62 introduced Debug Registers interface similar to the FreeBSD one. This i

[Lldb-commits] [lldb] r296360 - Support NetBSD Thread ID in lldb-server tests

2017-02-27 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Mon Feb 27 11:52:48 2017 New Revision: 296360 URL: http://llvm.org/viewvc/llvm-project?rev=296360&view=rev Log: Support NetBSD Thread ID in lldb-server tests Summary: Native Thread ID is retrieved with _lwp_self() on NetBSD. The returned value is of type int32_t, but for cons

[Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-01 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added a reviewer: joerg. krytarowski added a subscriber: lldb-commits. krytarowski set the repository for this revision to rL LLVM. This adds platform code without the cmake/gmake glue to the existing infrastructure. The missing and incompatibility

Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-01 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. Primary reason to skip for now build scripts is that this patch takes long to be landed. http://reviews.llvm.org/D12994 I don't want to submit a diff to patches sources... Repository: rL LLVM http://reviews.llvm.org/D13334 ___

Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-01 Thread Kamil Rytarowski via lldb-commits
krytarowski added inline comments. Comment at: source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp:1 @@ +1,2 @@ +//===-- PlatformNetBSD.cpp -*- C++ -*-===// +// labath wrote: > This platform code looks like it was copy-pasted from

Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-01 Thread Kamil Rytarowski via lldb-commits
krytarowski added inline comments. Comment at: source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp:1 @@ +1,2 @@ +//===-- PlatformNetBSD.cpp -*- C++ -*-===// +// labath wrote: > krytarowski wrote: > > labath wrote: > > > This platf

Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-01 Thread Kamil Rytarowski via lldb-commits
krytarowski added inline comments. Comment at: source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp:1 @@ +1,2 @@ +//===-- PlatformNetBSD.cpp -*- C++ -*-===// +// labath wrote: > krytarowski wrote: > > labath wrote: > > > krytarowsk

Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-01 Thread Kamil Rytarowski via lldb-commits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 01.10.2015 23:20, Joerg Sonnenberger via lldb-commits wrote: > On Thu, Oct 01, 2015 at 10:41:46AM +, Pavel Labath via > lldb-commits wrote: >> This platform code looks like it was copy-pasted from >> PlatformFreeBSD. Do you anticipate making s

Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-02 Thread Kamil Rytarowski via lldb-commits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02.10.2015 10:07, Ed Maste wrote: > On 1 October 2015 at 23:09, Kamil Rytarowski via lldb-commits > wrote: >> >> Yes, please! Better incomplete support in the source trees then >> once almost complete but rotting in

Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-08 Thread Kamil Rytarowski via lldb-commits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02.10.2015 12:15, Kamil Rytarowski via lldb-commits wrote: > On 02.10.2015 10:07, Ed Maste wrote: >> On 1 October 2015 at 23:09, Kamil Rytarowski via lldb-commits >> wrote: >>> >>> Yes, please! Better incom

Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-11 Thread Kamil Rytarowski via lldb-commits
krytarowski updated this revision to Diff 37077. Repository: rL LLVM http://reviews.llvm.org/D13334 Files: include/lldb/Host/Config.h include/lldb/Host/HostInfo.h include/lldb/Host/HostNativeThread.h include/lldb/Host/HostNativeThreadForward.h include/lldb/Host/netbsd/Config.h incl

[Lldb-commits] [PATCH] D13707: Remove definition of ~PlatformNetBSD(), since its declaration is marked as '= default'

2015-10-13 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added a reviewer: joerg. krytarowski added a subscriber: lldb-commits. krytarowski set the repository for this revision to rL LLVM. Local definition of ~PlatformNetBSD() results with a compiler error. Repository: rL LLVM http://reviews.llvm.org/D1

Re: [Lldb-commits] [PATCH] D13707: Remove definition of ~PlatformNetBSD(), since its declaration is marked as '= default'

2015-10-13 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. Thank you! Repository: rL LLVM http://reviews.llvm.org/D13707 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D13711: Add initial CMake glue for the NetBSD platform

2015-10-13 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added a reviewer: joerg. krytarowski added a subscriber: lldb-commits. krytarowski set the repository for this revision to rL LLVM. These changes aren't everything what is needed for the CMake target, but it's significantly approaching it. These cha

[Lldb-commits] [PATCH] D13715: Add initial gmake glue for the NetBSD platform

2015-10-13 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added a reviewer: joerg. krytarowski added a subscriber: lldb-commits. krytarowski set the repository for this revision to rL LLVM. Herald added subscribers: srhines, danalbert, tberghammer. These changes aren't everything what is needed for the autot

Re: [Lldb-commits] [PATCH] D12994: Improve support of the ncurses dependency on NetBSD

2015-10-14 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. There is already preliminary NetBSD support merged with trunk, I need this commit (or altered version of it) to build lldb against ncurses on this platform. Thank you for your time. Repository: rL LLVM http://reviews.llvm.org/D12994 _

Re: [Lldb-commits] New llvm build server account request

2015-10-20 Thread Kamil Rytarowski via lldb-commits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello Ying, I'm in trouble with my attempts to connect my NetBSD/amd64 machine to the LLDB/LLVM build zone. My host is NetBSD-7.0 (with buildslave ID: lldb-amd64-ninja-netbsd7). I use pkgsrc (2015Q3) to ship packages. I'm attaching a list of instal

Re: [Lldb-commits] New llvm build server account request

2015-10-20 Thread Kamil Rytarowski via lldb-commits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Where can I find this updateScripts.sh? It's missing under your link: https://android.googlesource.com/platform/external/lldb-utils/+/lldb-mas ter-dev/buildbotScripts/bashShell/svntotbuild/ On 21.10.2015 00:29, Ying Chen wrote: > Hello Kamil, Galin

Re: [Lldb-commits] New llvm build server account request

2015-10-20 Thread Kamil Rytarowski via lldb-commits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 It just appeared there. I took your updateScripts.sh, moved it to my $PATH. Is it everything? Will the rest of the scripts from https://android.googlesource.com/platform/external/lldb-utils/+/lldb-mas ter-dev/buildbotScripts/bashShell/svntotbuild/

Re: [Lldb-commits] New llvm build server account request

2015-10-20 Thread Kamil Rytarowski via lldb-commits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 21.10.2015 02:03, Ying Chen wrote: > > > On Tue, Oct 20, 2015 at 4:46 PM, Kamil Rytarowski > wrote: > > It just appeared there. > > I took your updateScripts.sh, moved it to my $PATH. Is it > everything? > > >> Please a

Re: [Lldb-commits] New llvm build server account request

2015-10-20 Thread Kamil Rytarowski via lldb-commits
o install NetBSD locally and adapt the scripts for this system. Ping-pong overmails can take another 2 weeks. On 21.10.2015 02:05, Kamil Rytarowski via lldb-commits wrote: > On 21.10.2015 02:03, Ying Chen wrote: > > >> On Tue, Oct 20, 2015 at 4:46 PM, Kamil Rytarowski > &l

Re: [Lldb-commits] New llvm build server account request

2015-10-20 Thread Kamil Rytarowski via lldb-commits
win) OS=darwin;; > *_NT-*) OS=windows;; esac > > There is need for NetBSD) OS=netbsd;; and new file > build-netbsd.sh. > > This is why, I suggested you to install NetBSD locally and adapt > the scripts for this system. Ping-pong overmails can take another 2 > weeks. >

Re: [Lldb-commits] New llvm build server account request

2015-10-20 Thread Kamil Rytarowski via lldb-commits
x27;/bin/bash' to /usr/bin/env bash' it will be more portable and I will drop my /bin/bash linkage. Thank you in advance, On 21.10.2015 03:23, Kamil Rytarowski via lldb-commits wrote: > My $CC/$CXX is GCC 4.8.5. > > I have good reason for it - to not intermix system-wide and >

Re: [Lldb-commits] [PATCH] D13715: Add initial gmake glue for the NetBSD platform

2015-10-20 Thread Kamil Rytarowski via lldb-commits
krytarowski updated this revision to Diff 37957. krytarowski added a comment. Typos. Repository: rL LLVM http://reviews.llvm.org/D13715 Files: lib/Makefile source/Host/Makefile source/Host/netbsd/Makefile source/Plugins/Makefile source/Plugins/Platform/Makefile source/Plugins/Pla

Re: [Lldb-commits] [PATCH] D12995: Add support for lldb config.h and detect ncurses' include path

2015-10-21 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. This ncurses header is now the blocker for buildslave. [2817/3214] Building CXX object tools/lldb/source/Core/CMakeFiles/lldbCore.dir/IOHandler.cpp.o FAILED: /usr/bin/g++ -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_

Re: [Lldb-commits] [Diffusion] rL250335: Fix codesign command with cmake.

2015-10-21 Thread Kamil Rytarowski via lldb-commits
krytarowski added a subscriber: krytarowski. krytarowski added a comment. cmake_minimum_required(VERSION 2.8) in CMakeLists.txt Users: sas (Author) dawn (Auditor) http://reviews.llvm.org/rL250335 ___ lldb-commits mailing list lldb-commits@li

Re: [Lldb-commits] [PATCH] D12994: Improve support of the ncurses dependency on NetBSD

2015-10-23 Thread Kamil Rytarowski via lldb-commits
krytarowski abandoned this revision. krytarowski added a comment. Closing. We are going for reuse of the NetBSD native curses(8) library. The reason for it is limit of detecting ncurses on various systems. For example, Ubuntu ships with `` and linkage from ``, `ncurses.h` isn't detected by CMak

Re: [Lldb-commits] [PATCH] D12995: Add support for lldb config.h and detect ncurses' include path

2015-10-23 Thread Kamil Rytarowski via lldb-commits
krytarowski abandoned this revision. krytarowski added a comment. Closing. We are going for reuse of the NetBSD native curses(8) library. The reason for it is limit of detecting ncurses on various systems. For example, Ubuntu ships with `` and linkage from ``, `ncurses.h` isn't detected by CMak

[Lldb-commits] [PATCH] D14037: Reuse native curses(8) library on NetBSD

2015-10-23 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added subscribers: lldb-commits, joerg. krytarowski set the repository for this revision to rL LLVM. The reason for it is limit of detecting ncurses on various systems. For example, Ubuntu ships with and linkage from , isn't detected by CMake. Detec

Re: [Lldb-commits] [PATCH] D14037: Reuse native curses(8) library on NetBSD

2015-10-23 Thread Kamil Rytarowski via lldb-commits
krytarowski added a subscriber: brucem. krytarowski added a comment. Bruce was involved in the older version with `config.h`. Repository: rL LLVM http://reviews.llvm.org/D14037 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://list

Re: [Lldb-commits] [PATCH] D14042: Add more NetBSD platform glue for lldb

2015-10-24 Thread Kamil Rytarowski via lldb-commits
krytarowski added a subscriber: brucem. krytarowski added a comment. +brucem, committer of the previous NetBSD glue Repository: rL LLVM http://reviews.llvm.org/D14042 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org

Re: [Lldb-commits] [PATCH] D14042: Add more NetBSD platform glue for lldb

2015-10-28 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. I have successfully compiled this patch on FreeBSD. $ uname -a FreeBSD 10.1-RELEASE-p19 FreeBSD 10.1-RELEASE-p19 #0: Sat Aug 22 03:55:09 UTC 2015 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Repository: rL LLVM http://reviews.

Re: [Lldb-commits] [PATCH] D14037: Reuse native curses(8) library on NetBSD

2015-10-28 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. I have successfully compiled this patch on FreeBSD. $ uname -a FreeBSD 10.1-RELEASE-p19 FreeBSD 10.1-RELEASE-p19 #0: Sat Aug 22 03:55:09 UTC 2015 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Repository: rL LLVM http://reviews.

Re: [Lldb-commits] [PATCH] D14182: Centos 5 compile fixes for lldb

2015-10-29 Thread Kamil Rytarowski via lldb-commits
krytarowski added a subscriber: krytarowski. Comment at: tools/lldb/source/Host/common/File.cpp:301 @@ -299,1 +300,3 @@ + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23) if (options & eOpenOptionCloseOnExec) labath wrote: > This needs to evaluate to tru

Re: [Lldb-commits] [PATCH] D14182: Centos 5 compile fixes for lldb

2015-10-29 Thread Kamil Rytarowski via lldb-commits
krytarowski requested changes to this revision. krytarowski added a reviewer: krytarowski. Comment at: tools/lldb/source/Host/posix/PipePosix.cpp:32 @@ -31,1 +31,3 @@ +#include + Is this file just for Linux? Comment at: tools/lldb/source/Host/

Re: [Lldb-commits] [PATCH] D14182: Centos 5 compile fixes for lldb

2015-10-29 Thread Kamil Rytarowski via lldb-commits
krytarowski added inline comments. Comment at: tools/lldb/source/Host/posix/PipePosix.cpp:43 @@ -40,3 +42,3 @@ // TODO: Add more platforms that support pipe2. -#if defined(__linux__) || (defined(__FreeBSD__) && __FreeBSD__ >= 10) || defined(__NetBSD__) +#if (defined(__linux__) &

Re: [Lldb-commits] [PATCH] D14182: Centos 5 compile fixes for lldb

2015-10-29 Thread Kamil Rytarowski via lldb-commits
krytarowski added inline comments. Comment at: tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp:72 @@ -71,1 +71,3 @@ +// Missing defines due to bug: https://sourceware.org/bugzilla/show_bug.cgi?id=4125 + brucem wrote: > This bug was fixed in 2007,

Re: [Lldb-commits] [PATCH] D14037: Reuse native curses(8) library on NetBSD

2015-11-05 Thread Kamil Rytarowski via lldb-commits
krytarowski updated this revision to Diff 39440. krytarowski added a comment. Rebase to master Repository: rL LLVM http://reviews.llvm.org/D14037 Files: source/Core/IOHandler.cpp Index: source/Core/IOHandler.cpp === --- sourc

Re: [Lldb-commits] [PATCH] D14042: Add more NetBSD platform glue for lldb

2015-11-07 Thread Kamil Rytarowski via lldb-commits
krytarowski updated this revision to Diff 39639. krytarowski added a comment. Rebase to head Repository: rL LLVM http://reviews.llvm.org/D14042 Files: cmake/LLDBDependencies.cmake cmake/modules/LLDBConfig.cmake source/Initialization/SystemInitializerCommon.cpp source/lldb.cpp tools

[Lldb-commits] [PATCH] D14528: Allow to override python-config executable name from command line

2015-11-09 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added subscribers: joerg, lldb-commits, brucem. krytarowski set the repository for this revision to rL LLVM. pkgsrc (on NetBSD) ships with python2.7-config. Repository: rL LLVM http://reviews.llvm.org/D14528 Files: Makefile lib/Makefile scr

[Lldb-commits] [PATCH] D14529: Use library discovery for curses and panel

2015-11-09 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added subscribers: lldb-commits, joerg, brucem. krytarowski set the repository for this revision to rL LLVM. This approach is tunable with custom paths for curses library. It also detects whether there are requirements met. I make use of it on NetBS

[Lldb-commits] [PATCH] D14530: Plug-in PlatformNetBSD initializer and terminator

2015-11-09 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added subscribers: brucem, lldb-commits, joerg. krytarowski set the repository for this revision to rL LLVM. Other platform parts needed to build this code are already merged. Repository: rL LLVM http://reviews.llvm.org/D14530 Files: source/Ini

[Lldb-commits] [PATCH] D14531: Add more autotools/gmake NetBSD glue

2015-11-10 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added subscribers: lldb-commits, brucem, joerg. krytarowski set the repository for this revision to rL LLVM. This diff approaches building the project natively on NetBSD with the autoconf/gmake framework. Repository: rL LLVM http://reviews.llvm.o

Re: [Lldb-commits] [PATCH] D14531: Add more autotools/gmake NetBSD glue

2015-11-10 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. In http://reviews.llvm.org/D14531#285997, @tberghammer wrote: > I have no objection against this change but considering that LLVM plans to > remove the autotools/gmake support after branching the 3.8 release (most > likely in January 2016) it would be good if you ca

[Lldb-commits] [PATCH] D14689: Embed libpanel(3) for NetBSD-7.0

2015-11-15 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added reviewers: clayborg, emaste. krytarowski added subscribers: lldb-commits, brucem. krytarowski set the repository for this revision to rL LLVM. The libpanel(3) library was developed after the NetBSD-7.0 release. This curses' extension lib is used

Re: [Lldb-commits] [PATCH] D14689: Embed libpanel(3) for NetBSD-7.0

2015-11-16 Thread Kamil Rytarowski via lldb-commits
krytarowski abandoned this revision. krytarowski added a comment. I will go with other way around. If curses(3) or libpanel(3) is missing, disable the curses(3) option for LLDB. Repository: rL LLVM http://reviews.llvm.org/D14689 ___ lldb-commits

[Lldb-commits] [PATCH] D14740: Define LLDB_DISABLE_CURSES as a fallback for missing curses(3) or panel(3)

2015-11-16 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added reviewers: clayborg, emaste. krytarowski added subscribers: lldb-commits, joerg, brucem. krytarowski set the repository for this revision to rL LLVM. This enables build on NetBSD-7.0. It would be nice to have a fall-back for externally provided

Re: [Lldb-commits] [PATCH] D14740: Define LLDB_DISABLE_CURSES as a fallback for missing curses(3) or panel(3)

2015-11-17 Thread Kamil Rytarowski via lldb-commits
krytarowski abandoned this revision. krytarowski added a comment. I resign from this change. I will just go for -DLLDB_DISABLE_CURSES from command line on NetBSD-7.0. Repository: rL LLVM http://reviews.llvm.org/D14740 ___ lldb-commits mailing li

Re: [Lldb-commits] New llvm build server account request

2015-11-17 Thread Kamil Rytarowski via lldb-commits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello Ying, Regarding the NetBSD buildbot for LLDB one NetBSD we need a tweak. Please test for the existence (only on NetBSD) of a file /usr/include/panel.h. If it's missing please add '-DLLDB_DISABLE_CURSES' to CMake configure arguments. if [ ! -

Re: [Lldb-commits] New llvm build server account request

2015-11-17 Thread Kamil Rytarowski via lldb-commits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I've noted the first set of successfully built LLDB instances on NetBSD! http://lab.llvm.org:8014/builders/lldb-amd64-ninja-netbsd7/builds/973 I've stopped the buildbot on the Staging server and redirected port to port 9990. There are some issues

Re: [Lldb-commits] New llvm build server account request

2015-11-17 Thread Kamil Rytarowski via lldb-commits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 It's fixed. It was my fault as I forgot to make updateScripts.sh available via PATH. Buildslave works properly. Thank you! On 18.11.2015 03:31, Kamil Rytarowski via lldb-commits wrote: > I've noted the first set of successful

Re: [Lldb-commits] [PATCH] D14530: Plug-in PlatformNetBSD initializer and terminator

2015-11-18 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. Are we ready to land it? Without this patch I cannot launch lldb. Repository: rL LLVM http://reviews.llvm.org/D14530 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/list

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Kamil Rytarowski via lldb-commits
krytarowski added a subscriber: krytarowski. krytarowski added a comment. Not long ago we rejected dynamic dependency on `curses`(3), as a fall-back for NetBSD (without `libpanel`(3) in the 7.0 release). Why doing the similar thing with swig is fine? Why are we abstracting swig when there is no

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. I dislike delegating jobs (or hiding problems) of CMake (assuming that autoconf/gmake is already dead) to external scripts like Python ones. In the goal, I plan to add LLDB in the NetBSD base (next to LLVM and Clang) where there is no Python at all. In FreeBSD there

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. Sure, I'm just giving general feedback. From a user perspective I want to get yes/no information whether I need swig or not, if so what version. If we allow Python, I don't see any reason to not allowing swig. if some version gives you problems (license, bad code g

  1   2   3   >