GDB (xrefs)
|
#include "defs.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "target.h"
#include "value.h"
#include "infcall.h"
#include "objfiles.h"
#include "breakpoint.h"
#include "rs6000-tdep.h"
#include "ppc-tdep.h"
#include "rs6000-aix-tdep.h"
#include "xcoffread.h"
#include "solib.h"
#include "solib-aix.h"
#include "xml-utils.h"
Go to the source code of this file.
Classes | |
struct | field_info |
struct | ld_info_desc |
struct | ld_info |
Macros | |
#define | SIG_FRAME_PC_OFFSET 96 |
#define | SIG_FRAME_LR_OFFSET 108 |
#define | SIG_FRAME_FP_OFFSET 284 |
Variables | |
static struct ppc_reg_offsets | rs6000_aix32_reg_offsets |
static struct ppc_reg_offsets | rs6000_aix64_reg_offsets |
static const struct regset | rs6000_aix32_regset |
static const struct regset | rs6000_aix64_regset |
static const struct ld_info_desc | ld_info32_desc |
static const struct ld_info_desc | ld_info64_desc |
initialize_file_ftype | _initialize_rs6000_aix_tdep |
#define SIG_FRAME_FP_OFFSET 284 |
Definition at line 50 of file rs6000-aix-tdep.c.
#define SIG_FRAME_LR_OFFSET 108 |
Definition at line 49 of file rs6000-aix-tdep.c.
#define SIG_FRAME_PC_OFFSET 96 |
Definition at line 48 of file rs6000-aix-tdep.c.
Referenced by branch_dest().
void _initialize_rs6000_aix_tdep | ( | void | ) |
Definition at line 1089 of file rs6000-aix-tdep.c.
References GDB_OSABI_AIX, gdbarch_register_osabi(), gdbarch_register_osabi_sniffer(), rs6000_aix_init_osabi(), and rs6000_aix_osabi_sniffer().
|
static |
Definition at line 602 of file rs6000-aix-tdep.c.
References AIX_TEXT_SEGMENT_BASE, gdbarch_byte_order(), gdbarch_tdep(), get_frame_arch(), get_frame_base(), get_frame_register_unsigned(), int, gdbarch_tdep::ppc_ctr_regnum, gdbarch_tdep::ppc_lr_regnum, read_memory_unsigned_integer(), SIG_FRAME_PC_OFFSET, and gdbarch_tdep::wordsize.
Referenced by rs6000_software_single_step().
|
static |
Definition at line 716 of file rs6000-aix-tdep.c.
Referenced by rs6000_aix_init_osabi().
|
static |
Definition at line 125 of file rs6000-aix-tdep.c.
References ppc_collect_fpregset(), and ppc_collect_gregset().
|
static |
Definition at line 1004 of file rs6000-aix-tdep.c.
References _, core_bfd, do_cleanups(), error(), make_cleanup(), rs6000_aix_ld_info_to_xml(), xfree(), and xmalloc().
Referenced by rs6000_aix_init_osabi().
|
static |
Definition at line 866 of file rs6000-aix-tdep.c.
References builtin_type::builtin_data_ptr, builtin_type(), ld_info::dataorg, ld_info::datasize, extract_signed_integer(), extract_typed_address(), extract_unsigned_integer(), ld_info::fd, ld_info::filename, gdbarch_byte_order(), gdbarch_tdep(), ld_info32_desc, ld_info_desc::ldinfo_dataorg, ld_info_desc::ldinfo_datasize, ld_info_desc::ldinfo_fd, ld_info_desc::ldinfo_filename, ld_info_desc::ldinfo_next, ld_info_desc::ldinfo_textorg, ld_info_desc::ldinfo_textsize, ld_info::member_name, ld_info::next, field_info::offset, field_info::size, ld_info::textorg, ld_info::textsize, and gdbarch_tdep::wordsize.
Referenced by rs6000_aix_ld_info_to_xml().
|
static |
Definition at line 1037 of file rs6000-aix-tdep.c.
References gdbarch_tdep(), gdbarch_tdep::lr_frame_offset, rs6000_aix_auto_wide_charset(), rs6000_aix_core_xfer_shared_libraries_aix(), rs6000_aix_iterate_over_regset_sections(), rs6000_convert_from_func_ptr_addr(), rs6000_push_dummy_call(), rs6000_return_value(), rs6000_software_single_step(), set_gdbarch_auto_wide_charset(), set_gdbarch_convert_from_func_ptr_addr(), set_gdbarch_core_xfer_shared_libraries_aix(), set_gdbarch_displaced_step_copy_insn(), set_gdbarch_displaced_step_fixup(), set_gdbarch_displaced_step_free_closure(), set_gdbarch_displaced_step_location(), set_gdbarch_frame_red_zone_size(), set_gdbarch_iterate_over_regset_sections(), set_gdbarch_long_double_bit(), set_gdbarch_push_dummy_call(), set_gdbarch_return_value(), set_gdbarch_software_single_step(), set_solib_ops(), solib_aix_so_ops, TARGET_CHAR_BIT, and gdbarch_tdep::wordsize.
Referenced by _initialize_rs6000_aix_tdep().
|
static |
Definition at line 152 of file rs6000-aix-tdep.c.
References wordsize.
Referenced by rs6000_aix_init_osabi().
ULONGEST rs6000_aix_ld_info_to_xml | ( | struct gdbarch * | gdbarch, |
const gdb_byte * | ldi_buf, | ||
gdb_byte * | readbuf, | ||
ULONGEST | offset, | ||
ULONGEST | len, | ||
int | close_ldinfo_fd | ||
) |
Definition at line 960 of file rs6000-aix-tdep.c.
References ld_info::fd, len, ld_info::next, obstack_grow_str, obstack_grow_str0, offset, rs6000_aix_extract_ld_info(), and rs6000_aix_shared_library_to_xml().
Referenced by rs6000_aix_core_xfer_shared_libraries_aix(), and rs6000_xfer_shared_libraries().
|
static |
Definition at line 729 of file rs6000-aix-tdep.c.
References gdb_assert, GDB_OSABI_AIX, GDB_OSABI_UNKNOWN, and xcoff_get_n_import_files().
Referenced by _initialize_rs6000_aix_tdep().
|
static |
Definition at line 905 of file rs6000-aix-tdep.c.
References core_addr_to_string(), ld_info::dataorg, ld_info::datasize, ld_info::filename, ld_info::member_name, obstack_grow_str, pulongest(), ld_info::textorg, ld_info::textsize, xfree(), and xml_escape_text().
Referenced by rs6000_aix_ld_info_to_xml().
|
static |
Definition at line 111 of file rs6000-aix-tdep.c.
References ppc_supply_fpregset(), and ppc_supply_gregset().
|
static |
Definition at line 557 of file rs6000-aix-tdep.c.
References CATCH, END_CATCH, find_pc_section(), gdbarch_byte_order(), gdbarch_tdep(), read_memory_unsigned_integer(), RETURN_MASK_ERROR, obj_section::the_bfd_section, TRY, and gdbarch_tdep::wordsize.
Referenced by rs6000_aix_init_osabi().
|
static |
Definition at line 181 of file rs6000-aix-tdep.c.
References check_typedef(), convert_typed_floating(), find_function_addr(), fp_regnum, gdb_assert, gdbarch_byte_order(), gdbarch_sp_regnum(), gdbarch_tdep(), len, MAX_REGISTER_SIZE, ppc_floating_point_unit_p(), gdbarch_tdep::ppc_fp0_regnum, gdbarch_tdep::ppc_gp0_regnum, gdbarch_tdep::ppc_lr_regnum, gdbarch_tdep::ppc_toc_regnum, regcache_cooked_read_unsigned(), regcache_cooked_write(), regcache_raw_write_signed(), regcache_raw_write_unsigned(), register_size(), register_type(), solib_aix_get_toc_value(), store_unsigned_integer(), target_store_registers(), type, TYPE_CODE, TYPE_CODE_FLT, TYPE_LENGTH, value_contents(), value_type(), word, gdbarch_tdep::wordsize, wordsize, and write_memory().
Referenced by rs6000_aix_init_osabi().
|
static |
Definition at line 417 of file rs6000-aix-tdep.c.
References convert_typed_floating(), gdb_assert, gdbarch_byte_order(), gdbarch_tdep(), ppc_floating_point_unit_p(), gdbarch_tdep::ppc_fp0_regnum, gdbarch_tdep::ppc_gp0_regnum, gdbarch_tdep::ppc_vr0_regnum, regcache_cooked_read(), regcache_cooked_read_unsigned(), regcache_cooked_write(), regcache_cooked_write_unsigned(), register_type(), RETURN_VALUE_REGISTER_CONVENTION, RETURN_VALUE_STRUCT_CONVENTION, store_unsigned_integer(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_FLT, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_LENGTH, TYPE_VECTOR, unpack_long(), and gdbarch_tdep::wordsize.
Referenced by rs6000_aix_init_osabi().
|
static |
Definition at line 675 of file rs6000-aix-tdep.c.
References branch_dest(), gdbarch_byte_order(), get_frame_address_space(), get_frame_arch(), get_frame_pc(), insert_single_step_breakpoint(), ppc_deal_with_atomic_sequence(), PPC_INSN_SIZE, and read_memory_integer().
Referenced by rs6000_aix_init_osabi().
initialize_file_ftype _initialize_rs6000_aix_tdep |
|
static |
Definition at line 819 of file rs6000-aix-tdep.c.
Referenced by rs6000_aix_extract_ld_info().
|
static |
Definition at line 832 of file rs6000-aix-tdep.c.
|
static |
Definition at line 55 of file rs6000-aix-tdep.c.
Definition at line 135 of file rs6000-aix-tdep.c.
|
static |
Definition at line 80 of file rs6000-aix-tdep.c.
Definition at line 142 of file rs6000-aix-tdep.c.