|
GDB (xrefs)
|
#include "defs.h"#include "command.h"#include "gdbcmd.h"#include "inferior.h"#include "mips-tdep.h"#include "target.h"#include "regcache.h"#include "linux-nat-trad.h"#include "mips-linux-tdep.h"#include "target-descriptions.h"#include "gdb_proc_service.h"#include "gregset.h"#include <sgidefs.h>#include "nat/gdb_ptrace.h"#include <asm/ptrace.h>#include "inf-ptrace.h"#include "nat/mips-linux-watch.h"Go to the source code of this file.
Classes | |
| class | mips_linux_nat_target |
Macros | |
| #define | PTRACE_GET_THREAD_AREA 25 |
Functions | |
| static CORE_ADDR | mips_linux_register_addr (struct gdbarch *gdbarch, int regno, int store) |
| static CORE_ADDR | mips64_linux_register_addr (struct gdbarch *gdbarch, int regno, int store) |
| ps_err_e | ps_get_thread_area (struct ps_prochandle *ph, lwpid_t lwpid, int idx, void **base) |
| void | supply_gregset (struct regcache *regcache, const gdb_gregset_t *gregsetp) |
| void | fill_gregset (const struct regcache *regcache, gdb_gregset_t *gregsetp, int regno) |
| void | supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregsetp) |
| void | fill_fpregset (const struct regcache *regcache, gdb_fpregset_t *fpregsetp, int regno) |
| static void | mips_show_dr (const char *func, CORE_ADDR addr, int len, enum target_hw_bp_type type) |
| static int | write_watchpoint_regs (void) |
| void | _initialize_mips_linux_nat () |
Variables | |
| static mips_linux_nat_target | the_mips_linux_nat_target |
| static int | have_ptrace_regsets = 1 |
| static int | watch_readback_valid |
| static struct pt_watch_regs | watch_readback |
| static struct mips_watchpoint * | current_watches |
| static struct pt_watch_regs | watch_mirror |
| #define PTRACE_GET_THREAD_AREA 25 |
Definition at line 42 of file mips-linux-nat.c.
Referenced by ps_get_thread_area().
| void _initialize_mips_linux_nat | ( | ) |
Definition at line 790 of file mips-linux-nat.c.
References add_inf_child_target(), add_setshow_boolean_cmd(), class_maintenance, linux_target, maintenance_set_cmdlist, maintenance_show_cmdlist, and the_mips_linux_nat_target.
| void fill_fpregset | ( | const struct regcache * | regcache, |
| gdb_fpregset_t * | fpregsetp, | ||
| int | regno ) |
Definition at line 231 of file mips-linux-nat.c.
References mips64_fill_fpregset().
| void fill_gregset | ( | const struct regcache * | regcache, |
| gdb_gregset_t * | gregsetp, | ||
| int | regno ) |
Definition at line 215 of file mips-linux-nat.c.
References reg_buffer::arch(), mips64_fill_gregset(), mips_fill_gregset(), and mips_isa_regsize().
|
static |
Definition at line 141 of file mips-linux-nat.c.
References DSP_BASE, DSP_CONTROL, mips_regnum::dspacc, gdbarch_fp0_regnum(), gdbarch_num_regs(), MIPS64_BADVADDR, MIPS64_CAUSE, MIPS64_FPC_CSR, MIPS64_FPC_EIR, MIPS64_FPR_BASE, MIPS64_MMHI, MIPS64_MMLO, MIPS64_PC, mips_linux_restart_reg_p(), mips_regnum(), MIPS_RESTART_REGNUM, MIPS_ZERO_REGNUM, PTRACE_TYPE_RET, and register_size().
Referenced by mips_linux_nat_target::register_u_offset().
|
static |
Definition at line 100 of file mips-linux-nat.c.
References BADVADDR, CAUSE, DSP_BASE, DSP_CONTROL, mips_regnum::dspacc, mips_regnum::fp0, FPC_CSR, FPC_EIR, FPR_BASE, gdbarch_num_regs(), mips_linux_restart_reg_p(), mips_regnum(), MIPS_RESTART_REGNUM, MIPS_ZERO_REGNUM, MMHI, MMLO, and PC.
Referenced by mips_linux_nat_target::register_u_offset().
|
static |
Definition at line 510 of file mips-linux-nat.c.
References func, gdb_printf(), gdb_puts(), gdb_stdlog, MAX_DEBUG_REGISTER, mips_linux_watch_get_watchhi(), mips_linux_watch_get_watchlo(), paddress(), target_gdbarch(), and watch_mirror.
Referenced by mips_linux_nat_target::insert_watchpoint(), and mips_linux_nat_target::remove_watchpoint().
| ps_err_e ps_get_thread_area | ( | struct ps_prochandle * | ph, |
| lwpid_t | lwpid, | ||
| int | idx, | ||
| void ** | base ) |
Definition at line 189 of file mips-linux-nat.c.
References ptrace, and PTRACE_GET_THREAD_AREA.
| void supply_fpregset | ( | struct regcache * | regcache, |
| const gdb_fpregset_t * | fpregsetp ) |
Definition at line 225 of file mips-linux-nat.c.
References mips64_supply_fpregset().
| void supply_gregset | ( | struct regcache * | regcache, |
| const gdb_gregset_t * | gregsetp ) |
Definition at line 206 of file mips-linux-nat.c.
References reg_buffer::arch(), mips64_supply_gregset(), mips_isa_regsize(), and mips_supply_gregset().
|
static |
Definition at line 638 of file mips-linux-nat.c.
References all_lwps(), ptrace, PTRACE_SET_WATCH_REGS, and watch_mirror.
Referenced by mips_linux_nat_target::insert_watchpoint(), and mips_linux_nat_target::remove_watchpoint().
|
static |
Definition at line 502 of file mips-linux-nat.c.
Referenced by mips_linux_nat_target::close(), mips_linux_nat_target::insert_watchpoint(), mips_linux_watch_populate_regs(), and mips_linux_nat_target::remove_watchpoint().
|
static |
Definition at line 90 of file mips-linux-nat.c.
Referenced by mips_linux_nat_target::fetch_registers(), mips_linux_nat_target::mips64_regsets_fetch_registers(), and mips_linux_nat_target::store_registers().
|
static |
Definition at line 86 of file mips-linux-nat.c.
Referenced by _initialize_mips_linux_nat().
|
static |
Definition at line 507 of file mips-linux-nat.c.
Referenced by mips_linux_nat_target::insert_watchpoint(), mips_linux_nat_target::low_new_thread(), mips_show_dr(), mips_linux_nat_target::remove_watchpoint(), and write_watchpoint_regs().
|
static |
Definition at line 500 of file mips-linux-nat.c.
Referenced by mips_linux_nat_target::can_use_hw_breakpoint(), mips_linux_nat_target::insert_watchpoint(), mips_linux_nat_target::low_new_thread(), mips_linux_read_watch_registers(), mips_linux_nat_target::region_ok_for_hw_watchpoint(), mips_linux_nat_target::remove_watchpoint(), and mips_linux_nat_target::stopped_by_watchpoint().
|
static |
Definition at line 496 of file mips-linux-nat.c.
Referenced by mips_linux_nat_target::can_use_hw_breakpoint(), mips_linux_nat_target::insert_watchpoint(), mips_linux_nat_target::low_new_thread(), mips_linux_read_watch_registers(), mips_linux_nat_target::region_ok_for_hw_watchpoint(), mips_linux_nat_target::remove_watchpoint(), and mips_linux_nat_target::stopped_by_watchpoint().