GDB (API)
Typedefs | Enumerations | Functions
/home/stan/gdb/src/include/gdb/remote-sim.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned int SIM_ADDR
typedef struct sim_state * SIM_DESC

Enumerations

enum  SIM_OPEN_KIND { SIM_OPEN_STANDALONE, SIM_OPEN_DEBUG }
enum  SIM_RC { SIM_RC_FAIL = 0, SIM_RC_OK = 1 }
enum  sim_stop {
  sim_running, sim_polling, sim_exited, sim_stopped,
  sim_signalled
}

Functions

SIM_DESC sim_open (SIM_OPEN_KIND kind, struct host_callback_struct *callback, struct bfd *abfd, char **argv)
void sim_close (SIM_DESC sd, int quitting)
SIM_RC sim_load (SIM_DESC sd, char *prog, struct bfd *abfd, int from_tty)
SIM_RC sim_create_inferior (SIM_DESC sd, struct bfd *abfd, char **argv, char **env)
int sim_read (SIM_DESC sd, SIM_ADDR mem, unsigned char *buf, int length)
int sim_write (SIM_DESC sd, SIM_ADDR mem, const unsigned char *buf, int length)
int sim_fetch_register (SIM_DESC sd, int regno, unsigned char *buf, int length)
int sim_store_register (SIM_DESC sd, int regno, unsigned char *buf, int length)
void sim_info (SIM_DESC sd, int verbose)
void sim_resume (SIM_DESC sd, int step, int siggnal)
int sim_stop (SIM_DESC sd)
void sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc)
void sim_do_command (SIM_DESC sd, char *cmd)
char ** sim_complete_command (SIM_DESC sd, const char *text, const char *word)

Typedef Documentation

typedef unsigned int SIM_ADDR

Definition at line 34 of file remote-sim.h.

typedef struct sim_state* SIM_DESC

Definition at line 44 of file remote-sim.h.


Enumeration Type Documentation

Enumerator:
SIM_OPEN_STANDALONE 
SIM_OPEN_DEBUG 

Definition at line 49 of file remote-sim.h.

enum SIM_RC
Enumerator:
SIM_RC_FAIL 
SIM_RC_OK 

Definition at line 57 of file remote-sim.h.

enum sim_stop
Enumerator:
sim_running 
sim_polling 
sim_exited 
sim_stopped 
sim_signalled 

Definition at line 267 of file remote-sim.h.


Function Documentation

void sim_close ( SIM_DESC  sd,
int  quitting 
)
char** sim_complete_command ( SIM_DESC  sd,
const char *  text,
const char *  word 
)
SIM_RC sim_create_inferior ( SIM_DESC  sd,
struct bfd *  abfd,
char **  argv,
char **  env 
)
void sim_do_command ( SIM_DESC  sd,
char *  cmd 
)
int sim_fetch_register ( SIM_DESC  sd,
int  regno,
unsigned char *  buf,
int  length 
)
void sim_info ( SIM_DESC  sd,
int  verbose 
)
SIM_RC sim_load ( SIM_DESC  sd,
char *  prog,
struct bfd *  abfd,
int  from_tty 
)
SIM_DESC sim_open ( SIM_OPEN_KIND  kind,
struct host_callback_struct callback,
struct bfd *  abfd,
char **  argv 
)
int sim_read ( SIM_DESC  sd,
SIM_ADDR  mem,
unsigned char *  buf,
int  length 
)
void sim_resume ( SIM_DESC  sd,
int  step,
int  siggnal 
)
void sim_stop_reason ( SIM_DESC  sd,
enum sim_stop reason,
int sigrc 
)
int sim_store_register ( SIM_DESC  sd,
int  regno,
unsigned char *  buf,
int  length 
)
int sim_write ( SIM_DESC  sd,
SIM_ADDR  mem,
const unsigned char *  buf,
int  length 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines