aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-09-25 12:38:56 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-09-25 12:38:56 +0000
commita4b411d69d3bb453546f1120664377057da8a444 (patch)
tree6ba247b1a22bc2de6841708aefc5c4bdb8a6df1c /gdb
parent11dba07abb3a06265f043f91cffbe9fc395053b9 (diff)
downloadgdb-a4b411d69d3bb453546f1120664377057da8a444.zip
gdb-a4b411d69d3bb453546f1120664377057da8a444.tar.gz
gdb-a4b411d69d3bb453546f1120664377057da8a444.tar.bz2
Fix typo in skip_prologue_sal's comment.
gdb/ChangeLog: * symtab.c (skip_prologue_sal): Fix typo in comment.
Diffstat (limited to 'gdb')
-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 905d2bd..83c3171 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 183e115..cbfe4d0 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;