about summary refs log tree commit diff
path: root/src/test/debuginfo/method-on-generic-struct.rs
diff options
context:
space:
mode:
authorTim Neumann <mail@timnn.me>2016-10-25 23:32:04 +0200
committerTim Neumann <mail@timnn.me>2016-10-31 21:12:59 +0100
commit9253e1206e91f5bd7fafd18f8488a937b0046959 (patch)
treebb73998a3f47c90325381a9b0a0e0733ff47407f /src/test/debuginfo/method-on-generic-struct.rs
parent5db21c3af66ccd6d3c48d420a036c65e6f7711ed (diff)
downloadrust-9253e1206e91f5bd7fafd18f8488a937b0046959.tar.gz
rust-9253e1206e91f5bd7fafd18f8488a937b0046959.zip
adapt debuginfo tests for gdb with native rust support
Diffstat (limited to 'src/test/debuginfo/method-on-generic-struct.rs')
-rw-r--r--src/test/debuginfo/method-on-generic-struct.rs15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/test/debuginfo/method-on-generic-struct.rs b/src/test/debuginfo/method-on-generic-struct.rs
index 5b697f859d4..20d419b4ac0 100644
--- a/src/test/debuginfo/method-on-generic-struct.rs
+++ b/src/test/debuginfo/method-on-generic-struct.rs
@@ -18,7 +18,8 @@
 
 // STACK BY REF
 // gdb-command:print *self
-// gdb-check:$1 = {x = {__0 = 8888, __1 = -8888}}
+// gdbg-check:$1 = {x = {__0 = 8888, __1 = -8888}}
+// gdbr-check:$1 = method_on_generic_struct::Struct<(u32, i32)> {x: (8888, -8888)}
 // gdb-command:print arg1
 // gdb-check:$2 = -1
 // gdb-command:print arg2
@@ -27,7 +28,8 @@
 
 // STACK BY VAL
 // gdb-command:print self
-// gdb-check:$4 = {x = {__0 = 8888, __1 = -8888}}
+// gdbg-check:$4 = {x = {__0 = 8888, __1 = -8888}}
+// gdbr-check:$4 = method_on_generic_struct::Struct<(u32, i32)> {x: (8888, -8888)}
 // gdb-command:print arg1
 // gdb-check:$5 = -3
 // gdb-command:print arg2
@@ -36,7 +38,8 @@
 
 // OWNED BY REF
 // gdb-command:print *self
-// gdb-check:$7 = {x = 1234.5}
+// gdbg-check:$7 = {x = 1234.5}
+// gdbr-check:$7 = method_on_generic_struct::Struct<f64> {x: 1234.5}
 // gdb-command:print arg1
 // gdb-check:$8 = -5
 // gdb-command:print arg2
@@ -45,7 +48,8 @@
 
 // OWNED BY VAL
 // gdb-command:print self
-// gdb-check:$10 = {x = 1234.5}
+// gdbg-check:$10 = {x = 1234.5}
+// gdbr-check:$10 = method_on_generic_struct::Struct<f64> {x: 1234.5}
 // gdb-command:print arg1
 // gdb-check:$11 = -7
 // gdb-command:print arg2
@@ -54,7 +58,8 @@
 
 // OWNED MOVED
 // gdb-command:print *self
-// gdb-check:$13 = {x = 1234.5}
+// gdbg-check:$13 = {x = 1234.5}
+// gdbr-check:$13 = method_on_generic_struct::Struct<f64> {x: 1234.5}
 // gdb-command:print arg1
 // gdb-check:$14 = -9
 // gdb-command:print arg2