From 26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 4 Nov 2016 23:47:32 -0400 Subject: [PATCH] Fix a few typos 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 8e173a7a943..375e7480dea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,14 @@ +2016-11-04 Simon Marchi + + * 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 * rust-exp.y: Parse `sizeof(exp)` as `UNOP_SIZEOF` diff --git a/gdb/maint.c b/gdb/maint.c index 25a495caea1..738571c73c0 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 ba762edb799..be152e1e795 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 2cc62a0db3b..bc5a5a8189c 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 932cf121a3d..0eaa48fc9d0 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 e552685efa7..c7ba05197d2 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 4b8adaca3d6..5b79f3457a2 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 783f71d04e7..3c9c015509d 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.30.2