gdb.python/py-as-string.exp C++ify
commit0640a543397b83fb0a4f8f95dad0b09e6574c369
authorPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 22:33:43 +0000 (17 23:33 +0100)
committerPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 23:08:44 +0000 (18 00:08 +0100)
tree4d94f32c830cae3586286697c36f5866115bde41
parentef0cdbc16f4909d667497691f456d15c7dc7cdba
gdb.python/py-as-string.exp C++ify

Make the testcase buildable with a C++ compiler.

gdb/testsuite/ChangeLog:

* gdb.python/py-as-string.c: Add cast.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-as-string.c