gdb.base/printcmds.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:05:10 +0000 (00:05 +0100)
commit18a25b648176c70a651dc869394eef2d26d50723
tree169f416ade616823ff1025633fa6d19112dd4dbb
parent11fac33796f43a177c1836bf8fb1f7cc60e3875e
gdb.base/printcmds.c C++-ify

Adjust gdb.base/printcmds.c to make it buildable as a C++ program.

gdb/testsuite/ChangeLog:

* gdb.base/printcmds.c (three, flag_enum_without_zero)
(three_not_flag): Add casts.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/printcmds.c