This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
New ARI warning Fri Nov 23 01:56:26 UTC 2018
- From: GDB Administrator <gdbadmin at sourceware dot org>
- To: gdb-patches at sourceware dot org
- Date: Fri, 23 Nov 2018 01:56:26 +0000
- Subject: New ARI warning Fri Nov 23 01:56:26 UTC 2018
275a276,277
> gdb/inferior.c:335: 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/inferior.c:335: for (inferior *inf ATTRIBUTE_UNUSED : all_non_exited_inferiors ())
> gdb/inferior.c:352: 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/inferior.c:352: for (thread_info *tp ATTRIBUTE_UNUSED : inf->non_exited_threads ())
324a327
> gdb/mi/mi-interp.c:962: 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/mi/mi-interp.c:962: for (inferior *inf ATTRIBUTE_UNUSED : all_non_exited_inferiors ())
527a531,532
> gdb/thread-iter.c:30: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/thread-iter.c:30: if ((m_thr = m_inf->thread_list) != NULL)
> gdb/thread.c:579: 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/thread.c:579: for (thread_info *tp ATTRIBUTE_UNUSED : all_threads ())