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/gdb.tui/basic.exp | |
parent | c3786b3aa311e7fba247623a98135d63d1d51c99 (diff) | |
download | fsf-binutils-gdb-d95fc6eec07344f83ec0aba4a1e4f17fb53da45b.zip fsf-binutils-gdb-d95fc6eec07344f83ec0aba4a1e4f17fb53da45b.tar.gz fsf-binutils-gdb-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/gdb.tui/basic.exp')
-rw-r--r-- | gdb/testsuite/gdb.tui/basic.exp | 5 |
1 files changed, 5 insertions, 0 deletions
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 |