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 Mar 7 01:56:49 UTC 2019


295d294
< gdb/linux-fork.c:164: code: OP eol: Do not use &&, or || at the end of a line
gdb/linux-fork.c:164:  if (fork_list != NULL && fork_list->next == NULL &&
296a296
> gdb/linux-fork.c:630: 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/linux-fork.c:630:  for (thread_info *tp ATTRIBUTE_UNUSED : current_inferior ()->threads ())


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