2011-02-27 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Sun, 27 Feb 2011 16:25:38 +0000 (16:25 +0000)
committerMichael Snyder <msnyder@vmware.com>
Sun, 27 Feb 2011 16:25:38 +0000 (16:25 +0000)
* darwin-nat-info.c: Fix comment typo.
* dwarf2expr.h: Ditto.
* fbsd-nat.c: Ditto.
* fbsd-nat.h: Ditto.
* frame-unwind.h: Ditto.
* frame.h: Ditto.
* hppa-hpux-tdep.c: Ditto.
* i386-linux-nat.c: Ditto.
* linux-nat.c: Ditto.
* nbsd-nat.c: Ditto.
* nbsd-nat.h: Ditto.
* ppc-linux-tdep.c: Ditto.
* serial.c: Ditto.
* ui-file.h: Ditto.
* tui/tui-winsource.c: Ditto.

16 files changed:
gdb/ChangeLog
gdb/darwin-nat-info.c
gdb/dwarf2expr.h
gdb/fbsd-nat.c
gdb/fbsd-nat.h
gdb/frame-unwind.h
gdb/frame.h
gdb/hppa-hpux-tdep.c
gdb/i386-linux-nat.c
gdb/linux-nat.c
gdb/nbsd-nat.c
gdb/nbsd-nat.h
gdb/ppc-linux-tdep.c
gdb/serial.c
gdb/tui/tui-winsource.c
gdb/ui-file.h

index 1ae76bd..51311e7 100644 (file)
@@ -1,3 +1,21 @@
+2011-02-27  Michael Snyder  <msnyder@vmware.com>
+
+       * darwin-nat-info.c: Fix comment typo.
+       * dwarf2expr.h: Ditto.
+       * fbsd-nat.c: Ditto.
+       * fbsd-nat.h: Ditto.
+       * frame-unwind.h: Ditto.
+       * frame.h: Ditto.
+       * hppa-hpux-tdep.c: Ditto.
+       * i386-linux-nat.c: Ditto.
+       * linux-nat.c: Ditto.
+       * nbsd-nat.c: Ditto.
+       * nbsd-nat.h: Ditto.
+       * ppc-linux-tdep.c: Ditto.
+       * serial.c: Ditto.
+       * ui-file.h: Ditto.
+       * tui/tui-winsource.c: Ditto.
+
 2011-02-26  Michael Snyder  <msnyder@vmware.com>
 
        * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file).
