summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/linespec.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a6a75b5bbaa..59789476593 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -3,6 +3,10 @@
* c-typeprint.c (c_type_print_varspec_suffix): Remove cast and
use plongest to print the array size.
+2012-09-25 Joel Brobecker <brobecker@adacore.com>
+
+ * linespec.c (create_sals_line_offset): Fix typo in comment.
+
2012-09-24 Siddhesh Poyarekar <siddhesh@redhat.com>
* m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
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. */