This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH obv] Fix a few typos


FYI, I just pushed this as obvious.

gdb/ChangeLog:

	* maint.c (scoped_command_stats::scoped_command_stats): Fix typo.
	* ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise.
	* ppcobsd-tdep.c (_initialize_ppcobsd_tdep): Likewise.
	* ui-out.c (ui_out_new): Likewise.
	* utils.c (init_page_info): Likewise.
	(reset_prompt_for_continue_wait_time): Likewise.
	* windows-nat.c (windows_init_thread_list): Likewise.
	* xtensa-tdep.c (call0_analyze_prologue): Likewise.
---
 gdb/ChangeLog      | 11 +++++++++++
 gdb/maint.c        |  2 +-
 gdb/ppcnbsd-tdep.c |  2 +-
 gdb/ppcobsd-tdep.c |  2 +-
 gdb/ui-out.c       |  2 +-
 gdb/utils.c        |  4 ++--
 gdb/windows-nat.c  |  2 +-
 gdb/xtensa-tdep.c  |  2 +-
 8 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8e173a7..375e748 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,14 @@
+2016-11-04  Simon Marchi  <simon.marchi@polymtl.ca>
+
+	* maint.c (scoped_command_stats::scoped_command_stats): Fix typo.
+	* ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise.
+	* ppcobsd-tdep.c (_initialize_ppcobsd_tdep): Likewise.
+	* ui-out.c (ui_out_new): Likewise.
+	* utils.c (init_page_info): Likewise.
+	(reset_prompt_for_continue_wait_time): Likewise.
+	* windows-nat.c (windows_init_thread_list): Likewise.
+	* xtensa-tdep.c (call0_analyze_prologue): Likewise.
+
 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
 
     * rust-exp.y: Parse `sizeof(exp)` as `UNOP_SIZEOF`
diff --git a/gdb/maint.c b/gdb/maint.c
index 25a495c..738571c 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -912,7 +912,7 @@ scoped_command_stats::scoped_command_stats (bool msg_type)
   else
     m_symtab_enabled = 0;
 
-  /* Initalize timer to keep track of how long we waited for the user.  */
+  /* Initialize timer to keep track of how long we waited for the user.  */
   reset_prompt_for_continue_wait_time ();
 }
 
diff --git a/gdb/ppcnbsd-tdep.c b/gdb/ppcnbsd-tdep.c
index ba762ed..be152e1 100644
--- a/gdb/ppcnbsd-tdep.c
+++ b/gdb/ppcnbsd-tdep.c
@@ -199,7 +199,7 @@ _initialize_ppcnbsd_tdep (void)
 			  ppcnbsd_init_abi);
 
   /* Avoid initializing the register offsets again if they were
-     already initailized by ppcnbsd-nat.c.  */
+     already initialized by ppcnbsd-nat.c.  */
   if (ppcnbsd_reg_offsets.pc_offset == 0)
     {
       /* General-purpose registers.  */
diff --git a/gdb/ppcobsd-tdep.c b/gdb/ppcobsd-tdep.c
index 2cc62a0..bc5a5a8 100644
--- a/gdb/ppcobsd-tdep.c
+++ b/gdb/ppcobsd-tdep.c
@@ -292,7 +292,7 @@ _initialize_ppcobsd_tdep (void)
 			  ppcobsd_init_abi);
 
   /* Avoid initializing the register offsets again if they were
-     already initailized by ppcobsd-nat.c.  */
+     already initialized by ppcobsd-nat.c.  */
   if (ppcobsd_reg_offsets.pc_offset == 0)
     {
       /* General-purpose registers.  */
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index 932cf12..0eaa48f 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -901,7 +901,7 @@ ui_out_query_field (struct ui_out *uiout, int colno,
   return 0;
 }
 
-/* Initalize private members at startup.  */
+/* Initialize private members at startup.  */
 
 struct ui_out *
 ui_out_new (const struct ui_out_impl *impl, void *data,
diff --git a/gdb/utils.c b/gdb/utils.c
index e552685..c7ba051 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -1642,7 +1642,7 @@ static char *wrap_indent;
 static int wrap_column;
 
 
-/* Inialize the number of lines per page and chars per line.  */
+/* Initialize the number of lines per page and chars per line.  */
 
 void
 init_page_info (void)
@@ -1873,7 +1873,7 @@ prompt_for_continue (void)
   do_cleanups (old_chain);
 }
 
-/* Initalize timer to keep track of how long we waited for the user.  */
+/* Initialize timer to keep track of how long we waited for the user.  */
 
 void
 reset_prompt_for_continue_wait_time (void)
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 4b8adac..5b79f34 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -409,7 +409,7 @@ windows_add_thread (ptid_t ptid, HANDLE h, void *tlb)
   return th;
 }
 
-/* Clear out any old thread list and reintialize it to a
+/* Clear out any old thread list and reinitialize it to a
    pristine state.  */
 static void
 windows_init_thread_list (void)
diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c
index 783f71d..3c9c015 100644
--- a/gdb/xtensa-tdep.c
+++ b/gdb/xtensa-tdep.c
@@ -2401,7 +2401,7 @@ call0_analyze_prologue (struct gdbarch *gdbarch,
      arg was not supplied to avoid probing beyond the end of valid memory.
      If memory is full of garbage that classifies as c0opc_uninteresting.
      If this fails (eg. if no symbols) pc ends up 0 as it was.
-     Intialize the Call0 frame and register tracking info.
+     Initialize the Call0 frame and register tracking info.
      Assume it's Call0 until an 'entry' instruction is encountered.
      Assume we may be in the prologue until we hit a flow control instr.  */
 
-- 
2.10.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]