Fix printcmds.exp failure for wide strings tests.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 9 Jul 2019 17:36:17 +0000 (19:36 +0200)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 9 Jul 2019 17:36:17 +0000 (19:36 +0200)
commit0826779b99b49f7f8df5d186f3c481b6007010d4
tree0ba4c793f445d5917f6a894ef167fd4f596ce142
parent268a13a5a3f7c6b9b6ffc5ac2d1b24eb41f3fbdc
Fix printcmds.exp failure for wide strings tests.

wchar_t type must be known to create wide strings.
As this type is predefined when current GDB language is C++,
switch to c++ for the wide strings tests.

Problem analysis and fix by Sergio.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/printcmds.exp