From 8d8c087f34beaa271c3f8d5597d92bce4e9c7f4a Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Sat, 16 Mar 2019 16:56:44 +0100 Subject: [PATCH] OBVIOUS: fix several occurrences of 'This options has' to 'This option has' --- gdb/ChangeLog | 5 +++++ gdb/auto-load.c | 6 +++--- gdb/linux-thread-db.c | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7b70a8c277..13024ce6df 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-03-16 Philippe Waroquiers + + * auto-load.c (_initialize_auto_load): Fix 'This options has'. + linux-thread-db.c (_initialize_thread_db): Likewise. + 2019-03-16 Eli Zaretskii * tui/tui-winsource.c (tui_show_source_line): Revert "Use diff --git a/gdb/auto-load.c b/gdb/auto-load.c index 00869fe0b1..ae7a189dc0 100644 --- a/gdb/auto-load.c +++ b/gdb/auto-load.c @@ -1551,7 +1551,7 @@ Show whether auto-loading of canned sequences of commands scripts is enabled."), _("\ If enabled, canned sequences of commands are loaded when the debugger reads\n\ an executable or shared library.\n\ -This options has security implications for untrusted inferiors."), +This option has security implications for untrusted inferiors."), NULL, show_auto_load_gdb_scripts, auto_load_set_cmdlist_get (), auto_load_show_cmdlist_get ()); @@ -1569,7 +1569,7 @@ Show whether auto-loading .gdbinit script in current directory is enabled."), If enabled, canned sequences of commands are loaded when debugger starts\n\ from .gdbinit file in current directory. Such files are deprecated,\n\ use a script associated with inferior executable file instead.\n\ -This options has security implications for untrusted inferiors."), +This option has security implications for untrusted inferiors."), NULL, show_auto_load_local_gdbinit, auto_load_set_cmdlist_get (), auto_load_show_cmdlist_get ()); @@ -1647,7 +1647,7 @@ Setting this parameter to '/' (without the quotes) allows any file\n\ for the 'set auto-load ...' options. Each path entry can be also shell\n\ wildcard pattern; '*' does not match directory separator.\n\ This option is ignored for the kinds of files having 'set auto-load ... off'.\n\ -This options has security implications for untrusted inferiors."), +This option has security implications for untrusted inferiors."), set_auto_load_safe_path, show_auto_load_safe_path, auto_load_set_cmdlist_get (), diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 186525a1e5..a735807f58 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -1976,7 +1976,7 @@ Show whether auto-loading inferior specific libthread_db is enabled."), _("\ If enabled, libthread_db will be searched in 'set libthread-db-search-path'\n\ locations to load libthread_db compatible with the inferior.\n\ Standard system libthread_db still gets loaded even with this option off.\n\ -This options has security implications for untrusted inferiors."), +This option has security implications for untrusted inferiors."), NULL, show_auto_load_thread_db, auto_load_set_cmdlist_get (), auto_load_show_cmdlist_get ()); -- 2.34.1