Fix some spelling errors.
authorChristian Biesinger <cbiesinger@google.com>
Thu, 16 Jan 2020 22:41:53 +0000 (16:41 -0600)
committerChristian Biesinger <cbiesinger@google.com>
Thu, 16 Jan 2020 22:46:25 +0000 (16:46 -0600)
I noticed those from a lintian run:
https://salsa.debian.org/cbiesinger-guest/gdb/-/jobs/514119

gdb/ChangeLog:

2020-01-16  Christian Biesinger  <cbiesinger@google.com>

        * 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  <cbiesinger@google.com>

        * lib/gdb.exp: Fix spelling error (seperatelly).

Change-Id: I2a44936bac295020f217fb6c78b99b0a8d09cf9a

gdb/ChangeLog
gdb/btrace.c
gdb/charset.c
gdb/nat/linux-btrace.c
gdb/python/py-record-btrace.c
gdb/record-btrace.c
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index cc3a43cf2d7b7e103c731ee8892e3e23c4801174..5301385ecbf55889f8b76761fac64ef239a9612c 100644 (file)
@@ -1,3 +1,12 @@
+2020-01-16  Christian Biesinger  <cbiesinger@google.com>
+
+       * 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).
+
 2020-01-16  Hannes Domani  <ssbssa@yahoo.de>
 
        * windows-tdep.c (windows_get_tlb_type):
index 0c7becd349069cfefaa389307dc42602582c76fe..bbf874964973fc17cd9ae2919af4e244b074df9f 100644 (file)
@@ -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.  */
index 480ed366a492b0912bed84ca771323c8595cc7ed..5cfd2d803015ef6a5627c435037a9f86bdd84d6a 100644 (file)
@@ -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 */
index 03fc85e2ecebff350b00bd3e4ac63459a9900f67..e972a07227969e212c5bb77f7fed93ac6881b2fa 100644 (file)
@@ -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.  */
index a3c3a546d7db71cd64866208cfd292dafa6b1b4c..08613a856d07ac8a123aa9824cfbdccd1a7e7c8e 100644 (file)
@@ -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}
 };
index 33ee4e9d8170fc0d2c40b7f3e346517dbfb6e77c..619ecde025b9e2b1b3d2cd8aeb06c58e7b88fa29 100644 (file)
@@ -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.  */
index c35afbd13f6ba5444e76ac27890b012b0c2910ad..c4a760ef5167410161a451bcb8573aaeec743cfb 100644 (file)
@@ -1,3 +1,7 @@
+2020-01-16  Christian Biesinger  <cbiesinger@google.com>
+
+       * lib/gdb.exp: Fix spelling error (seperatelly).
+
 2020-01-14  Tom Tromey  <tom@tromey.com>
 
        PR symtab/12535:
index cb5a3f7aeaf295304ff77a79d49617f86e0bba0b..2d230b791ee54882fc9bed3e6721e67cab56a44d 100644 (file)
@@ -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
This page took 0.033497 seconds and 4 git commands to generate.