[Lldb-commits] [PATCH] D70885: [lldb] Use explicit lldb commands on tests

António Afonso via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Dec 1 20:45:53 PST 2019


aadsm created this revision.
aadsm added reviewers: clayborg, lanza, wallace.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Not a big deal but might be if in the future we had another command starting with br.
I found this because I had an lldbinit that added a breakpad command.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70885

Files:
  lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py


Index: lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
+++ lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
@@ -350,8 +350,8 @@
         # breakpoints get hit
         launchCommands = [
             'target create "%s"' % (program),
-            'br s -f main.c -l %d' % first_line,
-            'br s -f main.c -l %d' % second_line,
+            'breakpoint s -f main.c -l %d' % first_line,
+            'breakpoint s -f main.c -l %d' % second_line,
             'process launch --stop-at-entry'
         ]
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70885.231632.patch
Type: text/x-patch
Size: 732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191202/52107903/attachment-0001.bin>


More information about the lldb-commits mailing list