This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Small typo in comment inside create_sals_line_offset
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Tue, 25 Sep 2012 14:24:38 +0200
- Subject: [commit] Small typo in comment inside create_sals_line_offset
Hello,
I noticed this little typo...
gdb/ChangeLog:
* linespec.c (create_sals_line_offset): Fix typo in comment.
Checked in.
---
gdb/ChangeLog | 4 ++++
gdb/linespec.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0a1ccdf..4c001b8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+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 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. */
--
1.7.9.5