summaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-09-25 12:22:53 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-09-25 12:22:53 +0000
commit51758f73223056f76deb5df6ac5418224f8aea32 (patch)
treefb8b37fbb389b1e057ab746758778fe0713a6b07 /gdb/linespec.c
parent7b147c8ce39ef964cf89b2dead4582301e863b5e (diff)
downloadgdb-51758f73223056f76deb5df6ac5418224f8aea32.tar.gz
Small typo in comment inside create_sals_line_offset
gdb/ChangeLog: * linespec.c (create_sals_line_offset): Fix typo in comment.
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r--gdb/linespec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index f7ff54e7788..3edc09f12c0 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -1711,7 +1711,7 @@ create_sals_line_offset (struct linespec_state *self,
/* This is where we need to make sure we have good defaults.
We must guarantee that this section of code is never executed
- when we are called with just a function anme, since
+ when we are called with just a function name, since
set_default_source_symtab_and_line uses
select_source_symtab that calls us with such an argument. */