version 1.19, 2025/04/30 14:41:03
|
version 1.22, 2025/05/05 14:53:17
|
Line 24
|
Line 24
|
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* |
* |
* $Log$ |
* $Log$ |
|
* Revision 1.22 2025/05/05 14:53:17 snw |
|
* Modify rpm spec to include documentation TODO |
|
* |
|
* Revision 1.21 2025/05/01 17:02:30 snw |
|
* Further debugging improvements |
|
* |
|
* Revision 1.20 2025/04/30 17:19:16 snw |
|
* Improve backtraces in debugger |
|
* |
* Revision 1.19 2025/04/30 14:41:03 snw |
* Revision 1.19 2025/04/30 14:41:03 snw |
* Further debugger work |
* Further debugger work |
* |
* |
Line 174 int xecline(int typ)
|
Line 183 int xecline(int typ)
|
short new_and_set = FALSE; |
short new_and_set = FALSE; |
short new_object = FALSE; |
short new_object = FALSE; |
short destructor_run = FALSE; |
short destructor_run = FALSE; |
short debug_mode = FALSE; |
|
short libcall = FALSE; |
short libcall = FALSE; |
char *namold; |
char *namold; |
long rouoldc; |
long rouoldc; |
Line 197 int xecline(int typ)
|
Line 205 int xecline(int typ)
|
|
|
char *reeval_codptr; |
char *reeval_codptr; |
char reeval_code[512]; |
char reeval_code[512]; |
|
char entryref[256]; |
|
|
int i; |
int i; |
int j; |
int j; |
Line 247 int xecline(int typ)
|
Line 256 int xecline(int typ)
|
next_line: /* entry point for next command line */ |
next_line: /* entry point for next command line */ |
|
|
if (debug_mode) { |
if (debug_mode) { |
debug_mode = debugger (DEBENTRY_LINE, codptr); |
debug_mode = debugger (DEBENTRY_LINE, entryref); |
} |
} |
|
|
job_set_status (pid, JSTAT_INTERPRETER); |
job_set_status (pid, JSTAT_INTERPRETER); |
Line 297 next_line: /* entry point for n
|
Line 306 next_line: /* entry point for n
|
codptr = code; |
codptr = code; |
|
|
next_cmnd: /* continue line entry point */ |
next_cmnd: /* continue line entry point */ |
|
getraddress (entryref, nstx); |
if (debug_mode) { |
if (debug_mode) { |
debug_mode = debugger (DEBENTRY_CMD, codptr); |
debug_mode = debugger (DEBENTRY_CMD, entryref); |
} |
} |
|
|
if (sigint_in_for) goto for_quit; |
if (sigint_in_for) goto for_quit; |
Line 4956 open_socket:
|
Line 4966 open_socket:
|
if (merr () > OK) break; |
if (merr () > OK) break; |
} |
} |
else { |
else { |
halt:i = 0; |
halt: |
|
i = 0; |
} |
} |
|
|
cleanup (); |
cleanup (); |
Line 6802 err:
|
Line 6813 err:
|
stcpy (er_buf, errmes[merr ()]); |
stcpy (er_buf, errmes[merr ()]); |
stcnv_m2c (er_buf); |
stcnv_m2c (er_buf); |
|
|
|
|
/* |
|
if (usermode == 1 && ztrap[nstx][0] == EOL && etrap[0] == '\0') { |
|
debug_mode = TRUE; |
|
debugger (DEBENTRY_ERROR, codptr); |
|
} |
|
*/ |
|
|
|
|
|
#if !defined(MSDOS) |
#if !defined(MSDOS) |
logprintf (FM_LOG_DEBUG, "xecline: interpreter error %d [%s]", ierr, er_buf); |
logprintf (FM_LOG_DEBUG, "xecline: interpreter error %d [%s]", ierr, er_buf); |