gdb.python/{py-framefilter-mi,py-framefilter}.c C++ify
authorPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 22:33:42 +0000 (23:33 +0100)
committerPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 23:07:03 +0000 (00:07 +0100)
commitd4bcee5cccce0ef4acb6f7cb571f439bba07df7f
tree7e0200960bf2a1094ef1b648a67fd9b195e2ef3d
parent81f904895e839b19091832bb83f353d2f4963939
gdb.python/{py-framefilter-mi,py-framefilter}.c C++ify

This adjusts:

 gdb.python/{py-framefilter-mi,py-framefilter}.c

to make them buildable as C++ programs.

gdb/testsuite/ChangeLog:

* gdb.python/py-framefilter-mi.c (funca): Add casts.
* gdb.python/py-framefilter.c.c (funca, func2): Add casts.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-framefilter-mi.c
gdb/testsuite/gdb.python/py-framefilter.c