This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
New ARI warning Thu Aug 30 01:56:34 UTC 2018
- From: GDB Administrator <gdbadmin at sourceware dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 30 Aug 2018 01:56:34 +0000
- Subject: New ARI warning Thu Aug 30 01:56:34 UTC 2018
99a100,103
> gdb/compile/compile-cplus-symbols.c:338: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/compile/compile-cplus-symbols.c:338: enum gcc_cp_oracle_request request ATTRIBUTE_UNUSED,
> gdb/compile/compile-cplus-types.c:262: code: %p: Do not use printf(%p), instead use printf(%s,paddr()) to dump a target address, or host_address_to_string() for a host address
gdb/compile/compile-cplus-types.c:262: fprintf_unfiltered (gdb_stdlog, "entering new scope %p\n", new_scope);
> gdb/compile/compile-cplus-types.c:306: code: %p: Do not use printf(%p), instead use printf(%s,paddr()) to dump a target address, or host_address_to_string() for a host address
gdb/compile/compile-cplus-types.c:306: fprintf_unfiltered (gdb_stdlog, "leaving scope %p\n", current);
> gdb/compile/compile-cplus-types.c:1243: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/compile/compile-cplus-types.c:1243: fprintf_unfiltered (gdb_stdlog, "%lld", arg);
121d124
< gdb/csky-tdep.c:1612: gettext: trailing new line: A message should not have a trailing new line
gdb/csky-tdep.c:1612: warning (_("Invalid breakpoint address 0x%x is an odd number.\n"),