Patchwork [pushed] Fix typos in symfile.c and i386-darwin-tdep.c

login
register
mail settings
Submitter Simon Marchi (Code Review)
Date Oct. 19, 2019, 5:14 a.m.
Message ID <20191019051405.03B0A20AF6@gnutoolchain-gerrit.osci.io>
Download mbox | patch
Permalink /patch/35155/
State New
Headers show

Comments

Simon Marchi (Code Review) - Oct. 19, 2019, 5:14 a.m.
The original change was created by Sergio Durigan Junior.

Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/161
......................................................................

Fix typos in symfile.c and i386-darwin-tdep.c

This commit fixes two simple typos, one in gdb/symfile.c and the other
in gdb/i386-darwin-tdep.c.  s/wether/whether/.

2019-10-19  Sergio Durigan Junior  <sergiodj@redhat.com>

	* symfile.c (init_entry_point_info): Fix typo.
	* i386-darwin-tdep.c (darwin_dwarf_signal_frame_p): Fix typo.

Change-Id: I1fbb39c32009c61c862b6bd56ce12f24a9edb2c4
---
M gdb/ChangeLog
M gdb/i386-darwin-tdep.c
M gdb/symfile.c
3 files changed, 7 insertions(+), 2 deletions(-)

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ea87d00..c6e516d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@ 
+2019-10-19  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+	* symfile.c (init_entry_point_info): Fix typo.
+	* i386-darwin-tdep.c (darwin_dwarf_signal_frame_p): Fix typo.
+
 2019-10-18  Tom de Vries  <tdevries@suse.de>
 
 	* aarch64-tdep.c: Fix typos in comments.
diff --git a/gdb/i386-darwin-tdep.c b/gdb/i386-darwin-tdep.c
index 22653d3..6522a6f 100644
--- a/gdb/i386-darwin-tdep.c
+++ b/gdb/i386-darwin-tdep.c
@@ -104,7 +104,7 @@ 
   return i386_sigtramp_p (this_frame);
 }
 
-/* Check wether TYPE is a 128-bit vector (__m128, __m128d or __m128i).  */
+/* Check whether TYPE is a 128-bit vector (__m128, __m128d or __m128i).  */
 
 static int
 i386_m128_p (struct type *type)
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 82081b1..f74c6de 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -908,7 +908,7 @@ 
    corresponding BFD section index, or -1 if the section was not found.
 
    ADD_FLAGS encodes verbosity level, whether this is main symbol or
-   an extra symbol file such as dynamically loaded code, and wether
+   an extra symbol file such as dynamically loaded code, and whether
    breakpoint reset should be deferred.  */
 
 static void