This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
New ARI warning Thu Mar 7 01:56:49 UTC 2019
- From: GDB Administrator <gdbadmin at sourceware dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 7 Mar 2019 01:56:50 +0000
- Subject: 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 ())