mirror of
https://github.com/simh/simh.git
synced 2026-05-05 15:33:34 +00:00
SCP: Change sim_abort to SIM_SCP_ABORT macro.
SIM_SCP_ABORT is ONLY for use in scp support libraries
This commit is contained in:
5
scp.h
5
scp.h
@@ -275,7 +275,10 @@ void _sim_debug_device (uint32 dbits, DEVICE* dptr, const char* fmt, ...) GCC_FM
|
||||
#define sim_debug_unit(dbits, uptr, ...) do { if ((sim_deb != NULL) && ((uptr) != NULL) && (uptr->dptr != NULL) && (((uptr)->dctrl | (uptr)->dptr->dctrl) & (dbits))) _sim_debug_unit (dbits, uptr, __VA_ARGS__);} while (0)
|
||||
#endif
|
||||
void sim_flush_buffered_files (void);
|
||||
void sim_abort (const char *msg, const char *filename, int filelinenum);
|
||||
|
||||
/* Only for use in SCP code and libraries - NOT in simulator code */
|
||||
#define SIM_SCP_ABORT(msg) _sim_scp_abort (msg, __FILE__, __LINE__)
|
||||
void _sim_scp_abort (const char *msg, const char *filename, int filelinenum);
|
||||
|
||||
void fprint_stopped_gen (FILE *st, t_stat v, REG *pc, DEVICE *dptr);
|
||||
#define SCP_HELP_FLAT (1u << 31) /* Force flat help when prompting is not possible */
|
||||
|
||||
Reference in New Issue
Block a user