This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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"),


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]