[patch 2/2] Code cleanup: c_type_print_args's show_artificial

Jan Kratochvil jan.kratochvil@redhat.com
Tue Mar 22 18:10:00 GMT 2011


On Sun, 06 Feb 2011 19:16:31 +0100, Jan Kratochvil wrote:
> if [patch 1/2] goes in this is just a code cleanup, SHOW_ARTIFICIAL parameter
> meaning is no longer much about the show-artificial meaning.
> 
> gdb/
> 2011-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Code cleanup.
> 	* c-typeprint.c (c_type_print_args): Change parameter show_artificial
> 	to linkage_name.  Invert its value.  Update the function comment.
> 	(c_type_print_varspec_suffix): Invert it at the caller.
> 	* dwarf2read.c (dwarf2_compute_name): Invert it at the caller.

Checked in:
	http://sourceware.org/ml/gdb-cvs/2011-03/msg00267.html

As the current code became confusing with the former naming changed after my
former commit of:
	[patch 1/2] Fix physname regression: c/v types quals (PR c++/12328)
	http://sourceware.org/ml/gdb-patches/2011-02/msg00112.html

No regressions on {x86_64,x86_64-m32,i686}-fedora15-linux-gnu.


Thanks,
Jan



More information about the Gdb-patches mailing list