Add test for "layout asm"
authorTom Tromey <tom@tromey.com>
Thu, 18 Jul 2019 22:21:45 +0000 (16:21 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 28 Jul 2019 03:08:33 +0000 (21:08 -0600)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.tui/basic.exp

index f4c2d30fc06976bc668d4b7a22b6a98689d66492..df5f39eb3b6ecb25e8a18b818be6adfba566e8ff 100644 (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.
index 61dcacb7353c7f4b920ff44a8a88ab2a2b466d2d..6a664a2e9d1b1f048d81ffeb731a5c3ada39138f 100644 (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
This page took 0.046978 seconds and 4 git commands to generate.