aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2019-05-12 11:47:37 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2019-05-12 11:50:13 -0400
commit66b8bb74ca8fb23e407b80e1b0e7c1a433286b41 (patch)
treea0a5dee54468f4ffb6fdd171ac0bd0d658f35bcd
parent1ace968ad55778bc178ef36182b87ab7e3dad652 (diff)
downloadgdb-66b8bb74ca8fb23e407b80e1b0e7c1a433286b41.zip
gdb-66b8bb74ca8fb23e407b80e1b0e7c1a433286b41.tar.gz
gdb-66b8bb74ca8fb23e407b80e1b0e7c1a433286b41.tar.bz2
Fix two langauge -> language typos
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/language.c2
-rw-r--r--gdb/location.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3bc92c9..19458cc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2019-05-12 Paul Naert <paul.naert@polymtl.ca>
+
+ * language.c (language_sniff_from_mangled_name): Fix "langauge"
+ typo.
+ * location.h (string_to_event_location): Likewise.
+
2019-05-11 Joel Brobecker <brobecker@adacore.com>
GDB 8.3 released.
diff --git a/gdb/language.c b/gdb/language.c
index 9d0eb03..2f561c4 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -623,7 +623,7 @@ language_demangle (const struct language_defn *current_language,
return NULL;
}
-/* See langauge.h. */
+/* See language.h. */
int
language_sniff_from_mangled_name (const struct language_defn *lang,
diff --git a/gdb/location.h b/gdb/location.h
index fcacc96..9e87520 100644
--- a/gdb/location.h
+++ b/gdb/location.h
@@ -226,7 +226,7 @@ extern event_location_up
in the input string, it will take precedence over this parameter. */
extern event_location_up string_to_event_location
- (const char **argp, const struct language_defn *langauge,
+ (const char **argp, const struct language_defn *language,
symbol_name_match_type match_type = symbol_name_match_type::WILD);
/* Like string_to_event_location, but does not attempt to parse