From 177b42fefa0b72f2ca50ddf7393c0f2465546ff4 Mon Sep 17 00:00:00 2001 From: Thiago Jung Bauermann Date: Tue, 5 Jul 2011 04:35:00 +0000 Subject: [PATCH] gdb/ * ada-lang.c: Fix typos. * amd64-tdep.c: Likewise. * breakpoint.c: Likewise. * cli/cli-decode.c: Likewise. * findcmd.c: Likewise. * inline-frame.c: Likewise. * mi/mi-main.c: Likewise. * minsyms.c: Likewise. * monitor.c: Likewise. * monitor.h: Likewise. * prologue-value.c: Likewise. * reverse.c: Likewise. * s390-tdep.c: Likewise. gdb/testsuite/ * gdb.base/call-sc.c: Likewise. * gdb.base/ifelse.exp: Likewise. * gdb.base/structs.c: Likewise. gdb/doc/ * gdb.texinfo: Likewise. --- gdb/ChangeLog | 16 ++++++++++++++++ gdb/ada-lang.c | 2 +- gdb/amd64-tdep.c | 2 +- gdb/breakpoint.c | 2 +- gdb/cli/cli-decode.c | 2 +- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdb.texinfo | 2 +- gdb/findcmd.c | 2 +- gdb/inline-frame.c | 2 +- gdb/mi/mi-main.c | 2 +- gdb/minsyms.c | 2 +- gdb/monitor.c | 2 +- gdb/monitor.h | 2 +- gdb/prologue-value.c | 2 +- gdb/reverse.c | 2 +- gdb/s390-tdep.c | 2 +- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/call-sc.c | 2 +- gdb/testsuite/gdb.base/ifelse.exp | 2 +- gdb/testsuite/gdb.base/structs.c | 2 +- 20 files changed, 43 insertions(+), 17 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8d1fc9accf..d85938cd7e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,19 @@ +2011-07-05 Thiago Jung Bauermann + + * ada-lang.c: Fix typos. + * amd64-tdep.c: Likewise. + * breakpoint.c: Likewise. + * cli/cli-decode.c: Likewise. + * findcmd.c: Likewise. + * inline-frame.c: Likewise. + * mi/mi-main.c: Likewise. + * minsyms.c: Likewise. + * monitor.c: Likewise. + * monitor.h: Likewise. + * prologue-value.c: Likewise. + * reverse.c: Likewise. + * s390-tdep.c: Likewise. + 2011-07-04 Joel Brobecker * osabi.c (generic_elf_osabi_sniffer): Minor comment reformatting. diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 752af87dc9..4499873055 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -8321,7 +8321,7 @@ ada_enum_name (const char *name) /* First, unqualify the enumeration name: 1. Search for the last '.' character. If we find one, then skip - all the preceeding characters, the unqualified name starts + all the preceding characters, the unqualified name starts right after that dot. 2. Otherwise, we may be debugging on a target where the compiler translates dots into "__". Search forward for double underscores, diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 4524f03ecf..de62ac702c 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -518,7 +518,7 @@ amd64_classify_aggregate (struct type *type, enum amd64_reg_class class[2]) if (class[0] == AMD64_MEMORY || class[1] == AMD64_MEMORY) class[0] = class[1] = AMD64_MEMORY; - /* Rule (b): If SSEUP is not preceeded by SSE, it is converted to + /* Rule (b): If SSEUP is not preceded by SSE, it is converted to SSE. */ if (class[0] == AMD64_SSEUP) class[0] = AMD64_SSE; diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index eae337ed40..802c8a17f1 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -8775,7 +8775,7 @@ break_range_command (char *arg, int from_tty) end = find_breakpoint_range_end (sal_end); if (sal_start.pc > end) - error (_("Invalid address range, end preceeds start.")); + error (_("Invalid address range, end precedes start.")); length = end - sal_start.pc + 1; if (length < 0) diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 33dc966065..744d52e187 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -1500,7 +1500,7 @@ deprecated_cmd_warning (char **text) If LINE refers to an alias, *alias will point to that alias. - If LINE is a postfix command (i.e. one that is preceeded by a prefix + If LINE is a postfix command (i.e. one that is preceded by a prefix command) set *prefix_cmd. Set *cmd to point to the command LINE indicates. diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 8595419c9c..fa8042c4d5 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2011-07-05 Thiago Jung Bauermann + + * gdb.texinfo: Fix typos. + 2011-07-01 Tom Tromey * gdb.texinfo (Debugging Output): Document set debug diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index dbaf30e760..129a46ba98 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -36715,7 +36715,7 @@ The register's size, in bits. @item regnum The register's number. If omitted, a register's number is one greater than that of the previous register (either in the current feature or in -a preceeding feature); the first register in the target description +a preceding feature); the first register in the target description defaults to zero. This register number is used to read or write the register; e.g.@: it is used in the remote @code{p} and @code{P} packets, and registers appear in the @code{g} and @code{G} packets diff --git a/gdb/findcmd.c b/gdb/findcmd.c index 0255613e49..7665a04a6d 100644 --- a/gdb/findcmd.c +++ b/gdb/findcmd.c @@ -151,7 +151,7 @@ parse_find_args (char *args, ULONGEST *max_countp, v = parse_to_comma_and_eval (&s); end_addr = value_as_address (v); if (start_addr > end_addr) - error (_("Invalid search space, end preceeds start.")); + error (_("Invalid search space, end precedes start.")); search_space_len = end_addr - start_addr + 1; /* We don't support searching all of memory (i.e. start=0, end = 0xff..ff). diff --git a/gdb/inline-frame.c b/gdb/inline-frame.c index dc05b8a344..6298594087 100644 --- a/gdb/inline-frame.c +++ b/gdb/inline-frame.c @@ -288,7 +288,7 @@ block_starting_point_at (CORE_ADDR pc, struct block *block) if (new_block == block || contained_in (new_block, block)) return 0; - /* The immediately preceeding address belongs to a different block, + /* The immediately preceding address belongs to a different block, which is not a child of this one. Treat this as an entrance into BLOCK. */ return 1; diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 7592a74e63..1634778a49 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1550,7 +1550,7 @@ mi_cmd_data_read_memory_bytes (char *command, char **argv, int argc) /* DATA-MEMORY-WRITE: - COLUMN_OFFSET: optional argument. Must be preceeded by '-o'. The + COLUMN_OFFSET: optional argument. Must be preceded by '-o'. The offset from the beginning of the memory grid row where the cell to be written is. ADDR: start address of the row in the memory grid where the memory diff --git a/gdb/minsyms.c b/gdb/minsyms.c index 249675bb3d..70871cd2ca 100644 --- a/gdb/minsyms.c +++ b/gdb/minsyms.c @@ -583,7 +583,7 @@ lookup_minimal_symbol_by_pc_section_1 (CORE_ADDR pc, /* If we are looking for a trampoline and this is a text symbol, or the other way around, check the - preceeding symbol too. If they are otherwise + preceding symbol too. If they are otherwise identical prefer that one. */ if (hi > 0 && MSYMBOL_TYPE (&msymbol[hi]) == other_type diff --git a/gdb/monitor.c b/gdb/monitor.c index 90f36d9e72..2eeb705c22 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -1864,7 +1864,7 @@ monitor_read_memory (CORE_ADDR memaddr, char *myaddr, int len) len = min (len, 16); - /* Some dumpers align the first data with the preceeding 16 + /* Some dumpers align the first data with the preceding 16 byte boundary. Some print blanks and start at the requested boundary. EXACT_DUMPADDR */ diff --git a/gdb/monitor.h b/gdb/monitor.h index 0e9cae3994..77691c3fd6 100644 --- a/gdb/monitor.h +++ b/gdb/monitor.h @@ -226,7 +226,7 @@ struct monitor_ops #define MO_PRINT_PROGRAM_OUTPUT 0x200000 -/* Some dump bytes commands align the first data with the preceeding +/* Some dump bytes commands align the first data with the preceding 16 byte boundary. Some print blanks and start at the exactly the requested boundary. */ diff --git a/gdb/prologue-value.c b/gdb/prologue-value.c index 46c5b689d3..0704787581 100644 --- a/gdb/prologue-value.c +++ b/gdb/prologue-value.c @@ -399,7 +399,7 @@ pv_area_store_would_trash (struct pv_area *area, pv_t addr) This may return zero, if AREA has no entries. And since the entries are a ring, this may return an entry that - entirely preceeds OFFSET. This is the correct behavior: depending + entirely precedes OFFSET. This is the correct behavior: depending on the sizes involved, we could still overlap such an area, with wrap-around. */ static struct area_entry * diff --git a/gdb/reverse.c b/gdb/reverse.c index b44c0d1f02..1437b406ec 100644 --- a/gdb/reverse.c +++ b/gdb/reverse.c @@ -184,7 +184,7 @@ delete_one_bookmark (int num) if (b == bookmark_chain) bookmark_chain = b->next; - /* Find bookmark preceeding "marked" one, so we can unlink. */ + /* Find bookmark preceding "marked" one, so we can unlink. */ if (b) { ALL_BOOKMARKS (b1) diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index d9407efeb8..ca7ecc7898 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -1307,7 +1307,7 @@ s390_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc) exactly one case: when pc points to that branch instruction. Thus we try to disassemble the one instructions immediately - preceeding pc and check whether it is an LM-type instruction + preceding pc and check whether it is an LM-type instruction modifying the stack pointer. Note that disassembling backwards is not reliable, so there diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 81673a1f36..346f42798f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-07-05 Thiago Jung Bauermann + + * gdb.base/call-sc.c: Fix typos. + * gdb.base/ifelse.exp: Likewise. + * gdb.base/structs.c: Likewise. + 2011-07-02 Jan Kratochvil * gdb.cp/m-static.exp: Call get_compiler_info. diff --git a/gdb/testsuite/gdb.base/call-sc.c b/gdb/testsuite/gdb.base/call-sc.c index 99810afd76..951e10166c 100644 --- a/gdb/testsuite/gdb.base/call-sc.c +++ b/gdb/testsuite/gdb.base/call-sc.c @@ -68,7 +68,7 @@ int main() /* An infinite loop that first clears all the variables and then calls the function. This "hack" is to make re-testing easier - - "advance fun" is guaranteed to have always been preceeded by a + "advance fun" is guaranteed to have always been preceded by a global variable clearing zed call. */ zed (); diff --git a/gdb/testsuite/gdb.base/ifelse.exp b/gdb/testsuite/gdb.base/ifelse.exp index 0a0bb0a369..adf23e7e57 100644 --- a/gdb/testsuite/gdb.base/ifelse.exp +++ b/gdb/testsuite/gdb.base/ifelse.exp @@ -53,7 +53,7 @@ gdb_test_multiple "if 0\nend" $message { # This fails in GDB <=6.5 # Unfortunately it was an uninitialised memory problem so -# sometimes it just works. Preceed it with an if else end with +# sometimes it just works. Precede it with an if else end with # bodies and hopefully the memory with be dirty and the problem # will show itself (this works at time of writing). diff --git a/gdb/testsuite/gdb.base/structs.c b/gdb/testsuite/gdb.base/structs.c index d688cd0ee4..c26b86ccda 100644 --- a/gdb/testsuite/gdb.base/structs.c +++ b/gdb/testsuite/gdb.base/structs.c @@ -433,7 +433,7 @@ int main() /* An infinite loop that first clears all the variables and then calls each function. This "hack" is to make testing random functions easier - "advance funN" is guaranteed to have always - been preceeded by a global variable clearing zed call. */ + been preceded by a global variable clearing zed call. */ while (1) { -- 2.34.1