1
0
mirror of https://github.com/simh/simh.git synced 2026-05-01 05:48:35 +00:00

SCP: Cleanup allocated memory assignments for C++ compatibility

This commit is contained in:
Mark Pizzolato
2025-10-24 08:19:42 -10:00
parent 68c9c5536f
commit d6a53f1c06
3 changed files with 7 additions and 7 deletions

View File

@@ -180,7 +180,7 @@ int32 sim_int_char = 005; /* interrupt character *
int32 sim_dbg_int_char = 0; /* SIGINT char under debugger */
t_bool sim_dbg_signal = FALSE; /* Enable SIGINT to debugger */
static t_bool sim_running_under_debugger = FALSE;
static char *sim_controlling_debugger = NULL; /* gdb or lldb when sim_running_under_debugger is TRUE */
static const char *sim_controlling_debugger = NULL; /* gdb or lldb when sim_running_under_debugger is TRUE */
#define RUNNING_UNDER_GDB (sim_running_under_debugger && (strcmp (sim_controlling_debugger, "gdb") == 0))
#define RUNNING_UNDER_LLDB (sim_running_under_debugger && (strcmp (sim_controlling_debugger, "lldb") == 0))
static t_bool sigint_message_issued = FALSE;