aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp')
-rw-r--r--gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp b/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp
index 0aeb221..eb3fc9e 100644
--- a/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp
+++ b/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp
@@ -98,6 +98,14 @@ with_test_prefix "frame print" {
"backtrace test"
}
}
+
+# Test the "info frame" command
+with_test_prefix "info frame" {
+ if { [start_test "TAG: first frame"] == 0 } {
+ gdb_test "info frame" "mytype is $hex \"hello world\".*"
+ }
+}
+
# Testing the down command.
with_test_prefix "frame movement down" {
if { [start_test "TAG: first frame"] == 0 } {