This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Thu May 12 01:55:55 UTC 2011
- From: Tom Tromey <tromey at redhat dot com>
- To: GDB Administrator <gdbadmin at sourceware dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 12 May 2011 09:54:06 -0600
- Subject: Re: New ARI warning Thu May 12 01:55:55 UTC 2011
- References: <20110512015555.GA3147@sourceware.org>
>>>>> ">" == GDB Administrator <gdbadmin@sourceware.org> writes:
>> 205a206
>> gdb/dwarf2read.c:7693: code: OP eol: Do not use &&, or || at the end of a line
>> gdb/dwarf2read.c:7693: if (sym != NULL &&
Whoops.
I'm committing this to both branches to fix the problem.
Tom
2011-05-12 Tom Tromey <tromey@redhat.com>
* dwarf2read.c (read_common_block): Fix formatting.
Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.531
diff -u -r1.531 dwarf2read.c
--- dwarf2read.c 11 May 2011 17:25:41 -0000 1.531
+++ dwarf2read.c 12 May 2011 15:53:53 -0000
@@ -7690,8 +7690,8 @@
LONGEST offset;
sym = new_symbol (child_die, NULL, cu);
- if (sym != NULL &&
- handle_data_member_location (child_die, cu, &offset))
+ if (sym != NULL
+ && handle_data_member_location (child_die, cu, &offset))
{
SYMBOL_VALUE_ADDRESS (sym) = base + offset;
add_symbol_to_list (sym, &global_symbols);