Fix ARI violations in c++compile

This patch fixes two violations of the ARI (use of ATTRIBUTE_UNUSED and
"%ll").

gdb/ChangeLog

	* compile/compile-cplus-types.c (compile_cplus_debug_output_1): Use
	pulongest instead of "%lld".
	* compile/compile-cplus-symbols.c (gcc_cplus_convert_symbol): Remove
	ATTRIBUTE_UNUSED.
This commit is contained in:
Keith Seitz 2018-08-30 09:26:47 -07:00
parent b986869b66
commit 5c889512f3
3 changed files with 10 additions and 3 deletions

View file

@ -1244,9 +1244,9 @@ compile_cplus_instance::gcc_cplus_leave_scope
gcc_decl. */
static void
compile_cplus_debug_output_1 (gcc_type arg)
compile_cplus_debug_output_1 (ULONGEST arg)
{
fprintf_unfiltered (gdb_stdlog, "%lld", arg);
fprintf_unfiltered (gdb_stdlog, "%s", pulongest (arg));
}
static void