aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile/compile-cplus-symbols.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2018-08-30 09:26:47 -0700
committerKeith Seitz <keiths@redhat.com>2018-09-01 12:04:29 -0700
commit5c889512f325e0447a6182f70cfa7e1d9e407167 (patch)
tree4d6dae58700f59a350ed9a726546bee7cd4f138e /gdb/compile/compile-cplus-symbols.c
parentb986869b6605e45044626c5b3111390ac4e70b82 (diff)
downloadgdb-5c889512f325e0447a6182f70cfa7e1d9e407167.zip
gdb-5c889512f325e0447a6182f70cfa7e1d9e407167.tar.gz
gdb-5c889512f325e0447a6182f70cfa7e1d9e407167.tar.bz2
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.
Diffstat (limited to 'gdb/compile/compile-cplus-symbols.c')
-rw-r--r--gdb/compile/compile-cplus-symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/compile/compile-cplus-symbols.c b/gdb/compile/compile-cplus-symbols.c
index 0f849fe..234b977 100644
--- a/gdb/compile/compile-cplus-symbols.c
+++ b/gdb/compile/compile-cplus-symbols.c
@@ -335,7 +335,7 @@ convert_symbol_bmsym (compile_cplus_instance *instance,
void
gcc_cplus_convert_symbol (void *datum,
struct gcc_cp_context *gcc_context,
- enum gcc_cp_oracle_request request ATTRIBUTE_UNUSED,
+ enum gcc_cp_oracle_request request,
const char *identifier)
{
if (compile_debug)