mirror of
https://github.com/open-simh/simh.git
synced 2026-05-03 14:49:02 +00:00
SCP: Add sim_brk_message() to facilitate easy reporting of matched breakpoints.
Also extended the optional VM supplied routines to include sim_vm_sprint_addr. Simulators which provide sim_vm_fprint_addr should also provide sim_vm_sprint_addr with sim_vm_fprint_addr reworked to leverage sim_vm_sprint_addr internally. sim_vm_sprint_addr is currently only used by sim_brk_message() which is an API which a simulator may choose to use if it supports multiple breakpoint types,
This commit is contained in:
5
scp.h
5
scp.h
@@ -150,6 +150,7 @@ int sim_isgraph (char c);
|
||||
int sim_isalnum (char c);
|
||||
int sim_strncasecmp (const char* string1, const char* string2, size_t len);
|
||||
CONST char *get_sim_opt (int32 opt, CONST char *cptr, t_stat *st);
|
||||
const char *put_switches (char *buf, size_t bufsize, uint32 sw);
|
||||
CONST char *get_glyph (const char *iptr, char *optr, char mchar);
|
||||
CONST char *get_glyph_nc (const char *iptr, char *optr, char mchar);
|
||||
CONST char *get_glyph_quoted (const char *iptr, char *optr, char mchar);
|
||||
@@ -165,6 +166,7 @@ int Fprintf (FILE *f, const char* fmt, ...) GCC_FMT_ATTR(2, 3);
|
||||
t_stat sim_set_memory_load_file (const unsigned char *data, size_t size);
|
||||
int Fgetc (FILE *f);
|
||||
t_stat fprint_val (FILE *stream, t_value val, uint32 rdx, uint32 wid, uint32 fmt);
|
||||
t_stat sprint_val (char *buf, t_value val, uint32 rdx, uint32 wid, uint32 fmt);
|
||||
t_stat sim_print_val (t_value val, uint32 radix, uint32 width, uint32 format);
|
||||
char *read_line (char *cptr, int32 size, FILE *stream);
|
||||
void fprint_reg_help (FILE *st, DEVICE *dptr);
|
||||
@@ -186,6 +188,7 @@ uint32 sim_brk_test (t_addr bloc, uint32 btyp);
|
||||
void sim_brk_clrspc (uint32 spc, uint32 btyp);
|
||||
void sim_brk_npc (uint32 cnt);
|
||||
void sim_brk_setact (const char *action);
|
||||
const char *sim_brk_message(void);
|
||||
t_stat sim_send_input (SEND *snd, uint8 *data, size_t size, uint32 after, uint32 delay);
|
||||
t_stat sim_show_send_input (FILE *st, const SEND *snd);
|
||||
t_bool sim_send_poll_data (SEND *snd, t_stat *stat);
|
||||
@@ -274,6 +277,7 @@ extern uint32 sim_brk_dflt;
|
||||
extern uint32 sim_brk_summ;
|
||||
extern uint32 sim_brk_match_type;
|
||||
extern t_addr sim_brk_match_addr;
|
||||
extern BRKTYPTAB *sim_brk_type_desc; /* type descriptions */
|
||||
extern FILE *stdnul;
|
||||
extern t_bool sim_asynch_enabled;
|
||||
|
||||
@@ -298,6 +302,7 @@ WEAK extern void (*sim_vm_init) (void);
|
||||
extern char* (*sim_vm_read) (char *ptr, int32 size, FILE *stream);
|
||||
extern void (*sim_vm_post) (t_bool from_scp);
|
||||
extern CTAB *sim_vm_cmd;
|
||||
extern void (*sim_vm_sprint_addr) (char *buf, DEVICE *dptr, t_addr addr);
|
||||
extern void (*sim_vm_fprint_addr) (FILE *st, DEVICE *dptr, t_addr addr);
|
||||
extern t_addr (*sim_vm_parse_addr) (DEVICE *dptr, CONST char *cptr, CONST char **tptr);
|
||||
extern t_bool (*sim_vm_fprint_stopped) (FILE *st, t_stat reason);
|
||||
|
||||
Reference in New Issue
Block a user