GDB (xrefs)
Classes | Defines | Functions | Variables
/home/stan/gdb/src/gdb/solib-ia64-hpux.c File Reference
#include "defs.h"
#include "ia64-tdep.h"
#include "ia64-hpux-tdep.h"
#include "solib-ia64-hpux.h"
#include "solist.h"
#include "solib.h"
#include "target.h"
#include "gdbtypes.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
#include "opcode/ia64.h"
#include "symfile.h"
#include "objfiles.h"
#include "elf-bfd.h"
#include "exceptions.h"
#include <sys/ttrace.h>
#include <dlfcn.h>
#include <elf.h>
#include <service_mgr.h>
#include <crt0.h>

Go to the source code of this file.

Classes

struct  lm_info
struct  dld_info

Defines

#define _LOAD_MODULE_DESC_EXT
#define IA64_R32_PSEUDO_REGNUM   (IA64_NAT127_REGNUM + 2)

Functions

static struct so_listnew_so_list (char *so_name, struct load_module_desc module_desc)
static int ia64_hpux_at_dld_breakpoint_1_p (ptid_t ptid)
int ia64_hpux_at_dld_breakpoint_p (ptid_t ptid)
static void ia64_hpux_handle_load_event (struct regcache *regcache)
static void ia64_hpux_move_pc_to_next_bundle (struct regcache *regcache)
static void ia64_hpux_handle_dld_breakpoint_1 (ptid_t ptid)
void ia64_hpux_handle_dld_breakpoint (ptid_t ptid)
static void ia64_hpux_find_start_vma (bfd *abfd, CORE_ADDR *text_start, CORE_ADDR *data_start)
static void ia64_hpux_relocate_section_addresses (struct so_list *so, struct target_section *sec)
static void ia64_hpux_free_so (struct so_list *so)
static void ia64_hpux_clear_solib (void)
static CORE_ADDR ia64_hpux_get_load_info_addr (void)
static void ia64_hpux_read_dynamic_info (struct gdbarch *gdbarch, bfd *abfd, asection *dyn_sect, struct dld_info *info)
static void * ia64_hpux_read_tgt_mem (void *buffer, uint64_t ptr, size_t bufsiz, int ident)
static int ia64_hpux_add_so_from_dld_info (struct dld_info info, int so_index)
static void ia64_hpux_solib_add_after_attach (void)
static void ia64_hpux_solib_create_inferior_hook (int from_tty)
static void ia64_hpux_special_symbol_handling (void)
static struct so_listia64_hpux_current_sos (void)
static int ia64_hpux_open_symbol_file_object (void *from_ttyp)
static int ia64_hpux_in_dynsym_resolve_code (CORE_ADDR pc)
CORE_ADDR ia64_hpux_get_solib_linkage_addr (CORE_ADDR faddr)
static struct target_so_opsia64_hpux_target_so_ops (void)
void _initialize_solib_ia64_hpux (void)

Variables

static struct so_listso_list_head = NULL

Define Documentation

Definition at line 39 of file solib-ia64-hpux.c.


Function Documentation

void _initialize_solib_ia64_hpux ( void  )

Definition at line 699 of file solib-ia64-hpux.c.

References ia64_hpux_so_ops, and ia64_hpux_target_so_ops().

static int ia64_hpux_add_so_from_dld_info ( struct dld_info  info,
int  so_index 
) [static]
static int ia64_hpux_at_dld_breakpoint_1_p ( ptid_t  ptid) [static]
static void ia64_hpux_clear_solib ( void  ) [static]

Definition at line 380 of file solib-ia64-hpux.c.

References ia64_hpux_free_so(), so_list::next, so_list_head, and xfree().

Referenced by ia64_hpux_target_so_ops().

static struct so_list* ia64_hpux_current_sos ( void  ) [static, read]
static void ia64_hpux_find_start_vma ( bfd *  abfd,
CORE_ADDR text_start,
CORE_ADDR data_start 
) [static]

Definition at line 298 of file solib-ia64-hpux.c.

References _, and error().

Referenced by ia64_hpux_relocate_section_addresses().

static void ia64_hpux_free_so ( struct so_list so) [static]

Definition at line 372 of file solib-ia64-hpux.c.

References so_list::lm_info, and xfree().

Referenced by ia64_hpux_clear_solib(), and ia64_hpux_target_so_ops().

static CORE_ADDR ia64_hpux_get_load_info_addr ( void  ) [static]
static void ia64_hpux_handle_dld_breakpoint_1 ( ptid_t  ptid) [static]
static void ia64_hpux_handle_load_event ( struct regcache regcache) [static]

Definition at line 647 of file solib-ia64-hpux.c.

Referenced by ia64_hpux_target_so_ops().

static void ia64_hpux_move_pc_to_next_bundle ( struct regcache regcache) [static]

Definition at line 229 of file solib-ia64-hpux.c.

References ia64_write_pc(), and regcache_read_pc().

Referenced by ia64_hpux_handle_dld_breakpoint_1().

static int ia64_hpux_open_symbol_file_object ( void *  from_ttyp) [static]

Definition at line 639 of file solib-ia64-hpux.c.

Referenced by ia64_hpux_target_so_ops().

static void ia64_hpux_read_dynamic_info ( struct gdbarch gdbarch,
bfd *  abfd,
asection *  dyn_sect,
struct dld_info info 
) [static]
static void* ia64_hpux_read_tgt_mem ( void *  buffer,
uint64_t  ptr,
size_t  bufsiz,
int  ident 
) [static]

Definition at line 477 of file solib-ia64-hpux.c.

References target_read_memory().

Referenced by ia64_hpux_add_so_from_dld_info().

static void ia64_hpux_relocate_section_addresses ( struct so_list so,
struct target_section sec 
) [static]
static void ia64_hpux_solib_add_after_attach ( void  ) [static]
static void ia64_hpux_solib_create_inferior_hook ( int  from_tty) [static]
static void ia64_hpux_special_symbol_handling ( void  ) [static]

Definition at line 607 of file solib-ia64-hpux.c.

Referenced by ia64_hpux_target_so_ops().

static struct target_so_ops* ia64_hpux_target_so_ops ( void  ) [static, read]
static struct so_list* new_so_list ( char *  so_name,
struct load_module_desc  module_desc 
) [static, read]

Variable Documentation

struct so_list* so_list_head = NULL [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines