diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-18 16:21:45 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-27 21:08:33 -0600 |
commit | d95fc6eec07344f83ec0aba4a1e4f17fb53da45b (patch) | |
tree | 246f30c2b873518eb12117e47e2e208686e16990 /gdb/testsuite | |
parent | c3786b3aa311e7fba247623a98135d63d1d51c99 (diff) | |
download | binutils-d95fc6eec07344f83ec0aba4a1e4f17fb53da45b.zip binutils-d95fc6eec07344f83ec0aba4a1e4f17fb53da45b.tar.gz binutils-d95fc6eec07344f83ec0aba4a1e4f17fb53da45b.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.tui/basic.exp | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f4c2d30..df5f39eb 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 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. * gdb.tui/basic.exp: New file. diff --git a/gdb/testsuite/gdb.tui/basic.exp b/gdb/testsuite/gdb.tui/basic.exp index 61dcacb..6a664a2 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 <main>" + +Term::check_box "asm box" 3 0 77 15 |