about summary refs log tree commit diff
path: root/src/test/debuginfo/method-on-generic-struct.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/method-on-generic-struct.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/method-on-generic-struct.rs')
-rw-r--r--src/test/debuginfo/method-on-generic-struct.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/debuginfo/method-on-generic-struct.rs b/src/test/debuginfo/method-on-generic-struct.rs
index d69964820f6..2455c7aa519 100644
--- a/src/test/debuginfo/method-on-generic-struct.rs
+++ b/src/test/debuginfo/method-on-generic-struct.rs
@@ -15,11 +15,9 @@
 
 // === GDB TESTS ===================================================================================
 
-// gdb-command:rbreak zzz
 // gdb-command:run
 
 // STACK BY REF
-// gdb-command:finish
 // gdb-command:print *self
 // gdb-check:$1 = {x = {8888, -8888}}
 // gdb-command:print arg1
@@ -29,7 +27,6 @@
 // gdb-command:continue
 
 // STACK BY VAL
-// gdb-command:finish
 // gdb-command:print self
 // gdb-check:$4 = {x = {8888, -8888}}
 // gdb-command:print arg1
@@ -39,7 +36,6 @@
 // gdb-command:continue
 
 // OWNED BY REF
-// gdb-command:finish
 // gdb-command:print *self
 // gdb-check:$7 = {x = 1234.5}
 // gdb-command:print arg1
@@ -49,7 +45,6 @@
 // gdb-command:continue
 
 // OWNED BY VAL
-// gdb-command:finish
 // gdb-command:print self
 // gdb-check:$10 = {x = 1234.5}
 // gdb-command:print arg1
@@ -59,7 +54,6 @@
 // gdb-command:continue
 
 // OWNED MOVED
-// gdb-command:finish
 // gdb-command:print *self
 // gdb-check:$13 = {x = 1234.5}
 // gdb-command:print arg1