Use function_name_style to print Ada and C function names
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Thu, 10 Jan 2019 21:31:07 +0000 (22:31 +0100)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 12 Feb 2019 18:59:39 +0000 (19:59 +0100)
commitac8c53cc67724f990003009fd37a3d7dc662fcb3
tree0f206aad70d0de7cc14022a51c8a1ebc52d217a3
parente486594504d72a3afa199392a9d95a56ef1d6293
Use function_name_style to print Ada and C function names

Note that ada-typeprint.c print_func_type is called with
types representing functions and is also called to print
a function NAME together with its type.  In such a case, the function
name will be printed using function name style.

Similarly, c_print_type_1 is called to print a type, optionally
with the name of an object of this type in the VARSTRING arg.
So, c_print_type_1 uses function name style to print varstring
when the type code indicates that c_print_type_1 TYPE is some
'real code'.

gdb/ChangeLog
2019-02-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

* ada-typeprint.c (print_func_type): Print function name
style to print function name.
* c-typeprint.c (c_print_type_1): Likewise.
gdb/ChangeLog
gdb/ada-typeprint.c
gdb/c-typeprint.c
This page took 0.024407 seconds and 4 git commands to generate.