This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
New ARI warning Wed Feb 11 01:53:45 UTC 2015
- From: GDB Administrator <gdbadmin at sourceware dot org>
- To: gdb-patches at sourceware dot org
- Date: Wed, 11 Feb 2015 01:53:45 +0000
- Subject: New ARI warning Wed Feb 11 01:53:45 UTC 2015
161d160
< gdb/dwarf2read.c:12296: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/dwarf2read.c:12296: else if ((major = producer_is_gcc (cu->producer, &minor)) > 0)
764a764,765
> gdb/utils.c:3302: regression: true: Do not try to use 'true' in boolean expressions
gdb/utils.c:3302: return true;
> gdb/utils.c:3306: regression: false: Definitely do not use 'false' in boolean expressions
gdb/utils.c:3306: return false;