Back to index

cell-binutils  2.17cvs20070401
Typedefs | Enumerations | Functions
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 PARAMS ((SIM_OPEN_KIND kind, struct host_callback_struct *callback, struct bfd *abfd, char **argv))
void sim_close PARAMS ((SIM_DESC sd, int quitting))
SIM_RC sim_load PARAMS ((SIM_DESC sd, char *prog, struct bfd *abfd, int from_tty))
SIM_RC sim_create_inferior PARAMS ((SIM_DESC sd, struct bfd *abfd, char **argv, char **env))
int sim_read PARAMS ((SIM_DESC sd, SIM_ADDR mem, unsigned char *buf, int length))
int sim_fetch_register PARAMS ((SIM_DESC sd, int regno, unsigned char *buf, int length))
void sim_info PARAMS ((SIM_DESC sd, int verbose))
void sim_resume PARAMS ((SIM_DESC sd, int step, int siggnal))
int sim_stop PARAMS ((SIM_DESC sd))
void sim_stop_reason PARAMS ((SIM_DESC sd, enum sim_stop *reason, int *sigrc))
void sim_do_command PARAMS ((SIM_DESC sd, char *cmd))

Typedef Documentation

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

typedef struct sim_state* SIM_DESC

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


Enumeration Type Documentation

Enumerator:
SIM_OPEN_STANDALONE 
SIM_OPEN_DEBUG 

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

             {
  SIM_OPEN_STANDALONE, /* simulator used standalone (run.c) */
  SIM_OPEN_DEBUG       /* simulator used by debugger (gdb) */
} SIM_OPEN_KIND;
enum SIM_RC
Enumerator:
SIM_RC_FAIL 
SIM_RC_OK 

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

             {
  SIM_RC_FAIL = 0,
  SIM_RC_OK = 1
} SIM_RC;
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 PARAMS ( (SIM_DESC sd, int quitting)  )
SIM_RC sim_load PARAMS ( (SIM_DESC sd, char *prog, struct bfd *abfd, int from_tty)  )
SIM_RC sim_create_inferior PARAMS ( (SIM_DESC sd, struct bfd *abfd, char **argv, char **env)  )
int sim_read PARAMS ( (SIM_DESC sd, SIM_ADDR mem, unsigned char *buf, int length )
int sim_fetch_register PARAMS ( (SIM_DESC sd, int regno, unsigned char *buf, int length )
void sim_info PARAMS ( (SIM_DESC sd, int verbose )
void sim_resume PARAMS ( (SIM_DESC sd, int step, int siggnal)  )
void sim_stop_reason PARAMS ( (SIM_DESC sd, enum sim_stop *reason, int *sigrc)  )
void sim_do_command PARAMS ( (SIM_DESC sd, char *cmd)  )