aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-09-25 12:22:54 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-09-25 12:22:54 +0000
commit2e47c6caff97bc8cf147fee4e948917db88f5f2c (patch)
tree642976a1ee66eba137517b95a35fd22a1a99502a /gdb/linespec.c
parent318102b961ee0819c326894f988b187c11b24285 (diff)
downloadgdb-2e47c6caff97bc8cf147fee4e948917db88f5f2c.zip
gdb-2e47c6caff97bc8cf147fee4e948917db88f5f2c.tar.gz
gdb-2e47c6caff97bc8cf147fee4e948917db88f5f2c.tar.bz2
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 f7ff54e..3edc09f 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. */