A fix for stabs, and define NDEBUG
This commit is contained in:
parent
32760d492a
commit
2006278a52
|
@ -84,6 +84,7 @@
|
||||||
|
|
||||||
!File: debug.h
|
!File: debug.h
|
||||||
/*#define DEBUG 1 /* perform various self-tests */
|
/*#define DEBUG 1 /* perform various self-tests */
|
||||||
|
#define NDEBUG 1 /* disable assertions */
|
||||||
|
|
||||||
|
|
||||||
!File: use_tmp.h
|
!File: use_tmp.h
|
||||||
|
|
|
@ -84,6 +84,7 @@
|
||||||
|
|
||||||
!File: debug.h
|
!File: debug.h
|
||||||
/*#define DEBUG 1 /* perform various self-tests */
|
/*#define DEBUG 1 /* perform various self-tests */
|
||||||
|
#define NDEBUG 1 /* disable assertions */
|
||||||
|
|
||||||
|
|
||||||
!File: use_tmp.h
|
!File: use_tmp.h
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include "dbsymtab.h"
|
#include "dbsymtab.h"
|
||||||
#ifdef DBSYMTAB
|
#ifdef DBSYMTAB
|
||||||
#include <stb.h>
|
#include <stb.h>
|
||||||
|
#include <em.h>
|
||||||
int IncludeLevel = 0;
|
int IncludeLevel = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -347,7 +348,7 @@ do_include()
|
||||||
#ifdef DBSYMTAB
|
#ifdef DBSYMTAB
|
||||||
IncludeLevel++;
|
IncludeLevel++;
|
||||||
if (options['g']) {
|
if (options['g']) {
|
||||||
C_ms_std(FileName, N_BINCL, 0);
|
C_ms_stb_cst(FileName, N_BINCL, 0, (arith) 0);
|
||||||
}
|
}
|
||||||
#endif /* DBSYMTAB */
|
#endif /* DBSYMTAB */
|
||||||
if (result != filenm) free(filenm);
|
if (result != filenm) free(filenm);
|
||||||
|
|
|
@ -21,6 +21,7 @@ struct file_info finfo;
|
||||||
#ifndef NOPP
|
#ifndef NOPP
|
||||||
#ifdef DBSYMTAB
|
#ifdef DBSYMTAB
|
||||||
#include <stb.h>
|
#include <stb.h>
|
||||||
|
#include <em.h>
|
||||||
extern int IncludeLevel;
|
extern int IncludeLevel;
|
||||||
extern char options[];
|
extern char options[];
|
||||||
#endif
|
#endif
|
||||||
|
@ -77,7 +78,7 @@ AtEoIF()
|
||||||
nestlevel = nestlow;
|
nestlevel = nestlow;
|
||||||
#ifdef DBSYMTAB
|
#ifdef DBSYMTAB
|
||||||
if (options['g'] && IncludeLevel > 0) {
|
if (options['g'] && IncludeLevel > 0) {
|
||||||
C_ms_std(FileName, N_EINCL, 0);
|
C_ms_stb_cst(FileName, N_EINCL, 0, (arith) 0);
|
||||||
}
|
}
|
||||||
IncludeLevel--;
|
IncludeLevel--;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue