aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.rust/pp.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.rust/pp.exp')
-rw-r--r--gdb/testsuite/gdb.rust/pp.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.rust/pp.exp b/gdb/testsuite/gdb.rust/pp.exp
index 7c7c78b..e3e226c 100644
--- a/gdb/testsuite/gdb.rust/pp.exp
+++ b/gdb/testsuite/gdb.rust/pp.exp
@@ -40,3 +40,5 @@ if {![runto ${srcfile}:$line]} {
gdb_test "print outer" " = pp::Outer \\(x\\(5\\)\\)"
gdb_test "print outer.0" " = x\\(5\\)"
+
+gdb_test "python print(gdb.selected_frame().language())" "rust"