[review,v2] Fix typos in symfile.c and i386-darwin-tdep.c

Message ID 20191019050631.19B0420AF6@gnutoolchain-gerrit.osci.io
State New, archived
Headers

Commit Message

Simon Marchi (Code Review) Oct. 19, 2019, 5:06 a.m. UTC
  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/i386-darwin-tdep.c
M gdb/symfile.c
2 files changed, 2 insertions(+), 2 deletions(-)
  

Patch

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