aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-06-07 11:36:19 +0200
committerTom de Vries <tdevries@suse.de>2023-06-07 11:36:19 +0200
commitd791a1b6ae0f0ae41413d48fdf68db61977de5ec (patch)
tree5a36e4f95dc87185acc6c2ca71b985873253ce1f
parent3d053417ea7140c3b3a684fcf9edf24abdfa68fd (diff)
downloadgdb-d791a1b6ae0f0ae41413d48fdf68db61977de5ec.zip
gdb-d791a1b6ae0f0ae41413d48fdf68db61977de5ec.tar.gz
gdb-d791a1b6ae0f0ae41413d48fdf68db61977de5ec.tar.bz2
[gdb/testsuite] Fix two typos in gdb.python/tui-window-disabled.exp
Fix two typos in test-case gdb.python/tui-window-disabled.exp.
-rw-r--r--gdb/testsuite/gdb.python/tui-window-disabled.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.python/tui-window-disabled.exp b/gdb/testsuite/gdb.python/tui-window-disabled.exp
index b2beb77..bee58a8 100644
--- a/gdb/testsuite/gdb.python/tui-window-disabled.exp
+++ b/gdb/testsuite/gdb.python/tui-window-disabled.exp
@@ -132,7 +132,7 @@ proc run_test { cleanup_properly } {
gdb_test "print 2 + 2 + 2" " = 6"
# Now tell the Python code not to check the window is valid before
- # calling rerended. The result is the Python code will try to draw to
+ # calling render. The result is the Python code will try to draw to
# the screen. This should throw a Python exception.
gdb_test_no_output "python perform_valid_check = False"
set exception_pattern "\r\nPython Exception\[^\n\r\]+TUI window is invalid\[^\n\r\]+"
@@ -153,7 +153,7 @@ proc run_test { cleanup_properly } {
# Set 'update_title' to True. The Python script will now try to set
# the window title when an event occurs (instead of trying to redraw
# the window). As the window is still not displayed this will again
- # through an exception.
+ # throw an exception.
gdb_test_no_output "python update_title = True"
gdb_test_multiple "next" "next at cli, with an exception for setting the title" {
-re -wrap "func \\(5\\);${exception_pattern}" {