Since:
commit
7022349d5c86bae74b49225515f42d2e221bd368
Author: Pedro Alves <palves@redhat.com>
Date: Mon Sep 4 20:21:13 2017 +0100
Stop assuming no-debug-info functions return int
We now have to explicitly tell GDB the type of the non-debug-info
function we want to print (by casting). This commit adjusts the
"print" statement on gdb.arch/i386-sse-stack-align.exp to do the
proper cast, fixing a failure that started to happen after the
mentioned commit.
gdb/testsuite/ChangeLog:
2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
"int".
+2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
+ "int".
+
2017-12-07 Keith Seitz <keiths@redhat.com>
PR breakpoints/22569
set args ""
foreach i {0 1 2 3 4} {
- set test "print g$i ($args)"
+ set test "print (int) g$i ($args)"
gdb_test_multiple $test $test {
-re " = 2\r\n$gdb_prompt $" {
pass $test