aboutsummaryrefslogtreecommitdiff
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
commitf2e7c15d990b428a29fe0183ae810f29e722d21a (patch)
tree6a62e2b1046a08d58c9eec0b9bde1c887ecf92c6
parent68715859c7df9bce56e502bd297a3993a9592786 (diff)
downloadgdb-f2e7c15d990b428a29fe0183ae810f29e722d21a.zip
gdb-f2e7c15d990b428a29fe0183ae810f29e722d21a.tar.gz
gdb-f2e7c15d990b428a29fe0183ae810f29e722d21a.tar.bz2
* 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 2be6130..4ff4dcb 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 a20e9b0..95b4609 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 82013b5..3c5304e 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 d8556ea..ada2222 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 e3e2758..893648c 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);
}