aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/x86-64.exp
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-07-20 11:19:51 +0200
committerTom de Vries <tdevries@suse.de>2020-07-20 11:19:51 +0200
commitc06ad8b573d89511ec9c8bd33d3f3f55d404ed63 (patch)
tree9f481f7a4b1203c67125d887d1548874f895684b /ld/testsuite/ld-x86-64/x86-64.exp
parent6e22f117844899a8e418902c87c2418fcb2b4c5d (diff)
downloadgdb-c06ad8b573d89511ec9c8bd33d3f3f55d404ed63.zip
gdb-c06ad8b573d89511ec9c8bd33d3f3f55d404ed63.tar.gz
gdb-c06ad8b573d89511ec9c8bd33d3f3f55d404ed63.tar.bz2
[gdb/testsuite] Fix valgrind-infcall-2.exp without libc debug info
When running test-case gdb.base/valgrind-infcall-2.exp on a system without libc debug info installed, I run into: ... (gdb) p printf ("bla")^M 'printf' has unknown return type; cast the call to its declared return type^M (gdb) FAIL: gdb.base/valgrind-infcall-2.exp: do printf ... Fix this by casting the result of the printf call to int. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-07-20 Tom de Vries <tdevries@suse.de> * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
Diffstat (limited to 'ld/testsuite/ld-x86-64/x86-64.exp')
0 files changed, 0 insertions, 0 deletions