gdb.mi/var-cmd.c C++ify
authorPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 22:33:41 +0000 (23:33 +0100)
committerPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 23:06:39 +0000 (00:06 +0100)
commit81f904895e839b19091832bb83f353d2f4963939
treebb74cafb7f8714307a991919ac6ccb20f2b94a8a
parent0a229804ab1d9d442295010633ba565bdb1c9e2d
gdb.mi/var-cmd.c C++ify

This adjusts gdb.mi/var-cmd.c to make it buildable as a C++ program.

gdb/testsuite/ChangeLog:

* gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/var-cmd.c