aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog18
-rw-r--r--gdb/darwin-nat-info.c2
-rw-r--r--gdb/dwarf2expr.h2
-rw-r--r--gdb/fbsd-nat.c2
-rw-r--r--gdb/fbsd-nat.h2
-rw-r--r--gdb/frame-unwind.h2
-rw-r--r--gdb/frame.h2
-rw-r--r--gdb/hppa-hpux-tdep.c2
-rw-r--r--gdb/i386-linux-nat.c2
-rw-r--r--gdb/linux-nat.c2
-rw-r--r--gdb/nbsd-nat.c2
-rw-r--r--gdb/nbsd-nat.h2
-rw-r--r--gdb/ppc-linux-tdep.c2
-rw-r--r--gdb/serial.c2
-rw-r--r--gdb/tui/tui-winsource.c4
-rw-r--r--gdb/ui-file.h2
16 files changed, 34 insertions, 16 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1ae76bd..51311e7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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).
diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c
index b4074d4..79173c5 100644
--- a/gdb/darwin-nat-info.c
+++ b/gdb/darwin-nat-info.c
@@ -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);
diff --git a/gdb/dwarf2expr.h b/gdb/dwarf2expr.h
index 620269f..78ff53f 100644
--- a/gdb/dwarf2expr.h
+++ b/gdb/dwarf2expr.h
@@ -126,7 +126,7 @@ struct dwarf_expr_context
/* Location of the value. */
enum dwarf_value_location location;
- /* For DWARF_VALUE_LITERAL, a 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;
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index 3c3053c..2072e0e 100644
--- a/gdb/fbsd-nat.c
+++ b/gdb/fbsd-nat.c
@@ -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 *
diff --git a/gdb/fbsd-nat.h b/gdb/fbsd-nat.h
index 625204e..c232a4f 100644
--- a/gdb/fbsd-nat.h
+++ b/gdb/fbsd-nat.h
@@ -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);
diff --git a/gdb/frame-unwind.h b/gdb/frame-unwind.h
index 2bd8046..e449766 100644
--- a/gdb/frame-unwind.h
+++ b/gdb/frame-unwind.h
@@ -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 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 *);
diff --git a/gdb/frame.h b/gdb/frame.h
index 4b50ad9..2c5276e 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -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:
diff --git a/gdb/hppa-hpux-tdep.c b/gdb/hppa-hpux-tdep.c
index 4e21c69..b9761c3 100644
--- a/gdb/hppa-hpux-tdep.c
+++ b/gdb/hppa-hpux-tdep.c
@@ -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
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index c3cbbcc..e32a119 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -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 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
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index bb0dd18..98e85e9 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -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 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. */
diff --git a/gdb/nbsd-nat.c b/gdb/nbsd-nat.c
index 777a476..50ba3c5 100644
--- a/gdb/nbsd-nat.c
+++ b/gdb/nbsd-nat.c
@@ -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 *
diff --git a/gdb/nbsd-nat.h b/gdb/nbsd-nat.h
index 999e493..998b694 100644
--- a/gdb/nbsd-nat.h
+++ b/gdb/nbsd-nat.h
@@ -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);
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index 4800fd4..ba70ffd 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -167,7 +167,7 @@
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
diff --git a/gdb/serial.c b/gdb/serial.c
index 8809abd..954d22a 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -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);
diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c
index 139c669..9556cf1 100644
--- a/gdb/tui/tui-winsource.c
+++ b/gdb/tui/tui-winsource.c
@@ -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,
diff --git a/gdb/ui-file.h b/gdb/ui-file.h
index 01cee1f..219668a 100644
--- a/gdb/ui-file.h
+++ b/gdb/ui-file.h
@@ -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. */