Add test for "layout asm"

This adds a very simple test for "layout asm".

gdb/testsuite/ChangeLog
2019-07-27  Tom Tromey  <tom@tromey.com>

	* gdb.tui/basic.exp: Add "layout asm" test.
This commit is contained in:
Tom Tromey 2019-07-18 16:21:45 -06:00
parent c3786b3aa3
commit d95fc6eec0
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-07-27 Tom Tromey <tom@tromey.com>
* gdb.tui/basic.exp: Add "layout asm" test.
2019-07-27 Tom Tromey <tom@tromey.com>
* lib/tuiterm.exp: New file.

View File

@ -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 <main>"
Term::check_box "asm box" 3 0 77 15