Patchwork [pushed] Fix two langauge -> language typos

login
register
mail settings
Submitter Simon Marchi
Date May 12, 2019, 3:56 p.m.
Message ID <20190512155659.22033-1-simon.marchi@polymtl.ca>
Download mbox | patch
Permalink /patch/32654/
State New
Headers show

Comments

Simon Marchi - May 12, 2019, 3:56 p.m.
---
 gdb/ChangeLog  | 6 ++++++
 gdb/language.c | 2 +-
 gdb/location.h | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3bc92c9c6a6f..19458ccc7263 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 9d0eb03b4209..2f561c456ef5 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 fcacc965e86b..9e87520dfb10 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