1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-18 07:29:36 +00:00

Added comment to debugger exit with error

This commit is contained in:
mc78 2019-11-12 20:48:43 +01:00 committed by Oliver Schmidt
parent 3daecfb3dd
commit 694dd9240f
4 changed files with 8 additions and 4 deletions

View File

@ -10,7 +10,7 @@
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <cc65.h>
void __fastcall__ _afailed (char* file, unsigned line)

View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <cc65.h>
void abort (void)

View File

@ -14,7 +14,7 @@
#include <ctype.h>
#include <6502.h>
#include <dbg.h>
#include <cc65.h>
/*****************************************************************************/
@ -1580,8 +1580,11 @@ void DbgEntry (void)
case 'q':
/* Quit program */
clrscr ();
/* Exit intentionally with error because one may
say that DbgEntry is always abnormal. */
exit (CC65_EXIT_FAILURE);
}
}
}

View File

@ -7,6 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <geos.h>
#include <cc65.h>
void _afailed (char* file, unsigned line)
{