aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-10-29 07:26:07 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-10-29 07:26:07 +0000
commitb1d96efdaaa2b0e069f4fe0fab838b66403d42f9 (patch)
treebc98e5aa855731a029e7cf0d8e13aa4d5f613f27
parenteb2722c12c243bf6d1956691f3cc535c4ed3e342 (diff)
downloadgdb-b1d96efdaaa2b0e069f4fe0fab838b66403d42f9.zip
gdb-b1d96efdaaa2b0e069f4fe0fab838b66403d42f9.tar.gz
gdb-b1d96efdaaa2b0e069f4fe0fab838b66403d42f9.tar.bz2
gdb/
Code cleanup. * symtab.c (skip_prologue_sal): Code reformatting.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symtab.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d47a3b0..eb4c775 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 0e4c363..f881226 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -2549,8 +2549,8 @@ skip_prologue_sal (struct symtab_and_line *sal)
/* 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))))
{