summary refs log tree commit diff
path: root/src/test/debuginfo/function-arguments.rs
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2014-10-29 10:13:29 +0400
committerMichael Woerister <michaelwoerister@posteo>2014-10-31 18:49:59 +0100
commit54a5a2b36591d6aad7e94cf6740988202f1654aa (patch)
tree65e2704b46b196ec5dc1994a3f9a4934531203a9 /src/test/debuginfo/function-arguments.rs
parent7e662316d1c2618c87eb0328aa6b2bccd7eaa8d4 (diff)
downloadrust-54a5a2b36591d6aad7e94cf6740988202f1654aa.tar.gz
rust-54a5a2b36591d6aad7e94cf6740988202f1654aa.zip
debuginfo: Make GDB tests use line breakpoints like done in LLDB tests.
On some Windows versions of GDB this is more stable than setting breakpoints via function names.
Diffstat (limited to 'src/test/debuginfo/function-arguments.rs')
-rw-r--r--src/test/debuginfo/function-arguments.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/test/debuginfo/function-arguments.rs b/src/test/debuginfo/function-arguments.rs
index d84446ac524..304745e3945 100644
--- a/src/test/debuginfo/function-arguments.rs
+++ b/src/test/debuginfo/function-arguments.rs
@@ -15,23 +15,19 @@
 
 // === GDB TESTS ===================================================================================
 
-// gdb-command:rbreak zzz
 // gdb-command:run
-// gdb-command:finish
 
 // gdb-command:print x
 // gdb-check:$1 = 111102
 // gdb-command:print y
 // gdb-check:$2 = true
-
 // gdb-command:continue
-// gdb-command:finish
 
 // gdb-command:print a
 // gdb-check:$3 = 2000
 // gdb-command:print b
 // gdb-check:$4 = 3000
-
+// gdb-command:continue
 
 // === LLDB TESTS ==================================================================================