From: Tom Tromey Date: Thu, 18 Jul 2019 22:21:45 +0000 (-0600) Subject: Add test for "layout asm" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d95fc6eec07344f83ec0aba4a1e4f17fb53da45b;p=binutils-gdb.git 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. --- 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