Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0 |
|
#
5a658ee9 |
| 04-Sep-2024 |
David Spickett <david.spickett@linaro.org> |
[lldb][test] Skip some lldb-server tests on Windows
These are known to return errors occasionaly on our Windows on Arm bot.
|
Revision tags: llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4 |
|
#
a1bbba06 |
| 27-Feb-2024 |
David Spickett <david.spickett@linaro.org> |
[lldb][test][Windows] Fix NonStop tests on case insensitive file systems
On a case insensitive file sytem, the build dir for `test_multiple_c` and `test_multiple_C` are the same and therefore the lo
[lldb][test][Windows] Fix NonStop tests on case insensitive file systems
On a case insensitive file sytem, the build dir for `test_multiple_c` and `test_multiple_C` are the same and therefore the log files are in the same place. This means one tries to clear the log file for the other.
To fix this, make the names unique by adding the meaning of each protocol packet.
https://sourceware.org/gdb/current/onlinedocs/gdb.html/Packets.html#Packets
show more ...
|
Revision tags: llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5 |
|
#
2238dcc3 |
| 25-May-2023 |
Jonas Devlieghere <jonas@devlieghere.com> |
[NFC][Py Reformat] Reformat python files in lldb
This is an ongoing series of commits that are reformatting our Python code. Reformatting is done with `black` (23.1.0).
If you end up having problem
[NFC][Py Reformat] Reformat python files in lldb
This is an ongoing series of commits that are reformatting our Python code. Reformatting is done with `black` (23.1.0).
If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run `git checkout --ours <yourfile>` and then reformat it with black.
RFC: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style
Differential revision: https://reviews.llvm.org/D151460
show more ...
|
Revision tags: llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, working, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init |
|
#
cd18e2ea |
| 21-Jul-2022 |
Pavel Labath <pavel@labath.sk> |
[lldb/test] Fix flakyness in TestNonStop.test_stdio
The test was assuming that the output will come in two messages. The truth is that it will come in **at least** two messages.
|
#
fc92f114 |
| 15-Jul-2022 |
Michał Górny <mgorny@moritz.systems> |
[lldb] [test] Skip test_leave_nonstop on Windows
|
#
c732afa2 |
| 30-Jun-2022 |
Michał Górny <mgorny@moritz.systems> |
[lldb] [llgs] Fix disabling non-stop mode
Stop all processes and clear notification queues when disabling non-stop mode. Ensure that no stop notifications are sent for processes stopped due to the
[lldb] [llgs] Fix disabling non-stop mode
Stop all processes and clear notification queues when disabling non-stop mode. Ensure that no stop notifications are sent for processes stopped due to the mode switch.
Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D128893
show more ...
|
#
5d665973 |
| 15-Jul-2022 |
Michał Górny <mgorny@moritz.systems> |
[lldb] [test] Skip test_stop_reason_while_running on Windows
|
#
ab9f1e88 |
| 30-Jun-2022 |
Michał Górny <mgorny@moritz.systems> |
[lldb] [llgs] Fix `?` packet response for running threads
Fix the response to `?` packet for threads that are running at the time (in non-stop mode). The previous code would wrongly send or queue a
[lldb] [llgs] Fix `?` packet response for running threads
Fix the response to `?` packet for threads that are running at the time (in non-stop mode). The previous code would wrongly send or queue an empty response for them.
Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D128879
show more ...
|
#
81e993f0 |
| 15-Jul-2022 |
Michał Górny <mgorny@moritz.systems> |
[lldb] [test] Skip TestNonStop → test_stdio on Windows
|
#
1903f358 |
| 29-Jun-2022 |
Michał Górny <mgorny@moritz.systems> |
[lldb] [llgs] Send process output asynchronously in non-stop mode
Introduce a new %Stdio notification category and use it to send process output asynchronously when running in non-stop mode. This i
[lldb] [llgs] Send process output asynchronously in non-stop mode
Introduce a new %Stdio notification category and use it to send process output asynchronously when running in non-stop mode. This is an LLDB extension since GDB does not use the 'O' packet for process output, just for replies to 'qRcmd' packets.
Using the async notification mechanism implies that only the first output packet is sent immediately to the client. The client needs to request subsequent notifications (if any) using the new vStdio packet (that works pretty much like vStopped for the Stop notification queue).
The packet handler in lldb-server tests is updated to handle the async stdio packets in addition to the regular O packets. However, due to the implications noted above, it can only handle the first output packet sent by the server. Subsequent packets need to be explicitly requested via vStdio.
Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D128849
show more ...
|
#
5a6f1f32 |
| 15-Jul-2022 |
Michał Górny <mgorny@moritz.systems> |
[lldb] [test] Skip new NonStop tests on Windows
|
#
eb43e43b |
| 28-Jun-2022 |
Michał Górny <mgorny@moritz.systems> |
Reland "[lldb] [llgs] Fix multi-resume bugs with nonstop mode"
Improve handling of multiple successive continue packets in non-stop mode. More specifically:
1. Explicitly send error response (inst
Reland "[lldb] [llgs] Fix multi-resume bugs with nonstop mode"
Improve handling of multiple successive continue packets in non-stop mode. More specifically:
1. Explicitly send error response (instead of crashing on assertion) if the user attempts to resume the same process twice. Since we do not support thread-level non-stop mode, one needs to always stop the process explicitly before resuming another thread set.
2. Actually stop the process if "vCont;t" is delivered to a running process. Similarly, we only support stopping all the running threads simultaneously (via -1) and return an error in any other case.
With this patch, running multiple processes simultaneously is still unsupported. The patch also employs a hack to avoid enabling stdio forwarding on "vCont;t" packet. Both of these issues are addressed by followup patches.
Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D128710
show more ...
|
#
7a2b09b4 |
| 15-Jul-2022 |
Michał Górny <mgorny@moritz.systems> |
Revert "[lldb] [llgs] Fix multi-resume bugs with nonstop mode"
This reverts commit f8605da8758fbae16410e4ed5493a39429fd73ec. This is causing buildbot failures and now I see that I have not updated t
Revert "[lldb] [llgs] Fix multi-resume bugs with nonstop mode"
This reverts commit f8605da8758fbae16410e4ed5493a39429fd73ec. This is causing buildbot failures and now I see that I have not updated the tests to use "stop" instead of "trap".
show more ...
|
#
f8605da8 |
| 28-Jun-2022 |
Michał Górny <mgorny@moritz.systems> |
[lldb] [llgs] Fix multi-resume bugs with nonstop mode
Improve handling of multiple successive continue packets in non-stop mode. More specifically:
1. Explicitly send error response (instead of cr
[lldb] [llgs] Fix multi-resume bugs with nonstop mode
Improve handling of multiple successive continue packets in non-stop mode. More specifically:
1. Explicitly send error response (instead of crashing on assertion) if the user attempts to resume the same process twice. Since we do not support thread-level non-stop mode, one needs to always stop the process explicitly before resuming another thread set.
2. Actually stop the process if "vCont;t" is delivered to a running process. Similarly, we only support stopping all the running threads simultaneously (via -1) and return an error in any other case.
With this patch, running multiple processes simultaneously is still unsupported. The patch also employs a hack to avoid enabling stdio forwarding on "vCont;t" packet. Both of these issues are addressed by followup patches.
Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D128710
show more ...
|
#
4655400b |
| 25-Jun-2022 |
Dave Lee <davelee.com@gmail.com> |
[lldb] Delete more mydir references (NFC)
|
Revision tags: llvmorg-14.0.6 |
|
#
5e9aed1b |
| 22-Jun-2022 |
Michał Górny <mgorny@moritz.systems> |
[lldb] [test] Mark TestNonStop as LLGS-specific
Thanks for Med Ismail Bennani for reporting the debugserver failures.
|
#
80c04c66 |
| 21-Jun-2022 |
Michał Górny <mgorny@moritz.systems> |
[lldb] [llgs] Attempt to fix LLGS tests on Windows
Sponsored by: The FreeBSD Foundation
|
Revision tags: llvmorg-14.0.5, llvmorg-14.0.4, llvmorg-14.0.3, llvmorg-14.0.2 |
|
#
bc04d240 |
| 12-Apr-2022 |
Michał Górny <mgorny@moritz.systems> |
[lldb] [llgs] Implement non-stop style stop notification packets
Implement the support for %Stop asynchronous notification packet format in LLGS. This does not implement full support for non-stop m
[lldb] [llgs] Implement non-stop style stop notification packets
Implement the support for %Stop asynchronous notification packet format in LLGS. This does not implement full support for non-stop mode for threaded programs -- process plugins continue stopping all threads on every event. However, it will be used to implement asynchronous events in multiprocess debugging.
The non-stop protocol is enabled using QNonStop packet. When it is enabled, the server uses notification protocol instead of regular stop replies. Since all threads are always stopped, notifications are always generated for all active threads and copied into stop notification queue.
If the queue was empty, the initial asynchronous %Stop notification is sent to the client immediately. The client needs to (eventually) acknowledge the notification by sending the vStopped packet, in which case it is popped from the queue and the stop reason for the next thread is reported. This continues until notification queue is empty again, in which case an OK reply is sent.
Asychronous notifications are also used for vAttach results and program exits. The `?` packet uses a hybrid approach -- it returns the first stop reason synchronously, and exposes the stop reasons for remaining threads via vStopped queue.
The change includes a test case for a program generating a segfault on 3 threads. The server is expected to generate a stop notification for the segfaulting thread, along with the notifications for the other running threads (with "no stop reason"). This verifies that the stop reasons are correctly reported for all threads, and that notification queue works.
Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D125575
show more ...
|