diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2014-10-29 10:13:29 +0400 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2014-10-31 18:49:59 +0100 |
| commit | 54a5a2b36591d6aad7e94cf6740988202f1654aa (patch) | |
| tree | 65e2704b46b196ec5dc1994a3f9a4934531203a9 /src/test/debuginfo/generic-struct-style-enum.rs | |
| parent | 7e662316d1c2618c87eb0328aa6b2bccd7eaa8d4 (diff) | |
| download | rust-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/generic-struct-style-enum.rs')
| -rw-r--r-- | src/test/debuginfo/generic-struct-style-enum.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/debuginfo/generic-struct-style-enum.rs b/src/test/debuginfo/generic-struct-style-enum.rs index b7e91cf9359..698fc3d9d7d 100644 --- a/src/test/debuginfo/generic-struct-style-enum.rs +++ b/src/test/debuginfo/generic-struct-style-enum.rs @@ -15,9 +15,7 @@ // compile-flags:-g // gdb-command:set print union on -// gdb-command:rbreak zzz // gdb-command:run -// gdb-command:finish // gdb-command:print case1 // gdb-check:$1 = {{RUST$ENUM$DISR = Case1, a = 0, b = 31868, c = 31868, d = 31868, e = 31868}, {RUST$ENUM$DISR = Case1, a = 0, b = 2088533116, c = 2088533116}, {RUST$ENUM$DISR = Case1, a = 0, b = 8970181431921507452}} @@ -76,7 +74,7 @@ fn main() { let univariant = TheOnlyCase { a: -1i }; - zzz(); + zzz(); // #break } fn zzz() {()} |
