Fix typos in symtab_symbol_info
authorTom Tromey <tom@tromey.com>
Fri, 8 Feb 2019 08:19:36 +0000 (01:19 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 20 Feb 2019 18:21:38 +0000 (11:21 -0700)
symtab_symbol_info has a couple of messages that say "regulation
expression".  I think "regular expression" was meant, so this patch
changes it.

gdb/ChangeLog
2019-02-20  Tom Tromey  <tom@tromey.com>

* symtab.c (symtab_symbol_info): Fix typos.

gdb/testsuite/ChangeLog
2019-02-20  Tom Tromey  <tom@tromey.com>

* gdb.base/info_qt.exp: Update.

gdb/ChangeLog
gdb/symtab.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/info_qt.exp

index 0341981..1a946b7 100644 (file)
@@ -1,3 +1,7 @@
+2019-02-20  Tom Tromey  <tom@tromey.com>
+
+       * symtab.c (symtab_symbol_info): Fix typos.
+
 2019-02-20  Tom Tromey  <tromey@adacore.com>
 
        * findcmd.c (_initialize_mem_search): Use upper case for
index ad2a159..005ea23 100644 (file)
@@ -4722,7 +4722,7 @@ symtab_symbol_info (bool quiet,
          if (t_regexp != NULL)
            printf_filtered
              (_("All %ss matching regular expression \"%s\""
-                " with type matching regulation expression \"%s\":\n"),
+                " with type matching regular expression \"%s\":\n"),
               classnames[kind], regexp, t_regexp);
          else
            printf_filtered (_("All %ss matching regular expression \"%s\":\n"),
@@ -4733,7 +4733,7 @@ symtab_symbol_info (bool quiet,
          if (t_regexp != NULL)
            printf_filtered
              (_("All defined %ss"
-                " with type matching regulation expression \"%s\" :\n"),
+                " with type matching regular expression \"%s\" :\n"),
               classnames[kind], t_regexp);
          else
            printf_filtered (_("All defined %ss:\n"), classnames[kind]);
index cd2a654..92b3b8f 100644 (file)
@@ -1,3 +1,7 @@
+2019-02-20  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/info_qt.exp: Update.
+
 2019-02-19  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * gdb.base/source.exp: Move "error in sourced script" code to
index 9b9292f..f023f0b 100644 (file)
@@ -234,10 +234,10 @@ with_test_prefix "rest of args as single regexp" {
        "single regexp"
 
     gdb_test "info functions -t uvw abc def" \
-       "All functions matching regular expression \\\"abc def\\\" with type matching regulation expression \\\"uvw\\\":" \
+       "All functions matching regular expression \\\"abc def\\\" with type matching regular expression \\\"uvw\\\":" \
        "-t noquote single regexp"
 
     gdb_test "info functions -t 'uvw xyz' abc def" \
-       "All functions matching regular expression \\\"abc def\\\" with type matching regulation expression \\\"uvw xyz\\\":" \
+       "All functions matching regular expression \\\"abc def\\\" with type matching regular expression \\\"uvw xyz\\\":" \
        "-t quote single regexp"
 }