summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-03-05 20:58:00 +0000
committerMark Kettenis <kettenis@gnu.org>2004-03-05 20:58:00 +0000
commit11c1baba8c35c28d251973173148ea7304c241c4 (patch)
tree0222e05f83a683799d5d20f7c57501442d487406
parent061cd0c205b1f43f84e5a2c91d7bebef30cc1b1c (diff)
downloadgdb-11c1baba8c35c28d251973173148ea7304c241c4.tar.gz
* 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.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/i386-nat.c4
-rw-r--r--gdb/i386nbsd-tdep.c2
-rw-r--r--gdb/i386obsd-tdep.c2
-rw-r--r--gdb/sparc-tdep.c4
5 files changed, 13 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2be613061ef..4ff4dcb6d79 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2004-03-05 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.
+
2004-03-05 David Carlton <carlton@kealia.com>
* cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c
index a20e9b06635..95b46096b51 100644
--- a/gdb/i386-nat.c
+++ b/gdb/i386-nat.c
@@ -454,7 +454,7 @@ i386_handle_nonaligned_watchpoint (i386_wp_op_t what, CORE_ADDR addr, int len,
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];
diff --git a/gdb/i386nbsd-tdep.c b/gdb/i386nbsd-tdep.c
index 82013b59fc0..3c5304ec85b 100644
--- a/gdb/i386nbsd-tdep.c
+++ b/gdb/i386nbsd-tdep.c
@@ -236,7 +236,7 @@ i386nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
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);
}
diff --git a/gdb/i386obsd-tdep.c b/gdb/i386obsd-tdep.c
index d8556ea460a..ada2222ec97 100644
--- a/gdb/i386obsd-tdep.c
+++ b/gdb/i386obsd-tdep.c
@@ -220,7 +220,7 @@ i386obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
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);
}
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index e3e275867a4..893648c8b36 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -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 struct type *type)
{
/* 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);
}