aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2016-11-04 23:47:32 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2016-11-04 23:50:35 -0400
commit26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b (patch)
tree22e7dea243e7aa7d0118bf268ff655e74602060d /gdb
parent7989954c57444ef2a5963bb2bb0fae4652b846a6 (diff)
downloadgdb-26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b.zip
gdb-26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b.tar.gz
gdb-26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog11
-rw-r--r--gdb/maint.c2
-rw-r--r--gdb/ppcnbsd-tdep.c2
-rw-r--r--gdb/ppcobsd-tdep.c2
-rw-r--r--gdb/ui-out.c2
-rw-r--r--gdb/utils.c4
-rw-r--r--gdb/windows-nat.c2
-rw-r--r--gdb/xtensa-tdep.c2
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. */