Author: David Spickett Date: 2025-10-27T10:13:09Z New Revision: 33185e7d43c604bd20b061b592437f1c46a14a84
URL: https://github.com/llvm/llvm-project/commit/33185e7d43c604bd20b061b592437f1c46a14a84 DIFF: https://github.com/llvm/llvm-project/commit/33185e7d43c604bd20b061b592437f1c46a14a84.diff LOG: [lldb][docs] Add example output for standalone debugging script Varies by host but I think it's useful to give some expectation. Added: Modified: lldb/docs/use/tutorials/implementing-standalone-scripts.md Removed: ################################################################################ diff --git a/lldb/docs/use/tutorials/implementing-standalone-scripts.md b/lldb/docs/use/tutorials/implementing-standalone-scripts.md index b8aaacf22fc2e..285d2d3dea9ea 100644 --- a/lldb/docs/use/tutorials/implementing-standalone-scripts.md +++ b/lldb/docs/use/tutorials/implementing-standalone-scripts.md @@ -131,4 +131,19 @@ if target: if symbol: # We do have a symbol, print some info for the symbol print(symbol) -``` \ No newline at end of file +``` + +### Expected Output + +Exact output varies by system, but you should see something like this: + +``` +Creating a target for './a.out' +SBBreakpoint: id = 1, name = 'main', module = a.out, locations = 1 +SBProcess: pid = 2593449, state = stopped, threads = 1, executable = a.out +thread #1: tid = 2593449, 0x0000aaaaaaaa0714 a.out`main at test.c:3:9, name = 'test.o', stop reason = breakpoint 1.1 +frame #0: 0x0000aaaaaaaa0714 a.out`main at test.c:3:9 +SBFunction: id = 0x0000002e, name = main, type = main +a.out[0x714]: mov w0, #0x0 ; =0 +a.out[0x718]: ret +``` _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
