mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 10:03:47 +08:00
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.
This commit is contained in:
parent
86b887dff0
commit
766062f62f
@ -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).
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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 *
|
||||
|
@ -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);
|
||||
|
@ -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 *);
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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. */
|
||||
|
@ -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 *
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user