Fix two langauge -> language typos
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 12 May 2019 15:47:37 +0000 (11:47 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 12 May 2019 15:50:13 +0000 (11:50 -0400)
gdb/ChangeLog
gdb/language.c
gdb/location.h

index 3bc92c9c6a6fd66a677d8d11856c9c4998b68287..19458ccc72636a92c13e99bd870ed00a87bb615c 100644 (file)
@@ -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.
index 9d0eb03b4209848b4541efdc4f7c1a45eb4b5312..2f561c456ef5112c1a46f7bec322756c35d2274a 100644 (file)
@@ -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,
index fcacc965e86bbcb178c9dc7155faa07feff833ac..9e87520dfb10967170b8fe035e24acc37917ff6e 100644 (file)
@@ -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