This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix some spelling mistakes
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 5 Mar 2004 21:58:02 +0100 (CET)
- Subject: [PATCH] Fix some spelling mistakes
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
* i386obsd-tdep.c: Correct spelling in comment.
* i386nbsd-tdep.c: Correct spelling in comment.
* sparc-tdep.c: Correct spelling in comments.
Index: i386-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-nat.c,v
retrieving revision 1.7
diff -u -p -r1.7 i386-nat.c
--- i386-nat.c 28 Feb 2004 15:38:04 -0000 1.7
+++ i386-nat.c 5 Mar 2004 20:56:57 -0000
@@ -454,7 +454,7 @@ i386_handle_nonaligned_watchpoint (i386_
while (len > 0)
{
int align = addr % max_wp_len;
- /* Four (eigth on AMD64) is the maximum length a debug register
+ /* Four (eight on AMD64) is the maximum length a debug register
can watch. */
int try = (len > max_wp_len ? (max_wp_len - 1) : len - 1);
int size = size_try_array[try][align];
@@ -582,7 +582,7 @@ i386_stopped_data_address (void)
watchpoint, not a hardware breakpoint. The reason is
that GDB doesn't call the target_stopped_data_address
method except for data watchpoints. In other words, I'm
- being paranoid. */
+ being paranoiac. */
&& I386_DR_GET_RW_LEN (i) != 0)
{
addr = dr_mirror[i];
Index: i386nbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386nbsd-tdep.c,v
retrieving revision 1.19
diff -u -p -r1.19 i386nbsd-tdep.c
--- i386nbsd-tdep.c 22 Feb 2004 16:20:22 -0000 1.19
+++ i386nbsd-tdep.c 5 Mar 2004 20:56:57 -0000
@@ -236,7 +236,7 @@ i386nbsd_init_abi (struct gdbarch_info i
tdep->struct_return = reg_struct_return;
/* NetBSD has a `struct sigcontext' that's different from the
- origional 4.3 BSD. */
+ original 4.3 BSD. */
tdep->sc_reg_offset = i386nbsd_sc_reg_offset;
tdep->sc_num_regs = ARRAY_SIZE (i386nbsd_sc_reg_offset);
}
Index: i386obsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386obsd-tdep.c,v
retrieving revision 1.10
diff -u -p -r1.10 i386obsd-tdep.c
--- i386obsd-tdep.c 22 Feb 2004 11:19:15 -0000 1.10
+++ i386obsd-tdep.c 5 Mar 2004 20:56:57 -0000
@@ -220,7 +220,7 @@ i386obsd_init_abi (struct gdbarch_info i
set_gdbarch_sigtramp_end (gdbarch, i386obsd_sigtramp_end);
/* OpenBSD has a `struct sigcontext' that's different from the
- origional 4.3 BSD. */
+ original 4.3 BSD. */
tdep->sc_reg_offset = i386obsd_sc_reg_offset;
tdep->sc_num_regs = ARRAY_SIZE (i386obsd_sc_reg_offset);
}
Index: sparc-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-tdep.c,v
retrieving revision 1.151
diff -u -p -r1.151 sparc-tdep.c
--- sparc-tdep.c 5 Mar 2004 15:34:29 -0000 1.151
+++ sparc-tdep.c 5 Mar 2004 20:56:57 -0000
@@ -46,7 +46,7 @@ struct regset;
/* This file implements the SPARC 32-bit ABI as defined by the section
"Low-Level System Information" of the SPARC Compliance Definition
(SCD) 2.4.1, which is the 32-bit System V psABI for SPARC. The SCD
- lists changes with respect to the origional 32-bit psABI as defined
+ lists changes with respect to the original 32-bit psABI as defined
in the "System V ABI, SPARC Processor Supplement".
Note that if we talk about SunOS, we mean SunOS 4.x, which was
@@ -185,7 +185,7 @@ sparc_integral_or_pointer_p (const struc
{
/* We have byte, half-word, word and extended-word/doubleword
integral types. The doubleword is an extension to the
- origional 32-bit ABI by the SCD 2.4.x. */
+ original 32-bit ABI by the SCD 2.4.x. */
int len = TYPE_LENGTH (type);
return (len == 1 || len == 2 || len == 4 || len == 8);
}