]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
gdb.base/find.exp C++ify
authorPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 22:33:40 +0000 (23:33 +0100)
committerPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 22:33:40 +0000 (23:33 +0100)
commitc8b188085d2048b8a2c3e55ea2ef71993717bd3b
tree4aea7ff4c58b8ddfa1fcfa91b0c2f52176d29f6d
parentc1e1314d00fda5625f1a87b915fd83a61c253993
gdb.base/find.exp C++ify

This makes the testcase work when compiled with C++ compiler.

We need #include <string.h> for memset.

gdb/testsuite/ChangeLog:

* gdb.base/find.c: Include <string.h>.
(init_bufs): Add cast.
* gdb.base/find.exp: Issue "set print asm-demangle on".
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/find.c
gdb/testsuite/gdb.base/find.exp