From c5ee319e6cc7a02d35871896e8205e1f782fbc00 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Tue, 20 Oct 2020 13:33:36 +0100 Subject: 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 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9acbae8..7c52f9b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2020-12-23 Andrew Burgess + * 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. + +2020-12-23 Andrew Burgess + * dwarf2/read.c (dwarf2_compute_name): Call methods on C++ language object instead of calling global functions directly. -- cgit v1.1