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]

Re: New ARI warning Thu May 12 01:55:55 UTC 2011


>>>>> ">" == 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);


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