index b4074d4..79173c5 100644 (file)
@@ -817,7 +817,7 @@ info_mach_exceptions_command (char *args, int from_tty)
        }
       else if (strcmp (args, "host") == 0)
        {
-         /* FIXME: This need a the privilegied host port!  */
+         /* FIXME: This need a privilegied host port!  */
          kret = host_get_exception_ports
            (darwin_host_self, EXC_MASK_ALL, info.masks,
             &info.count, info.ports, info.behaviors, info.flavors);
index 620269f..78ff53f 100644 (file)
@@ -126,7 +126,7 @@ struct dwarf_expr_context
   /* Location of the value.  */
   enum dwarf_value_location location;
 
-  /* For DWARF_VALUE_LITERAL, the current literal value's length and
+  /* For DWARF_VALUE_LITERAL, the current literal value's length and
      data.  For DWARF_VALUE_IMPLICIT_POINTER, LEN is the offset of the
      target DIE.  */
   ULONGEST len;
index 3c3053c..2072e0e 100644 (file)
@@ -34,7 +34,7 @@
 #include "elf-bfd.h"
 #include "fbsd-nat.h"
 
-/* Return a the name of file that can be opened to get the symbols for
+/* Return the name of a file that can be opened to get the symbols for
    the child process identified by PID.  */
 
 char *
index 625204e..c232a4f 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef FBSD_NAT_H
 #define FBSD_NAT_H
 
-/* Return a the name of file that can be opened to get the symbols for
+/* Return the name of a file that can be opened to get the symbols for
    the child process identified by PID.  */
 
 extern char *fbsd_pid_to_exec_file (int pid);
index 2bd8046..e449766 100644 (file)
@@ -148,7 +148,7 @@ struct frame_unwind
    search list (so it is sniffed before previously registered
    unwinders).  By using a prepend, later calls can install unwinders
    that override earlier calls.  This allows, for instance, an OSABI
-   to install a more specific sigtramp unwinder that overrides the
+   to install a more specific sigtramp unwinder that overrides the
    traditional brute-force unwinder.  */
 extern void frame_unwind_prepend_unwinder (struct gdbarch *,
                                           const struct frame_unwind *);
index 4b50ad9..2c5276e 100644 (file)
@@ -344,7 +344,7 @@ void set_current_sal_from_frame (struct frame_info *, int);
    low-level unwinder, the stack part [typically] being the
    top-of-stack of the previous frame, and the function part being the
    function's start address.  Since the correct identification of a
-   frameless function requires both the a stack and function address,
+   frameless function requires both a stack and function address,
    the old get_frame_base method was not sufficient.
 
    get_frame_base_address: get_frame_locals_address:
index 4e21c69..b9761c3 100644 (file)
@@ -1073,7 +1073,7 @@ static CORE_ADDR
 hppa_hpux_find_dummy_bpaddr (CORE_ADDR addr)
 {
   /* In order for us to restore the space register to its starting state, 
-     we need the dummy trampoline to return to the an instruction address in 
+     we need the dummy trampoline to return to an instruction address in 
      the same space as where we started the call.  We used to place the 
      breakpoint near the current pc, however, this breaks nested dummy calls 
      as the nested call will hit the breakpoint address and terminate 
index c3cbbcc..e32a119 100644 (file)
@@ -794,7 +794,7 @@ ps_get_thread_area (const struct ps_prochandle *ph,
      call.
 
      Is this function needed?  I'm guessing that the `base' is the
-     address of a descriptor that libthread_db uses to find the
+     address of a descriptor that libthread_db uses to find the
      thread local address base that GDB needs.  Perhaps that
      descriptor is defined by the ABI.  Anyway, given that
      libthread_db calls this function without prompting (gdb
index bb0dd18..98e85e9 100644 (file)
@@ -2828,7 +2828,7 @@ status_callback (struct lwp_info *lp, void *data)
   if (lp->waitstatus.kind != TARGET_WAITKIND_IGNORE)
     {
       /* A ptrace event, like PTRACE_FORK|VFORK|EXEC, syscall event,
-        or a pending process exit.  Note that `W_EXITCODE(0,0) ==
+        or a pending process exit.  Note that `W_EXITCODE(0,0) ==
         0', so a clean process exit can not be stored pending in
         lp->status, it is indistinguishable from
         no-pending-status.  */
index 777a476..50ba3c5 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "nbsd-nat.h"
 
-/* Return a the name of file that can be opened to get the symbols for
+/* Return the name of a file that can be opened to get the symbols for
    the child process identified by PID.  */
 
 char *
index 999e493..998b694 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef NBSD_NAT_H
 #define NBSD_NAT_H
 
-/* Return a the name of file that can be opened to get the symbols for
+/* Return the name of a file that can be opened to get the symbols for
    the child process identified by PID.  */
 
 extern char *nbsd_pid_to_exec_file (int pid);
index 4800fd4..ba70ffd 100644 (file)
    word) to be written back to the now initialized PLT entry thus
    destroying a portion of the initialization that had occurred only a
    short time ago.  When execution continued, the zero word would be
-   executed as an instruction an an illegal instruction trap was
+   executed as an instruction an illegal instruction trap was
    generated instead.  (0 is not a legal instruction.)
 
    The fix for this problem was fairly straightforward.  The function
index 8809abd..954d22a 100644 (file)
@@ -214,7 +214,7 @@ serial_open (const char *name)
   scb->bufp = scb->buf;
   scb->error_fd = -1;
 
-  /* `...->open (...)' would get expanded by an the open(2) syscall macro.  */
+  /* `...->open (...)' would get expanded by the open(2) syscall macro.  */
   if ((*scb->ops->open) (scb, open_name))
     {
       xfree (scb);
index 139c669..9556cf1 100644 (file)
@@ -642,7 +642,7 @@ tui_alloc_source_buffer (struct tui_win_info *win_info)
 }
 
 
-/* Answer whether the a particular line number or address is displayed
+/* Answer whether a particular line number or address is displayed
    in the current source window.  */
 int
 tui_line_is_displayed (int line, 
@@ -673,7 +673,7 @@ tui_line_is_displayed (int line,
 }
 
 
-/* Answer whether the a particular line number or address is displayed
+/* Answer whether a particular line number or address is displayed
    in the current source window.  */
 int
 tui_addr_is_displayed (CORE_ADDR addr, 
index 01cee1f..219668a 100644 (file)
@@ -106,7 +106,7 @@ extern struct ui_file *mem_fileopen (void);
 
 
 
-/* Open/create a an STDIO based UI_FILE using the already open FILE.  */
+/* Open/create a STDIO based UI_FILE using the already open FILE.  */
 extern struct ui_file *stdio_fileopen (FILE *file);
 
 /* Open NAME returning an STDIO based UI_FILE.  */