GDB (API)
Classes | Functions | Variables
/home/stan/gdb/src/gdb/gdbcore.h File Reference
#include "bfd.h"
#include "exec.h"
#include "target.h"

Go to the source code of this file.

Classes

struct  core_fns

Functions

char * get_exec_file (int err)
int have_core_file_p (void)
void memory_error (enum target_xfer_error status, CORE_ADDR memaddr)
char * memory_error_message (enum target_xfer_error err, struct gdbarch *gdbarch, CORE_ADDR memaddr)
void read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len)
void read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len)
LONGEST read_memory_integer (CORE_ADDR memaddr, int len, enum bfd_endian byte_order)
int safe_read_memory_integer (CORE_ADDR memaddr, int len, enum bfd_endian byte_order, LONGEST *return_value)
ULONGEST read_memory_unsigned_integer (CORE_ADDR memaddr, int len, enum bfd_endian byte_order)
void read_memory_string (CORE_ADDR, char *, int)
CORE_ADDR read_memory_typed_address (CORE_ADDR addr, struct type *type)
void write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr, ssize_t len)
void write_memory_with_notification (CORE_ADDR memaddr, const bfd_byte *myaddr, ssize_t len)
void write_memory_unsigned_integer (CORE_ADDR addr, int len, enum bfd_endian byte_order, ULONGEST value)
void write_memory_signed_integer (CORE_ADDR addr, int len, enum bfd_endian byte_order, LONGEST value)
void specify_exec_file_hook (void(*hook)(char *filename))
void core_file_command (char *filename, int from_tty)
void exec_file_attach (char *filename, int from_tty)
void exec_file_clear (int from_tty)
void validate_files (void)
void set_gnutarget (char *)
void deprecated_add_core_fns (struct core_fns *cf)
int default_core_sniffer (struct core_fns *cf, bfd *abfd)
int default_check_format (bfd *abfd)
struct target_sectiondeprecated_core_resize_section_table (int num_added)

Variables

void(* deprecated_exec_file_display_hook )(char *filename)
void(* deprecated_file_changed_hook )(char *filename)
bfd * core_bfd
struct target_opscore_target
int write_files
char * gnutarget

Function Documentation

void core_file_command ( char *  filename,
int  from_tty 
)

Definition at line 72 of file corefile.c.

int default_check_format ( bfd *  abfd)

Definition at line 171 of file corelow.c.

int default_core_sniffer ( struct core_fns cf,
bfd *  abfd 
)

Definition at line 122 of file corelow.c.

void deprecated_add_core_fns ( struct core_fns cf)

Definition at line 111 of file corelow.c.

void exec_file_attach ( char *  filename,
int  from_tty 
)

Definition at line 168 of file exec.c.

void exec_file_clear ( int  from_tty)

Definition at line 141 of file exec.c.

char* get_exec_file ( int  err)

Definition at line 183 of file corefile.c.

int have_core_file_p ( void  )
void memory_error ( enum target_xfer_error  status,
CORE_ADDR  memaddr 
)

Definition at line 221 of file corefile.c.

char* memory_error_message ( enum target_xfer_error  err,
struct gdbarch *  gdbarch,
CORE_ADDR  memaddr 
)

Definition at line 197 of file corefile.c.

void read_memory ( CORE_ADDR  memaddr,
gdb_byte myaddr,
ssize_t  len 
)

Definition at line 247 of file corefile.c.

LONGEST read_memory_integer ( CORE_ADDR  memaddr,
int  len,
enum bfd_endian  byte_order 
)

Definition at line 338 of file corefile.c.

void read_memory_string ( CORE_ADDR  ,
char *  ,
int   
)

Definition at line 358 of file corefile.c.

CORE_ADDR read_memory_typed_address ( CORE_ADDR  addr,
struct type type 
)

Definition at line 385 of file corefile.c.

ULONGEST read_memory_unsigned_integer ( CORE_ADDR  memaddr,
int  len,
enum bfd_endian  byte_order 
)

Definition at line 348 of file corefile.c.

void read_stack ( CORE_ADDR  memaddr,
gdb_byte myaddr,
ssize_t  len 
)

Definition at line 270 of file corefile.c.

int safe_read_memory_integer ( CORE_ADDR  memaddr,
int  len,
enum bfd_endian  byte_order,
LONGEST return_value 
)

Definition at line 318 of file corefile.c.

void set_gnutarget ( char *  )

Definition at line 501 of file corefile.c.

void specify_exec_file_hook ( void(*)(char *filename)  hook)
void validate_files ( void  )

Definition at line 167 of file corefile.c.

void write_memory ( CORE_ADDR  memaddr,
const gdb_byte myaddr,
ssize_t  len 
)

Definition at line 396 of file corefile.c.

void write_memory_signed_integer ( CORE_ADDR  addr,
int  len,
enum bfd_endian  byte_order,
LONGEST  value 
)

Definition at line 432 of file corefile.c.

void write_memory_unsigned_integer ( CORE_ADDR  addr,
int  len,
enum bfd_endian  byte_order,
ULONGEST  value 
)

Definition at line 419 of file corefile.c.

void write_memory_with_notification ( CORE_ADDR  memaddr,
const bfd_byte *  myaddr,
ssize_t  len 
)

Definition at line 409 of file corefile.c.


Variable Documentation

bfd* core_bfd

Definition at line 62 of file corefile.c.

Definition at line 66 of file corefile.c.

void(* deprecated_exec_file_display_hook)(char *filename)

Definition at line 55 of file corefile.c.

void(* deprecated_file_changed_hook)(char *filename)

Definition at line 47 of file exec.c.

char* gnutarget

Definition at line 444 of file corefile.c.

Definition at line 70 of file exec.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines