[Lldb-commits] [lldb] 283b9b5 - [lldb][docs] Remove duplicate title in test doc (#221944)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 8 02:55:22 PDT 2026
Author: David Spickett
Date: 2026-09-08T10:55:16+01:00
New Revision: 283b9b565ea8093fd5d04d0435d6594624c58ddb
URL: https://github.com/llvm/llvm-project/commit/283b9b565ea8093fd5d04d0435d6594624c58ddb
DIFF: https://github.com/llvm/llvm-project/commit/283b9b565ea8093fd5d04d0435d6594624c58ddb.diff
LOG: [lldb][docs] Remove duplicate title in test doc (#221944)
Added:
Modified:
lldb/docs/resources/test.md
Removed:
################################################################################
diff --git a/lldb/docs/resources/test.md b/lldb/docs/resources/test.md
index 5097b972db9f6..711625133c4b1 100644
--- a/lldb/docs/resources/test.md
+++ b/lldb/docs/resources/test.md
@@ -463,18 +463,16 @@ If you need to fake part of the debug server but forward the rest to a real
debug server, start by looking at the reverse execution tests which use
`ReverseTestBase`.
-### The debug server's handling of specific packets or sequences of packets
-
-Use an API test that sends fake traffic to a real `lldb-server`. The existing
-tests in `lldb/test/API/tools/lldb-server` are your starting point.
-
### The Debug Server’s Handling of Specific Packets or Sequences of Packets
Generally you can check this using `lldb`'s own commands in a Shell or API
-test.
+test. If you need exact packets, you can use an API test that sends fake traffic
+to a real `lldb-server`. The existing tests in `lldb/test/API/tools/lldb-server`
+are your starting point.
-However if you do not trust enough of the implementation yet to do that,
-you can have the inferior process check things for you.
+If you are using `lldb`'s own commands but you do not want to trust the
+implementation of those commands, you can have the inferior process check things
+for you.
For example, to test register access the API test might:
1. Launch the inferior, which writes a known pattern to the register using
More information about the lldb-commits
mailing list