summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symtab.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 905d2bddc41..83c3171acf8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2012-09-25 Joel Brobecker <brobecker@adacore.com>
+ * symtab.c (skip_prologue_sal): Fix typo in comment.
+
+2012-09-25 Joel Brobecker <brobecker@adacore.com>
+
* linespec.c (create_sals_line_offset): Fix typo in comment.
2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 183e1157124..cbfe4d07af2 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -2810,7 +2810,7 @@ skip_prologue_sal (struct symtab_and_line *sal)
struct block *b, *function_block;
int force_skip, skip;
- /* Do not change the SAL is PC was specified explicitly. */
+ /* Do not change the SAL if PC was specified explicitly. */
if (sal->explicit_pc)
return;