gdb.base/{exprs,ptype,ptype1,setvar,whatis}.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:17 +0000 (00:06 +0100)
commit0a229804ab1d9d442295010633ba565bdb1c9e2d
tree0e6484f3bbd3d83e2f10e312f524d0d39c34f5f3
parentc3e5138dccad66deda24fadb831f27881fa64b2d
gdb.base/{exprs,ptype,ptype1,setvar,whatis}.c C++ify

This adjusts:

 gdb.base/{exprs,ptype,ptype1,setvar,whatis}.c,

to make them buildable as C++ programs.

gdb/testsuite/ChangeLog:

* gdb.base/exprs.c: Replace 'this' with 'self' throughout.
* gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
(charfoo, intfoo): Define full prototype.
* gdb.base/ptype1.c (charfoo): Define full prototype.
* gdb.base/setvar.c: Replace 'this' with 'self' throughout.
* gdb.base/whatis.c: Replace 'this' with 'self' throughout.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/exprs.c
gdb/testsuite/gdb.base/ptype.c
gdb/testsuite/gdb.base/ptype1.c
gdb/testsuite/gdb.base/setvar.c
gdb/testsuite/gdb.base/whatis.c