GDB (xrefs)
Classes | Macros | Typedefs | Enumerations | Functions | Variables
/tmp/gdb-7.10/gdb/nto-tdep.h File Reference
#include "solist.h"
#include "osabi.h"
#include "regset.h"
#include "gdbthread.h"

Go to the source code of this file.

Classes

struct  nto_target_ops
 
struct  _debug_regs
 
struct  private_thread_info
 

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

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 (char *, unsigned, 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)
 
char * nto_extra_thread_info (struct target_ops *self, struct thread_info *)
 

Variables

struct nto_target_ops current_nto_target
 

Macro Definition Documentation

#define nto_cpuinfo_flags   (current_nto_target.cpuinfo_flags)
#define nto_cpuinfo_valid   (current_nto_target.cpuinfo_valid)
#define nto_fetch_link_map_offsets   (current_nto_target.fetch_link_map_offsets)

Definition at line 97 of file nto-tdep.h.

Referenced by init_i386nto_ops(), and lm_addr().

#define nto_is_nto_target   (current_nto_target.is_nto_target)

Definition at line 100 of file nto-tdep.h.

Referenced by _initialize_procfs(), nto_elf_osabi_sniffer(), and procfs_open_1().

#define nto_register_area   (current_nto_target.register_area)

Definition at line 93 of file nto-tdep.h.

Referenced by init_i386nto_ops(), and procfs_store_registers().

#define nto_regset_fill   (current_nto_target.regset_fill)

Definition at line 95 of file nto-tdep.h.

Referenced by init_i386nto_ops(), and procfs_store_registers().

#define nto_regset_id   (current_nto_target.regset_id)

Definition at line 83 of file nto-tdep.h.

Referenced by init_i386nto_ops(), and procfs_store_registers().

#define nto_supply_altregset   (current_nto_target.supply_altregset)

Definition at line 89 of file nto-tdep.h.

Referenced by init_i386nto_ops(), and procfs_fetch_registers().

#define nto_supply_fpregset   (current_nto_target.supply_fpregset)

Definition at line 87 of file nto-tdep.h.

Referenced by init_i386nto_ops(), and procfs_fetch_registers().

#define nto_supply_gregset   (current_nto_target.supply_gregset)

Definition at line 85 of file nto-tdep.h.

Referenced by init_i386nto_ops(), and procfs_fetch_registers().

#define nto_supply_regset   (current_nto_target.supply_regset)

Definition at line 91 of file nto-tdep.h.

Referenced by init_i386nto_ops().

Typedef Documentation

typedef struct _debug_regs nto_regset_t
typedef char qnx_reg64[8]

Definition at line 130 of file nto-tdep.h.

Enumeration Type Documentation

anonymous enum
Enumerator
CPUTYPE_X86 
CPUTYPE_PPC 
CPUTYPE_MIPS 
CPUTYPE_SPARE 
CPUTYPE_ARM 
CPUTYPE_SH 
CPUTYPE_UNKNOWN 

Definition at line 103 of file nto-tdep.h.

anonymous enum
Enumerator
OSTYPE_QNX4 
OSTYPE_NTO 

Definition at line 114 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 121 of file nto-tdep.h.

Function Documentation

void nto_dummy_supply_regset ( struct regcache regcache,
char *  regs 
)

Definition at line 328 of file nto-tdep.c.

Referenced by init_i386nto_ops().

enum gdb_osabi nto_elf_osabi_sniffer ( bfd *  abfd)

Definition at line 334 of file nto-tdep.c.

References GDB_OSABI_UNKNOWN, and nto_is_nto_target.

Referenced by _initialize_i386nto_tdep().

char* nto_extra_thread_info ( struct target_ops self,
struct thread_info  
)

Definition at line 367 of file nto-tdep.c.

References nto_thread_state_str, thread_info::priv, and private_thread_info::state.

Referenced by init_procfs_targets().

int nto_find_and_open_solib ( char *  ,
unsigned  ,
char **   
)
int nto_in_dynsym_resolve_code ( CORE_ADDR  pc)

Definition at line 320 of file nto-tdep.c.

References in_plt_section().

Referenced by i386nto_init_abi().

void nto_init_solib_absolute_prefix ( void  )
void nto_initialize_signals ( void  )
int nto_map_arch_to_cputype ( const char *  )

Definition at line 69 of file nto-tdep.c.

References CPUTYPE_ARM, CPUTYPE_MIPS, CPUTYPE_PPC, CPUTYPE_SH, CPUTYPE_UNKNOWN, and CPUTYPE_X86.

Referenced by procfs_open_1().

char** nto_parse_redirection ( char *  start_argv[],
const char **  in,
const char **  out,
const char **  err 
)

Definition at line 183 of file nto-tdep.c.

References err, and xcalloc().

Referenced by procfs_create_inferior().

void nto_relocate_section_addresses ( struct so_list ,
struct target_section  
)

Variable Documentation

struct nto_target_ops current_nto_target

Definition at line 47 of file nto-tdep.c.