From: Mark Kettenis Date: Fri, 5 Mar 2004 20:58:00 +0000 (+0000) Subject: * i386-nat.c: Fix typo in comment. Re-introduce paranoiac. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2e7c15d990b428a29fe0183ae810f29e722d21a;p=binutils-gdb.git * 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. --- 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 + + * 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 * 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); }