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]

[obv] Code cleanup: singe-line reformatting (symtab.c)


http://sourceware.org/ml/gdb-cvs/2011-10/msg00214.html

--- src/gdb/ChangeLog	2011/10/28 22:40:55	1.13475
+++ src/gdb/ChangeLog	2011/10/29 07:26:07	1.13476
@@ -1,3 +1,8 @@
+2011-10-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Code cleanup.
+	* symtab.c (skip_prologue_sal): Code reformatting.
+
 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	PR symtab/13208
--- src/gdb/symtab.c	2011/10/28 17:29:37	1.284
+++ src/gdb/symtab.c	2011/10/29 07:26:07	1.285
@@ -2549,8 +2549,8 @@
       /* Check if gdbarch_skip_prologue left us in mid-line, and the next
 	 line is still part of the same function.  */
       if (skip && start_sal.pc != pc
-	  && (sym? (BLOCK_START (SYMBOL_BLOCK_VALUE (sym)) <= start_sal.end
-		    && start_sal.end < BLOCK_END (SYMBOL_BLOCK_VALUE (sym)))
+	  && (sym ? (BLOCK_START (SYMBOL_BLOCK_VALUE (sym)) <= start_sal.end
+		     && start_sal.end < BLOCK_END (SYMBOL_BLOCK_VALUE (sym)))
 	      : (lookup_minimal_symbol_by_pc_section (start_sal.end, section)
 		 == lookup_minimal_symbol_by_pc_section (pc, section))))
 	{


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