From d95fc6eec07344f83ec0aba4a1e4f17fb53da45b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 18 Jul 2019 16:21:45 -0600 Subject: [PATCH] Add test for "layout asm" This adds a very simple test for "layout asm". gdb/testsuite/ChangeLog 2019-07-27 Tom Tromey * gdb.tui/basic.exp: Add "layout asm" test. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.tui/basic.exp | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f4c2d30fc06..df5f39eb3b6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-07-27 Tom Tromey + + * gdb.tui/basic.exp: Add "layout asm" test. + 2019-07-27 Tom Tromey * lib/tuiterm.exp: New file. diff --git a/gdb/testsuite/gdb.tui/basic.exp b/gdb/testsuite/gdb.tui/basic.exp index 61dcacb7353..6a664a2e9d1 100644 --- a/gdb/testsuite/gdb.tui/basic.exp +++ b/gdb/testsuite/gdb.tui/basic.exp @@ -39,3 +39,8 @@ Term::check_contents "list main" "21 *return 0" # box. setup_xfail *-*-* Term::check_box "source box" 3 0 77 15 + +Term::command "layout asm" +Term::check_contents "asm window shows main" "$hex
" + +Term::check_box "asm box" 3 0 77 15 -- 2.30.2