summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-09-25 12:38:55 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-09-25 12:38:55 +0000
commitaae428f949972193f49fbf38a02696eb0d45cb20 (patch)
tree9560eeb71eac001cc12ec143417b4b91678ccb79
parent015496ffbd632b75741fa5df4e9310a790d1eea7 (diff)
downloadgdb-aae428f949972193f49fbf38a02696eb0d45cb20.tar.gz
Fix typo in skip_prologue_sal's comment.
gdb/ChangeLog: * symtab.c (skip_prologue_sal): Fix typo in comment.
-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;