aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/valgrind-infcall-2.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5b0a2dc..045ac01 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2020-07-20 Tom de Vries <tdevries@suse.de>
+ * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
+
+2020-07-20 Tom de Vries <tdevries@suse.de>
+
* gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2020-07-17 Tom de Vries <tdevries@suse.de>
diff --git a/gdb/testsuite/gdb.base/valgrind-infcall-2.exp b/gdb/testsuite/gdb.base/valgrind-infcall-2.exp
index a3983f7..9d0a6f5 100644
--- a/gdb/testsuite/gdb.base/valgrind-infcall-2.exp
+++ b/gdb/testsuite/gdb.base/valgrind-infcall-2.exp
@@ -60,7 +60,7 @@ gdb_test_multiple "bt 1" "do printf" {
# Thread status is VgTs_WaitSys
# '
# (gdb)
- gdb_test "p printf (\"bla\")" \
+ gdb_test "p (int)printf (\"bla\")" \
"can only be accepted if the thread is .*" \
$gdb_test_name
}