From: Tom de Vries Date: Wed, 7 Jun 2023 09:36:19 +0000 (+0200) Subject: [gdb/testsuite] Fix two typos in gdb.python/tui-window-disabled.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d791a1b6ae0f0ae41413d48fdf68db61977de5ec;p=binutils-gdb.git [gdb/testsuite] Fix two typos in gdb.python/tui-window-disabled.exp Fix two typos in test-case gdb.python/tui-window-disabled.exp. --- diff --git a/gdb/testsuite/gdb.python/tui-window-disabled.exp b/gdb/testsuite/gdb.python/tui-window-disabled.exp index b2beb77c217..bee58a86caa 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}" {