gdb.cp/call-c.exp C++ify
authorPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 22:33:43 +0000 (23:33 +0100)
committerPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 23:09:20 +0000 (00:09 +0100)
commit7474326cb9441644313cb749e491bec5e001d236
tree19d70876a0c1ff766ace438806081d6d95dede82
parentdd23068d52471aaf2f7cf80a1b4d8d987fccbf56
gdb.cp/call-c.exp C++ify

Make the testcase work when built with a C++ compiler.

gdb/testsuite/ChangeLog:

* gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/call-c-1.c