This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

More spelling corrections in comments



I will commit the following spelling corrections
in 24-48 hours unless there are objections
(Andrew Cagney suggested I handle trivial spelling
corrections in this manner).


2000-10-25  David B. Anderson <davea@sgi.com>
	* breakpoint.c breakpoint.h hppab-nat.c infrun.c
	language.h mcore-tdep.c mips-tdep.c symfile.c symtab.c
	symtab.h target.c tm-mips.h xm-sun4sol2.h: Corrected
	spelling errors in comments.
	* gdbarch.c gdbarch.sh: Removed word from comment.


Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.17
diff -u -p -r1.17 breakpoint.c
--- breakpoint.c	2000/08/30 00:58:58	1.17
+++ breakpoint.c	2000/10/25 22:16:59
@@ -1266,7 +1266,7 @@ remove_breakpoint (struct breakpoint *b,
 	  /* Check to see if breakpoint is in an overlay section;
 	     if so, we should remove the breakpoint at the LMA address.
 	     If that is not equal to the raw address, then we should 
-	     presumable remove the breakpoint there as well.  */
+	     presumably remove the breakpoint there as well.  */
 	  if (overlay_debugging && b->section &&
 	      section_is_overlay (b->section))
 	    {
@@ -2780,7 +2780,7 @@ bpstat_what (bpstat bs)
      back and decide something of a lower priority is better.  The
      ordering is:
 
-     kc   < clr sgl shl slr sn sr ss ts
+     kc   < clr sgl shl shlr slr sn sr ss ts
      sgl  < clrs shl shlr slr sn sr ss ts
      slr  < err shl shlr sn sr ss ts
      clr  < clrs err shl shlr sn sr ss ts
Index: breakpoint.h
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.h,v
retrieving revision 1.4
diff -u -p -r1.4 breakpoint.h
--- breakpoint.h	2000/05/28 01:12:26	1.4
+++ breakpoint.h	2000/10/25 22:16:59
@@ -280,17 +280,17 @@ struct breakpoint
     char *dll_pathname;
 
     /* Filename of a dll whose state change (e.g., load or unload)
-       triggered this catchpoint.  This field is only vaid immediately
+       triggered this catchpoint.  This field is only valid immediately
        after this catchpoint has triggered.  */
     char *triggered_dll_pathname;
 
     /* Process id of a child process whose forking triggered this
-       catchpoint.  This field is only vaid immediately after this
+       catchpoint.  This field is only valid immediately after this
        catchpoint has triggered.  */
     int forked_inferior_pid;
 
     /* Filename of a program whose exec triggered this catchpoint.
-       This field is only vaid immediately after this catchpoint has
+       This field is only valid immediately after this catchpoint has
        triggered.  */
     char *exec_pathname;
 
@@ -620,7 +620,7 @@ extern void set_longjmp_resume_breakpoin
    cause the inferior to stop in places where this frame is visible,
    and that can cause execution control to become very confused.
 
-   Note that if a user sets breakpoints in an interactively call
+   Note that if a user sets breakpoints in an interactively called
    function, the call_disabled watchpoints will have been reenabled
    when the first such breakpoint is reached.  However, on targets
    that are unable to unwind through the call dummy frame, watches
Index: gdbarch.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbarch.c,v
retrieving revision 1.42
diff -u -p -r1.42 gdbarch.c
--- gdbarch.c	2000/09/01 23:55:07	1.42
+++ gdbarch.c	2000/10/25 22:17:00
@@ -117,7 +117,7 @@ struct gdbarch
      verify_gdbarch(): Confirm that the target updated the field
      correctly.
 
-     gdbarch_dump(): Add a fprintf_unfiltered call to so that the new
+     gdbarch_dump(): Add a fprintf_unfiltered call so that the new
      field is dumped out
 
      ``startup_gdbarch()'': Append an initial value to the static
Index: gdbarch.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdbarch.sh,v
retrieving revision 1.43
diff -u -p -r1.43 gdbarch.sh
--- gdbarch.sh	2000/09/04 11:40:20	1.43
+++ gdbarch.sh	2000/10/25 22:17:04
@@ -1101,7 +1101,7 @@ cat <<EOF
      verify_gdbarch(): Confirm that the target updated the field
      correctly.
 
-     gdbarch_dump(): Add a fprintf_unfiltered call to so that the new
+     gdbarch_dump(): Add a fprintf_unfiltered call so that the new
      field is dumped out
 
      \`\`startup_gdbarch()'': Append an initial value to the static
Index: hppab-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/hppab-nat.c,v
retrieving revision 1.2
diff -u -p -r1.2 hppab-nat.c
--- hppab-nat.c	2000/07/30 01:48:25	1.2
+++ hppab-nat.c	2000/10/25 22:17:04
@@ -182,7 +182,7 @@ store_inferior_registers (int regno)
 
    This call may fail if the given addresses are not valid in the inferior
    process.  This most often happens when restarting a program which
-   as watchpoints inserted on heap or stack memory.  */
+   has watchpoints inserted on heap or stack memory.  */
 
 #define PT_PROT 21
 
Index: infrun.c
===================================================================
RCS file: /cvs/src/src/gdb/infrun.c,v
retrieving revision 1.18
diff -u -p -r1.18 infrun.c
--- infrun.c	2000/09/02 00:08:05	1.18
+++ infrun.c	2000/10/25 22:17:06
@@ -1108,7 +1108,7 @@ start_remote (void)
 
   /* Always go on waiting for the target, regardless of the mode. */
   /* FIXME: cagney/1999-09-23: At present it isn't possible to
-     indicate th wait_for_inferior that a target should timeout if
+     indicate to wait_for_inferior that a target should timeout if
      nothing is returned (instead of just blocking).  Because of this,
      targets expecting an immediate response need to, internally, set
      things up so that the target_wait() is forced to eventually
Index: language.h
===================================================================
RCS file: /cvs/src/src/gdb/language.h,v
retrieving revision 1.6
diff -u -p -r1.6 language.h
--- language.h	2000/08/11 01:02:35	1.6
+++ language.h	2000/10/25 22:17:06
@@ -30,7 +30,7 @@ struct expression;
 /* enum exp_opcode;     ANSI's `wisdom' didn't include forward enum decls. */
 
 /* This used to be included to configure GDB for one or more specific
-   languages.  Now it is shortcutted to configure for all of them.  FIXME.  */
+   languages.  Now it is left out to configure for all of them.  FIXME.  */
 /* #include "lang_def.h" */
 #define	_LANG_c
 #define	_LANG_m2
@@ -255,7 +255,7 @@ struct language_defn
    its own language and we should keep track of that regardless of the
    language when symbols are read.  If we want some manual setting for
    the language of symbol files (e.g. detecting when ".c" files are
-   C++), it should be a seprate setting from the current_language.  */
+   C++), it should be a seperate setting from the current_language.  */
 
 extern const struct language_defn *current_language;
 
Index: mcore-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mcore-tdep.c,v
retrieving revision 1.2
diff -u -p -r1.2 mcore-tdep.c
--- mcore-tdep.c	2000/07/30 01:48:26	1.2
+++ mcore-tdep.c	2000/10/25 22:17:07
@@ -615,7 +615,7 @@ mcore_skip_prologue (CORE_ADDR pc)
   struct symtab_and_line sal;
 
   /* If we have line debugging information, then the end of the
-     prologue should the first assembly instruction of  the first
+     prologue should be the first assembly instruction of  the first
      source line */
   if (find_pc_partial_function (pc, NULL, &func_addr, &func_end))
     {
Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.32
diff -u -p -r1.32 mips-tdep.c
--- mips-tdep.c	2000/10/25 20:06:30	1.32
+++ mips-tdep.c	2000/10/25 22:17:10
@@ -1132,8 +1132,8 @@ mips16_next_pc (CORE_ADDR pc)
   return pc;
 }				/* mips16_next_pc */
 
-/* The mips_next_pc function supports single_tep when the remote target monitor or
-   stub is not developed enough to so a single_step.
+/* The mips_next_pc function supports single_step when the remote 
+   target monitor or stub is not developed enough to do a single_step.
    It works by decoding the current instruction and predicting where a branch
    will go. This isnt hard because all the data is available.
    The MIPS32 and MIPS16 variants are quite different
Index: symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.19
diff -u -p -r1.19 symfile.c
--- symfile.c	2000/10/12 16:53:06	1.19
+++ symfile.c	2000/10/25 22:17:11
@@ -2143,7 +2143,7 @@ cashier_psymtab (struct partial_symtab *
    it is not called for subsidiary files such as .h files.
 
    Return value is 1 if we blew away the environment, 0 if not.
-   FIXME.  The return valu appears to never be used.
+   FIXME.  The return value appears to never be used.
 
    FIXME.  I think this is not the best way to do this.  We should
    work on being gentler to the environment while still cleaning up
Index: symtab.c
===================================================================
RCS file: /cvs/src/src/gdb/symtab.c,v
retrieving revision 1.17
diff -u -p -r1.17 symtab.c
--- symtab.c	2000/10/12 19:34:27	1.17
+++ symtab.c	2000/10/25 22:17:13
@@ -1569,7 +1569,7 @@ done:
 }
 #endif /* 0 */
 
-/* Find the source file and line number for a given PC value and section.
+/* Find the source file and line number for a given PC value and SECTION.
    Return a structure containing a symtab pointer, a line number,
    and a pc range for the entire source line.
    The value's .pc field is NOT the specified pc.
Index: symtab.h
===================================================================
RCS file: /cvs/src/src/gdb/symtab.h,v
retrieving revision 1.14
diff -u -p -r1.14 symtab.h
--- symtab.h	2000/10/12 19:34:27	1.14
+++ symtab.h	2000/10/25 22:17:14
@@ -761,7 +761,7 @@ struct partial_symbol
 
 
 /* Source-file information.  This describes the relation between source files,
-   ine numbers and addresses in the program text.  */
+   line numbers and addresses in the program text.  */
 
 struct sourcevector
   {
@@ -1417,7 +1417,7 @@ extern struct partial_symbol *fixup_psym
 /* Symbol searching */
 
 /* When using search_symbols, a list of the following structs is returned.
-   Callers must free the search list using free_symbol_search! */
+   Callers must free the search list using free_search_symbols! */
 struct symbol_search
   {
     /* The block in which the match was found. Could be, for example,
Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.12
diff -u -p -r1.12 target.c
--- target.c	2000/10/25 14:16:25	1.12
+++ target.c	2000/10/25 22:17:15
@@ -2076,7 +2076,7 @@ store_waitstatus (struct target_waitstat
    signal.  The idea is to keep these circumstances limited so that
    users (and scripts) develop portable habits.  For comparison,
    POSIX.2 `kill' requires that 1,2,3,6,9,14, and 15 work (and using a
-   numeric signal at all is obscelescent.  We are slightly more
+   numeric signal at all is obsolescent.  We are slightly more
    lenient and allow 1-15 which should match host signal numbers on
    most systems.  Use of symbolic signal names is strongly encouraged.  */
 
Index: config/mips/tm-mips.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-mips.h,v
retrieving revision 1.14
diff -u -p -r1.14 tm-mips.h
--- tm-mips.h	2000/07/07 09:19:03	1.14
+++ tm-mips.h	2000/10/25 22:17:15
@@ -432,7 +432,7 @@ extern void mips_print_extra_frame_info 
    multiple functions with the same SP.  But on the MIPS we can't do
    that since the PC is not stored in the same part of the frame every
    time.  This does not seem to be a very clever way to set up frames,
-   but there is nothing we can do about that).  */
+   but there is nothing we can do about that.  */
 
 #define SETUP_ARBITRARY_FRAME(argc, argv) setup_arbitrary_frame (argc, argv)
 extern struct frame_info *setup_arbitrary_frame (int, CORE_ADDR *);
Index: config/sparc/xm-sun4sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/xm-sun4sol2.h,v
retrieving revision 1.2
diff -u -p -r1.2 xm-sun4sol2.h
--- xm-sun4sol2.h	2000/05/30 00:03:57	1.2
+++ xm-sun4sol2.h	2000/10/25 22:17:15
@@ -39,5 +39,5 @@
 
 /* On sol2.7, <curses.h> emits a bunch of 'macro redefined'
    warnings, which makes autoconf think curses.h doesn't
-   exist.  Compensate fot that here. */
+   exist.  Compensate for that here. */
 #define HAVE_CURSES_H 1

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]