|
GDB (xrefs)
|
#include "solist.h"#include "osabi.h"#include "regset.h"#include "gdbthread.h"#include "gdbsupport/gdb-checked-static-cast.h"Go to the source code of this file.
Classes | |
| struct | nto_target_ops |
| struct | _debug_regs |
| struct | nto_thread_info |
| struct | nto_inferior_data |
Macros | |
| #define | nto_cpuinfo_flags (current_nto_target.cpuinfo_flags) |
| #define | nto_cpuinfo_valid (current_nto_target.cpuinfo_valid) |
| #define | nto_regset_id (current_nto_target.regset_id) |
| #define | nto_supply_gregset (current_nto_target.supply_gregset) |
| #define | nto_supply_fpregset (current_nto_target.supply_fpregset) |
| #define | nto_supply_altregset (current_nto_target.supply_altregset) |
| #define | nto_supply_regset (current_nto_target.supply_regset) |
| #define | nto_register_area (current_nto_target.register_area) |
| #define | nto_regset_fill (current_nto_target.regset_fill) |
| #define | nto_fetch_link_map_offsets (current_nto_target.fetch_link_map_offsets) |
| #define | nto_is_nto_target (current_nto_target.is_nto_target) |
Typedefs | |
| typedef char | qnx_reg64[8] |
| typedef struct _debug_regs | nto_regset_t |
Enumerations | |
| enum | { CPUTYPE_X86 , CPUTYPE_PPC , CPUTYPE_MIPS , CPUTYPE_SPARE , CPUTYPE_ARM , CPUTYPE_SH , CPUTYPE_UNKNOWN } |
| enum | { OSTYPE_QNX4 , OSTYPE_NTO } |
| enum | { NTO_REG_GENERAL , NTO_REG_FLOAT , NTO_REG_SYSTEM , NTO_REG_ALT , NTO_REG_END } |
Functions | |
| static nto_thread_info * | get_nto_thread_info (thread_info *thread) |
| void | nto_init_solib_absolute_prefix (void) |
| char ** | nto_parse_redirection (char *start_argv[], const char **in, const char **out, const char **err) |
| void | nto_relocate_section_addresses (struct so_list *, struct target_section *) |
| int | nto_map_arch_to_cputype (const char *) |
| int | nto_find_and_open_solib (const char *, unsigned, gdb::unique_xmalloc_ptr< char > *) |
| enum gdb_osabi | nto_elf_osabi_sniffer (bfd *abfd) |
| void | nto_initialize_signals (void) |
| void | nto_dummy_supply_regset (struct regcache *regcache, char *regs) |
| int | nto_in_dynsym_resolve_code (CORE_ADDR pc) |
| const char * | nto_extra_thread_info (struct target_ops *self, struct thread_info *) |
| LONGEST | nto_read_auxv_from_initial_stack (CORE_ADDR inital_stack, gdb_byte *readbuf, LONGEST len, size_t sizeof_auxv_t) |
| struct nto_inferior_data * | nto_inferior_data (struct inferior *inf) |
Variables | |
| struct nto_target_ops | current_nto_target |
| #define nto_cpuinfo_flags (current_nto_target.cpuinfo_flags) |
Definition at line 80 of file nto-tdep.h.
| #define nto_cpuinfo_valid (current_nto_target.cpuinfo_valid) |
Definition at line 82 of file nto-tdep.h.
| #define nto_fetch_link_map_offsets (current_nto_target.fetch_link_map_offsets) |
Definition at line 98 of file nto-tdep.h.
| #define nto_is_nto_target (current_nto_target.is_nto_target) |
Definition at line 101 of file nto-tdep.h.
| #define nto_register_area (current_nto_target.register_area) |
Definition at line 94 of file nto-tdep.h.
| #define nto_regset_fill (current_nto_target.regset_fill) |
Definition at line 96 of file nto-tdep.h.
| #define nto_regset_id (current_nto_target.regset_id) |
Definition at line 84 of file nto-tdep.h.
| #define nto_supply_altregset (current_nto_target.supply_altregset) |
Definition at line 90 of file nto-tdep.h.
| #define nto_supply_fpregset (current_nto_target.supply_fpregset) |
Definition at line 88 of file nto-tdep.h.
| #define nto_supply_gregset (current_nto_target.supply_gregset) |
Definition at line 86 of file nto-tdep.h.
| #define nto_supply_regset (current_nto_target.supply_regset) |
Definition at line 92 of file nto-tdep.h.
| typedef struct _debug_regs nto_regset_t |
| typedef char qnx_reg64[8] |
Definition at line 131 of file nto-tdep.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CPUTYPE_X86 | |
| CPUTYPE_PPC | |
| CPUTYPE_MIPS | |
| CPUTYPE_SPARE | |
| CPUTYPE_ARM | |
| CPUTYPE_SH | |
| CPUTYPE_UNKNOWN | |
Definition at line 104 of file nto-tdep.h.
| anonymous enum |
| Enumerator | |
|---|---|
| OSTYPE_QNX4 | |
| OSTYPE_NTO | |
Definition at line 115 of file nto-tdep.h.
| anonymous enum |
| Enumerator | |
|---|---|
| NTO_REG_GENERAL | |
| NTO_REG_FLOAT | |
| NTO_REG_SYSTEM | |
| NTO_REG_ALT | |
| NTO_REG_END | |
Definition at line 122 of file nto-tdep.h.
|
inlinestatic |
Definition at line 147 of file nto-tdep.h.
References thread_info::priv.
Referenced by nto_extra_thread_info(), update_thread_private_data(), and update_thread_private_data_name().
| void nto_dummy_supply_regset | ( | struct regcache * | regcache, |
| char * | regs | ||
| ) |
Definition at line 306 of file nto-tdep.c.
Referenced by init_i386nto_ops().
| enum gdb_osabi nto_elf_osabi_sniffer | ( | bfd * | abfd | ) |
Definition at line 347 of file nto-tdep.c.
References GDB_OSABI_UNKNOWN, and nto_sniff_abi_note_section().
Referenced by _initialize_i386nto_tdep().
| const char * nto_extra_thread_info | ( | struct target_ops * | self, |
| struct thread_info * | ti | ||
| ) |
Definition at line 384 of file nto-tdep.c.
References get_nto_thread_info(), nto_thread_state_str, thread_info::priv, and nto_thread_info::state.
| int nto_find_and_open_solib | ( | const char * | solib, |
| unsigned | o_flags, | ||
| gdb::unique_xmalloc_ptr< char > * | temp_pathname | ||
| ) |
Definition at line 93 of file nto-tdep.c.
References gdbarch_bfd_arch_info(), gdbarch_byte_order(), nto_target(), openp(), OPF_RETURN_REALPATH, OPF_TRY_CWD_FIRST, PATH_FMT, and target_gdbarch().
Referenced by i386nto_init_abi().
| int nto_in_dynsym_resolve_code | ( | CORE_ADDR | pc | ) |
Definition at line 298 of file nto-tdep.c.
References in_plt_section().
Referenced by i386nto_init_abi().
| struct nto_inferior_data * nto_inferior_data | ( | struct inferior * | inf | ) |
Definition at line 506 of file nto-tdep.c.
References current_inferior(), registry< T >::get(), and nto_inferior_data_reg.
| void nto_init_solib_absolute_prefix | ( | void | ) |
Definition at line 157 of file nto-tdep.c.
References execute_command(), gdbarch_bfd_arch_info(), gdbarch_byte_order(), nto_target(), and target_gdbarch().
Referenced by do_attach().
| void nto_initialize_signals | ( | void | ) |
Definition at line 397 of file nto-tdep.c.
References signal_pass_update(), signal_print_update(), and signal_stop_update().
Referenced by i386nto_init_abi().
| int nto_map_arch_to_cputype | ( | const char * | arch | ) |
Definition at line 77 of file nto-tdep.c.
References CPUTYPE_ARM, CPUTYPE_MIPS, CPUTYPE_PPC, CPUTYPE_SH, CPUTYPE_UNKNOWN, and CPUTYPE_X86.
Referenced by nto_procfs_target::open().
| char ** nto_parse_redirection | ( | char * | start_argv[], |
| const char ** | in, | ||
| const char ** | out, | ||
| const char ** | err | ||
| ) |
Definition at line 192 of file nto-tdep.c.
Referenced by nto_procfs_target::create_inferior().
| LONGEST nto_read_auxv_from_initial_stack | ( | CORE_ADDR | inital_stack, |
| gdb_byte * | readbuf, | ||
| LONGEST | len, | ||
| size_t | sizeof_auxv_t | ||
| ) |
Definition at line 421 of file nto-tdep.c.
References extract_unsigned_integer(), gdbarch_byte_order(), target_gdbarch(), and target_read_memory().
Referenced by nto_procfs_target::xfer_partial().
| void nto_relocate_section_addresses | ( | struct so_list * | so, |
| struct target_section * | sec | ||
| ) |
Definition at line 283 of file nto-tdep.c.
References target_section::addr, target_section::endaddr, find_load_phdr(), lm_addr(), nto_truncate_ptr(), and target_section::the_bfd_section.
Referenced by i386nto_init_abi().
|
extern |
Definition at line 52 of file nto-tdep.c.