about summary refs log tree commit diff
path: root/tests/debuginfo/shadowed-variable.rs
diff options
context:
space:
mode:
authorMarkus Reiter <me@reitermark.us>2024-03-15 15:05:57 +0100
committerMarkus Reiter <me@reitermark.us>2024-03-15 15:38:03 +0100
commit96431e4b822ff82268bf3f2bbbb7aacf2abc5761 (patch)
treeaf08af546034165de64300c1828de26f74863dc6 /tests/debuginfo/shadowed-variable.rs
parent2047e847d7234117bf96583be3dcc4fb0f42d0bf (diff)
downloadrust-96431e4b822ff82268bf3f2bbbb7aacf2abc5761.tar.gz
rust-96431e4b822ff82268bf3f2bbbb7aacf2abc5761.zip
Use explicit LLDB commands instead of `print`/`p` aliases.
Diffstat (limited to 'tests/debuginfo/shadowed-variable.rs')
-rw-r--r--tests/debuginfo/shadowed-variable.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/debuginfo/shadowed-variable.rs b/tests/debuginfo/shadowed-variable.rs
index 66cadf2913b..3cc5fe14cb2 100644
--- a/tests/debuginfo/shadowed-variable.rs
+++ b/tests/debuginfo/shadowed-variable.rs
@@ -39,42 +39,42 @@
 
 // lldb-command:run
 
-// lldb-command:print x
+// lldb-command:v x
 // lldbg-check:[...] false
 // lldbr-check:(bool) x = false
-// lldb-command:print y
+// lldb-command:v y
 // lldbg-check:[...] true
 // lldbr-check:(bool) y = true
 // lldb-command:continue
 
-// lldb-command:print x
+// lldb-command:v x
 // lldbg-check:[...] 10
 // lldbr-check:(i32) x = 10
-// lldb-command:print y
+// lldb-command:v y
 // lldbg-check:[...] true
 // lldbr-check:(bool) y = true
 // lldb-command:continue
 
-// lldb-command:print x
+// lldb-command:v x
 // lldbg-check:[...] 10.5
 // lldbr-check:(f64) x = 10.5
-// lldb-command:print y
+// lldb-command:v y
 // lldbg-check:[...] 20
 // lldbr-check:(i32) y = 20
 // lldb-command:continue
 
-// lldb-command:print x
+// lldb-command:v x
 // lldbg-check:[...] 10.5
 // lldbr-check:(f64) x = 10.5
-// lldb-command:print y
+// lldb-command:v y
 // lldbg-check:[...] 20
 // lldbr-check:(i32) y = 20
 // lldb-command:continue
 
-// lldb-command:print x
+// lldb-command:v x
 // lldbg-check:[...] 11.5
 // lldbr-check:(f64) x = 11.5
-// lldb-command:print y
+// lldb-command:v y
 // lldbg-check:[...] 20
 // lldbr-check:(i32) y = 20
 // lldb-command:continue