From patchwork Thu Jan 16 22:46:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Terekhov, Mikhail via Gdb-patches" X-Patchwork-Id: 37414 Received: (qmail 82210 invoked by alias); 16 Jan 2020 22:46:52 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 82200 invoked by uid 89); 16 Jan 2020 22:46:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-HELO:sk:mail-yw, HX-Received:a25 X-HELO: mail-yw1-f74.google.com Received: from mail-yw1-f74.google.com (HELO mail-yw1-f74.google.com) (209.85.161.74) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Jan 2020 22:46:50 +0000 Received: by mail-yw1-f74.google.com with SMTP id o200so23521687ywd.22 for ; Thu, 16 Jan 2020 14:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=1SautJIjTKKIk2Z2PTay6javR4mKLFl+sGGe12efig0=; b=WYZ788HumScdrW5j1zgV9hhjkvjZtPfdDeRk4CmzSZNuitq4n+Bagijuc2mYuFd7xs 6LdTdzYoTDDIAAS18FFc9KGZsWxC2iCHoIrA9qcYo2BJvOCrYxFEw1WHFOoVdze6tsuj zZIHCcgNvOHrvSkL3WedlDuIrvtn9823GeRn/A6jznoqwnBNIt0ObLSoSq+LCnYLQSLK bKVB3my7gBea5BaUiSIsJIxBiozVPTSHWTOJsBotCpslVIkPHep/LabQ54dI78jt5NpP 6YQVFHnmZaG0iPg/lyUWSz4b9+Ww/JmurAICVo8iT8OjWa5IU8xFCqdpdOuXxTu63ZUJ 0BJA== Date: Thu, 16 Jan 2020 16:46:44 -0600 Message-Id: <20200116224644.120417-1-cbiesinger@google.com> Mime-Version: 1.0 Subject: [PUSHED/OBVIOUS] Fix some spelling errors. X-Patchwork-Original-From: "Christian Biesinger via gdb-patches" From: "Terekhov, Mikhail via Gdb-patches" Reply-To: Christian Biesinger To: gdb-patches@sourceware.org Cc: Christian Biesinger X-IsSubscribed: yes I noticed those from a lintian run: https://salsa.debian.org/cbiesinger-guest/gdb/-/jobs/514119 gdb/ChangeLog: 2020-01-16 Christian Biesinger * btrace.c (btrace_compute_ftrace_1): Fix spelling error (Unkown). (btrace_stitch_trace): Likewise. * charset.c (intermediate_encoding): Likewise (vaild). * nat/linux-btrace.c (linux_read_pt): Likewise (Unkown). * python/py-record-btrace.c (struct PyMethodDef): Likewise (occurences). * record-btrace.c (record_btrace_print_conf): Likewise (unkown). gdb/testsuite/ChangeLog: 2020-01-16 Christian Biesinger * lib/gdb.exp: Fix spelling error (seperatelly). Change-Id: I2a44936bac295020f217fb6c78b99b0a8d09cf9a --- gdb/btrace.c | 4 ++-- gdb/charset.c | 2 +- gdb/nat/linux-btrace.c | 2 +- gdb/python/py-record-btrace.c | 2 +- gdb/record-btrace.c | 2 +- gdb/testsuite/lib/gdb.exp | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gdb/btrace.c b/gdb/btrace.c index 0c7becd349..bbf8749649 100644 --- a/gdb/btrace.c +++ b/gdb/btrace.c @@ -1533,7 +1533,7 @@ btrace_compute_ftrace_1 (struct thread_info *tp, return; } - internal_error (__FILE__, __LINE__, _("Unkown branch trace format.")); + internal_error (__FILE__, __LINE__, _("Unknown branch trace format.")); } static void @@ -1791,7 +1791,7 @@ btrace_stitch_trace (struct btrace_data *btrace, struct thread_info *tp) return -1; } - internal_error (__FILE__, __LINE__, _("Unkown branch trace format.")); + internal_error (__FILE__, __LINE__, _("Unknown branch trace format.")); } /* Clear the branch trace histories in BTINFO. */ diff --git a/gdb/charset.c b/gdb/charset.c index 480ed366a4..5cfd2d8030 100644 --- a/gdb/charset.c +++ b/gdb/charset.c @@ -989,7 +989,7 @@ intermediate_encoding (void) /* Not valid, free the allocated memory. */ xfree (result); /* No valid charset found, generate error here. */ - error (_("Unable to find a vaild charset for string conversions")); + error (_("Unable to find a valid charset for string conversions")); } #endif /* USE_INTERMEDIATE_ENCODING_FUNCTION */ diff --git a/gdb/nat/linux-btrace.c b/gdb/nat/linux-btrace.c index 03fc85e2ec..e972a07227 100644 --- a/gdb/nat/linux-btrace.c +++ b/gdb/nat/linux-btrace.c @@ -889,7 +889,7 @@ linux_read_pt (struct btrace_data_pt *btrace, return BTRACE_ERR_NONE; } - internal_error (__FILE__, __LINE__, _("Unkown btrace read type.")); + internal_error (__FILE__, __LINE__, _("Unknown btrace read type.")); } /* See linux-btrace.h. */ diff --git a/gdb/python/py-record-btrace.c b/gdb/python/py-record-btrace.c index a3c3a546d7..08613a856d 100644 --- a/gdb/python/py-record-btrace.c +++ b/gdb/python/py-record-btrace.c @@ -808,7 +808,7 @@ recpy_bt_goto (PyObject *self, PyObject *args) struct PyMethodDef btpy_list_methods[] = { - { "count", btpy_list_count, METH_O, "count number of occurences"}, + { "count", btpy_list_count, METH_O, "count number of occurrences"}, { "index", btpy_list_index, METH_O, "index of entry"}, {NULL} }; diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c index 33ee4e9d81..619ecde025 100644 --- a/gdb/record-btrace.c +++ b/gdb/record-btrace.c @@ -541,7 +541,7 @@ record_btrace_print_conf (const struct btrace_config *conf) return; } - internal_error (__FILE__, __LINE__, _("Unkown branch trace format.")); + internal_error (__FILE__, __LINE__, _("Unknown branch trace format.")); } /* The info_record method of target record-btrace. */ diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index cb5a3f7aea..2d230b791e 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -3877,7 +3877,7 @@ proc gdb_compile {source dest type options} { # Force output to unbuffered mode, by linking in an object file # with a global contructor that calls setvbuf. # - # Compile the special object seperatelly for two reasons: + # Compile the special object separately for two reasons: # 1) Insulate it from $options. # 2) Avoid compiling it for every gdb_compile invocation, # which is time consuming, especially if we're remote