aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-08-25 11:06:27 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-08-25 11:06:27 -0400
commit2bc19622c9e74655151674661b77af52e1e064f8 (patch)
tree902321331c3f59197c60c45e55f9d45b03b3903b /gdb
parent8571e9c891db1aaefce8f39abf6f3157920d9365 (diff)
downloadfsf-binutils-gdb-2bc19622c9e74655151674661b77af52e1e064f8.zip
fsf-binutils-gdb-2bc19622c9e74655151674661b77af52e1e064f8.tar.gz
fsf-binutils-gdb-2bc19622c9e74655151674661b77af52e1e064f8.tar.bz2
gdb/testsuite: fix gdb.base/ui-redirect.exp pattern (gdb/26532)
Commit 1eb8556f5a8b ("gdb: add infrun_debug_printf macro") changed the debug output format for `set debug infrun 1`. It broke test gdb.base/ui-redirect.exp, which I missed: FAIL: gdb.base/ui-redirect.exp: debugging: continue Fix it by adjusting the pattern in the test to the new reality. gdb/testsuite/ChangeLog: PR gdb/26532 * gdb.base/ui-redirect.exp: Update pattern. Change-Id: Ie8a8f6675e35a0cab55109b1534b44eb51baec9d
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/ui-redirect.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9a7ffc5..2ec9084 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2020-08-25 Simon Marchi <simon.marchi@efficios.com>
+
+ PR gdb/26532
+ * gdb.base/ui-redirect.exp: Update pattern.
+
2020-08-25 Gary Benson <gbenson@redhat.com>
* gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
diff --git a/gdb/testsuite/gdb.base/ui-redirect.exp b/gdb/testsuite/gdb.base/ui-redirect.exp
index e1e6a7b..ef0a791 100644
--- a/gdb/testsuite/gdb.base/ui-redirect.exp
+++ b/gdb/testsuite/gdb.base/ui-redirect.exp
@@ -117,7 +117,7 @@ with_test_prefix "debugging" {
gdb_test "set debug infrun 1"
gdb_test "set logging on" \
"Copying output to /dev/null.*Copying debug output to /dev/null\\."
- gdb_test "continue" "Continuing.*infrun:.*infrun:.*Breakpoint \[0-9\]+, foo.*"
+ gdb_test "continue" {Continuing.*\[infrun\] .*\[infrun\] .*Breakpoint [0-9]+, foo.*}
gdb_test "set debug infrun 0"
gdb_test "set logging off" "Done logging to /dev/null\\."
gdb_test "help" "List of classes of commands:.*"