gdb: rename c_printchar as language_defn::printchar
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 20 Oct 2020 12:33:36 +0000 (13:33 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 23 Dec 2020 20:53:14 +0000 (20:53 +0000)
commitc5ee319e6cc7a02d35871896e8205e1f782fbc00
tree095d63464385b6f910137e395d445e660a1c5f9e
parent2c75ccb24cec32180e057aade6bd9141296860e0
gdb: rename c_printchar as language_defn::printchar

This commit removes the global function c_printchar and moves the
implementation into language_defn::printchar.

There should be no user visible changes after this commit.

gdb/ChangeLog:

* c-lang.c (c_printchar): Rename to...
(language_defn::printchar): ...this.
* c-lang.h (c_printchar): Delete declaration.
* language.c (language_defn::printchar): Delete this
implementation.  Is now implemented in c-lang.c.
gdb/ChangeLog
gdb/c-lang.c
gdb/c-lang.h
gdb/language.c