- User Since
- Aug 15 2016, 6:00 AM (252 w, 3 d)
Fri, Jun 4
I'm not going to put any more effort into this. If you have time and motivation to work on this, feel free to take it over.
May 12 2021
May 5 2021
May 3 2021
May 1 2021
Apr 29 2021
This changed the API of RegisterInfoPOSIX_arm64 and broke the FreeBSD plugin. I'm going to try to fix it but next time it'd be nice if you checked that the class isn't used by something before making changes to its API.
@labath, could you give me at least a rough idea how you feel about this one? I'd like to know if I need to change the test code before I start adding coredumps for more architectures.
Is this going to block all direct builds of openmp or just these that don't have an LLVM source tree handy? Also, do you really need *sources* and not just compiled libLLVM?
Apr 28 2021
Use a temporary file if path-hint is not writable.
Send path-hint to the server. Add a test.
type → op.
Apr 27 2021
Thanks for the review. I'm going to update the tests as you suggested before pushing.
Apr 26 2021
I need to implement path hints and add tests still.
Fix missing + in qSupported. Fix known stub features.
Add FreeBSD/aarch64 test.
Remove unnecessary const_cast, reformat.
Create a temporary file if path-hint is not provided.
Apr 25 2021
Apr 24 2021
Add gdb_remote_client tests for fork/vfork stop reason handling.
@labath, now's a curious problem I've seen very rarely (I mean, 1 out of 150 attempts or so):
Merged into D100206.
Synced to the Linux plugin.
Apr 23 2021
Sync to changes in the Linux plugin.
Add multiprocess to supported features.
Fix tests to include multiprocess+ in qSupported.
Add the comment for mock stuff.
Actually, add asserts for fork/vfork extensions too.
Add an assert to make sure that process doesn't report fork/vfork stop reason without multiprocess support.
Added Extension bit for multiprocess. Made fork-events and vfork-events both depend on it — i.e. be implicitly disabled if multiprocess wasn't reported as supported.
Complete set of tests.
Now with complete set of amd64 tests.
Check for thread select instructions rather than output.
Apr 22 2021
Use split code branches for i386 and amd64.
Also add FPU-specific checks to x86-32-freebsd-addr.test.
Apr 21 2021
Implemented all the requests, modulo claim that PID and TID are duplicate ;-). Also found cases for bool() with Extension stuff.
I'll try to keep this in mind. I expect to have some vacation time ~1 month from now, so maybe then ;-).
Now includes lldb-server tests.
Remove the test, update the API to pass std::unique_ptr<> instance instead of ref.
For other readers: as discussed in D100191, I've stripped client part of this (except for trivial enumerations). The server part will be used in tests but the stop reasons won't be reported to regular clients as they don't report fork-events support.
@labath, does this subset look better?
Implemented the suggested changes, including bool() use in SetEnabledExtensions(). Removed the client announcements of fork-events and vfork-events support.
Apr 19 2021
$ ls -lh *.core -rw------- 1 mgorny mgorny 13K 04-19 17:11 x86-32-freebsd.core -rw------- 1 mgorny mgorny 5,1K 04-19 17:11 x86-32-linux.core -rw------- 1 mgorny mgorny 2,7K 04-19 17:11 x86-32-netbsd.core -rw------- 1 mgorny mgorny 15K 04-19 17:11 x86-64-freebsd.core -rw------- 1 mgorny mgorny 6,6K 04-19 17:11 x86-64-linux.core -rw------- 1 mgorny mgorny 5,2K 04-19 17:11 x86-64-netbsd.core
Now includes a small-ish Python scripts to strip unnecessary data from coredumps. For now, it just strips everything but the PT_NOTE segment. Headers aren't modified, so holes are inserted before PT_NOTE segments, and the file is truncated after the last one. It uses the pyelftools library to portably read ELF headers.
Apr 16 2021
Added a unittest covering the whole server life cycle, including attaching a (mocked) process, forking, detaching a child, detaching the parent, forking from the child and detaching all processes.
Fixed the iterator, formatting and added a test for adding, running and removing multiple handlers.