aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-02-08 01:19:36 -0700
committerTom Tromey <tom@tromey.com>2019-02-20 11:21:38 -0700
commit0c95f9ed6c0978ae421048552c15065d32c45c30 (patch)
tree2d485acbb5d13a7984b7048918c184b1d141b61a /gdb/symtab.c
parent3ca60c57a715bbefc091949dd2381bab1b124715 (diff)
downloadgdb-0c95f9ed6c0978ae421048552c15065d32c45c30.zip
gdb-0c95f9ed6c0978ae421048552c15065d32c45c30.tar.gz
gdb-0c95f9ed6c0978ae421048552c15065d32c45c30.tar.bz2
Fix typos in symtab_symbol_info
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.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index ad2a159..005ea23 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -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]);