mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Added comment to debugger exit with error
This commit is contained in:
parent
3daecfb3dd
commit
694dd9240f
@ -10,7 +10,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <cc65.h>
|
||||
|
||||
|
||||
void __fastcall__ _afailed (char* file, unsigned line)
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <cc65.h>
|
||||
|
||||
|
||||
void abort (void)
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <ctype.h>
|
||||
#include <6502.h>
|
||||
#include <dbg.h>
|
||||
|
||||
#include <cc65.h>
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
@ -1580,6 +1580,9 @@ 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);
|
||||
|
||||
}
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <geos.h>
|
||||
#include <cc65.h>
|
||||
|
||||
void _afailed (char* file, unsigned line)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user