- User Since
- Aug 30 2015, 11:51 AM (86 w, 1 d)
I cannot reproduce it locally.
I have plan to revisit corresponding files in NetBSD and switch from kvm(3) to sysctl(3). But this is lower priority than Process Plugin right now.
Sat, Apr 22
This is valid for NetBSD as well.
Fri, Apr 21
Fix handling executable and shared library triple detection.
Thu, Apr 20
Wed, Apr 19
BSD script(1) is incompatible with the GNU one, so I prepared a quick port to Linux:
Fix from pkgsrc-wip to resurrect LLDB Standalone build in SVN r. 300654.
Tue, Apr 18
Mon, Apr 17
Is this just GNU specific? BSD moved to 64-bit off_t on 32-bit platforms 20+ years ago.
Sun, Apr 16
I will fix the original problem differently. Thanks for help!
Sat, Apr 15
Add FPR support.
Fri, Apr 14
Tue, Apr 11
While there there are candidates like pipe2(2) in source/Host/posix/PipePosix.cpp.
I might need some guidance to address the asserts appropriately in finite time.
Mon, Apr 10
Thank you for working on it!
Sat, Apr 8
Other BSDs work.
For the reference, I uploaded FreeBSD/amd64 and OpenBSD/i386 core(5) files:
Hmm still wrong.
Fri, Apr 7
Example core(5) file:
Thu, Apr 6
Thu, Mar 30
Thanks! I noted that I introduced some bugs.. but I will fix them in future revisions. I will move on to threads now. FPR/watchpoints will be done later, on the cost on adding some code for cores and helping out with base system work.
Apply changes from review. No visible regressions in "check-lldb".
Build for me:
Thanks, I'm going to test it.
Right, it's no LLDB....
Wed, Mar 29
Does NetBSD need it too?
I think I will start the threading segment with proper handling of core(5) files. It looks like the simplest start point.
Tue, Mar 28
Adding Jim as a reviewer, since Pavel is mostly out of the keyboard for longer time.
Current core(5) file format is a subject to change (AUXV can be shortened)... I'm working on the final nits for the NetBSD-8 interfaces.
This code is used as a base for further improvements, I'm going to commit it... debugging hello world still works.
Apply changes from review.
Sun, Mar 26
Right now I'm not sure how to optimize reading GPR. If possible I would reschedule it for later.
Mar 24 2017
In general it looks good.
Mar 22 2017
With x86_64 general purpose registers going before that.
Next, I will work on a code to extend the NetBSD Process Plugin from a stub to a version that actually works.
Mar 21 2017
This approach is easier for my to understand each change and make sure that it's actually needed and correct (or looking like a proper solution).
There are 2 similar changes left I don't fully understand and code interfering with the OpenBSD platform addition that I will hold on a while.
Cut down the unused functions from the Native Process NetBSD Plugin.
I'm still evaluating whether to implement on the kernel side PT_SET_SIGPASS/PT_GET_SIGPASS. Some software like floating point can use it heavily.
Mar 20 2017
Mar 19 2017
I got a substantial portion of Process Plugin to work on NetBSD, to coordinate the work feel free to join IRC #lldb at OFTC -- e.g. do not waste time on FreeBSD Process Plugin.
Mar 16 2017
Thank you for this.
Thank you for your explanation. I will use approach similar to FreeBSD on NetBSD.