GDB (xrefs)
|
#include "defs.h"
#include "gdbcore.h"
#include "gdbcmd.h"
#include "arch-utils.h"
#include "observer.h"
#include "inferior.h"
#include "regcache.h"
#include "symfile.h"
#include "objfiles.h"
#include "solib.h"
#include "solist.h"
#include "ppc-tdep.h"
#include "ppc-linux-tdep.h"
#include "spu-tdep.h"
Go to the source code of this file.
Macros | |
#define | spu_standalone_p() |
#define | INSTR_SC 0x44000002 |
#define | NR_spu_run 0x0116 |
Variables | |
static struct target_ops | spu_ops |
static int | spu_nr_solib |
initialize_file_ftype | _initialize_spu_multiarch |
#define INSTR_SC 0x44000002 |
Definition at line 49 of file spu-multiarch.c.
Referenced by parse_spufs_run().
#define NR_spu_run 0x0116 |
Definition at line 50 of file spu-multiarch.c.
Referenced by parse_spufs_run().
#define spu_standalone_p | ( | ) |
Definition at line 44 of file spu-multiarch.c.
Referenced by spu_multiarch_inferior_created(), spu_multiarch_solib_loaded(), and spu_multiarch_solib_unloaded().
void _initialize_spu_multiarch | ( | void | ) |
Definition at line 388 of file spu-multiarch.c.
References complete_target_initialization(), init_spu_ops(), observer_attach_inferior_created(), observer_attach_solib_loaded(), observer_attach_solib_unloaded(), spu_multiarch_inferior_created(), spu_multiarch_solib_loaded(), spu_multiarch_solib_unloaded(), and spu_ops.
|
static |
Definition at line 368 of file spu-multiarch.c.
References arch_stratum, OPS_MAGIC, spu_fetch_registers(), spu_mourn_inferior(), spu_ops, spu_region_ok_for_hw_watchpoint(), spu_search_memory(), spu_store_registers(), spu_thread_architecture(), spu_xfer_partial(), target_ops::to_doc, target_ops::to_fetch_registers, target_ops::to_longname, target_ops::to_magic, target_ops::to_mourn_inferior, target_ops::to_region_ok_for_hw_watchpoint, target_ops::to_search_memory, target_ops::to_shortname, target_ops::to_store_registers, target_ops::to_stratum, target_ops::to_thread_architecture, and target_ops::to_xfer_partial.
Referenced by _initialize_spu_multiarch().
Definition at line 56 of file spu-multiarch.c.
References extract_unsigned_integer(), gdbarch_bfd_arch_info(), gdbarch_byte_order(), gdbarch_tdep(), get_thread_arch_regcache(), INSTR_SC, int, NR_spu_run, gdbarch_tdep::ppc_gp0_regnum, PPC_ORIG_R3_REGNUM, regcache_cooked_read_unsigned(), regcache_read_pc(), target_gdbarch(), and target_read_memory().
Referenced by spu_fetch_registers(), spu_store_registers(), and spu_thread_architecture().
|
static |
Definition at line 133 of file spu-multiarch.c.
References gdbarch::byte_order, find_target_beneath(), gdbarch_bfd_arch_info(), gdbarch_byte_order(), get_regcache_arch(), inferior_ptid, parse_spufs_run(), regcache_raw_supply(), SPU_ID_REGNUM, SPU_NUM_GPRS, SPU_PC_REGNUM, store_unsigned_integer(), TARGET_OBJECT_MEMORY, TARGET_OBJECT_SPU, target_read(), target_ops::to_fetch_registers, and xsnprintf().
Referenced by init_spu_ops().
Definition at line 93 of file spu-multiarch.c.
References gdbarch_info::bfd_arch_info, gdbarch_info::byte_order, GDB_OSABI_LINUX, gdbarch_find_by_info(), gdbarch_info_init(), gdbarch_info::osabi, and gdbarch_info::tdep_info.
Referenced by spu_multiarch_activate(), and spu_thread_architecture().
|
static |
Definition at line 356 of file spu-multiarch.c.
References find_target_beneath(), spu_multiarch_deactivate(), and target_ops::to_mourn_inferior.
Referenced by init_spu_ops().
|
static |
Definition at line 308 of file spu-multiarch.c.
References push_target(), registers_changed(), spu_gdbarch(), and spu_ops.
Referenced by spu_multiarch_inferior_created(), and spu_multiarch_solib_loaded().
|
static |
Definition at line 322 of file spu-multiarch.c.
References registers_changed(), spu_ops, and unpush_target().
Referenced by spu_mourn_inferior(), and spu_multiarch_solib_unloaded().
|
static |
Definition at line 331 of file spu-multiarch.c.
References spu_multiarch_activate(), and spu_standalone_p.
Referenced by _initialize_spu_multiarch().
|
static |
Definition at line 338 of file spu-multiarch.c.
References so_list::abfd, spu_multiarch_activate(), spu_nr_solib, and spu_standalone_p.
Referenced by _initialize_spu_multiarch().
|
static |
Definition at line 347 of file spu-multiarch.c.
References so_list::abfd, spu_multiarch_deactivate(), spu_nr_solib, and spu_standalone_p.
Referenced by _initialize_spu_multiarch().
|
static |
Definition at line 119 of file spu-multiarch.c.
References find_target_beneath(), SPUADDR_SPU, and target_ops::to_region_ok_for_hw_watchpoint.
Referenced by init_spu_ops().
|
static |
Definition at line 286 of file spu-multiarch.c.
References find_target_beneath(), simple_search_memory(), SPUADDR_SPU, and target_ops::to_search_memory.
Referenced by init_spu_ops().
|
static |
Definition at line 188 of file spu-multiarch.c.
References find_target_beneath(), gdbarch_bfd_arch_info(), get_regcache_arch(), inferior_ptid, parse_spufs_run(), regcache_raw_collect(), SPU_NUM_GPRS, SPU_PC_REGNUM, TARGET_OBJECT_MEMORY, TARGET_OBJECT_SPU, target_write(), target_ops::to_store_registers, and xsnprintf().
Referenced by init_spu_ops().
|
static |
Definition at line 106 of file spu-multiarch.c.
References parse_spufs_run(), spu_gdbarch(), and target_gdbarch().
Referenced by init_spu_ops().
|
static |
Definition at line 235 of file spu-multiarch.c.
References find_target_beneath(), SPUADDR_ADDR, SPUADDR_SPU, strtoulst(), TARGET_OBJECT_MEMORY, TARGET_OBJECT_SPU, TARGET_XFER_OK, target_ops::to_xfer_partial, and xsnprintf().
Referenced by init_spu_ops().
initialize_file_ftype _initialize_spu_multiarch |
|
static |
Definition at line 41 of file spu-multiarch.c.
Referenced by spu_multiarch_solib_loaded(), and spu_multiarch_solib_unloaded().
|
static |
Definition at line 38 of file spu-multiarch.c.
Referenced by _initialize_spu_multiarch(), init_spu_ops(), spu_multiarch_activate(), and spu_multiarch_deactivate().