diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2001-05-01 01:58:32 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-05-01 01:58:32 +0000 |
commit | 7719ffbf1ded6d87084c813e56bddd91136dd9f3 (patch) | |
tree | 61dda7eaae0598174891f72c3dedfbf248220c39 /gcc/dbxout.c | |
parent | e71b34aa4edbf78ac94eaed3d091f187387a0abe (diff) | |
download | gcc-7719ffbf1ded6d87084c813e56bddd91136dd9f3.zip gcc-7719ffbf1ded6d87084c813e56bddd91136dd9f3.tar.gz gcc-7719ffbf1ded6d87084c813e56bddd91136dd9f3.tar.bz2 |
dbxout.c, [...]: Always include gstab.h, not system stab.h.
* dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
Always include gstab.h, not system stab.h. Don't provide
default definitions of N_CATCH or N_OPT. Always use the
gstab.h variant of STAB_CODE_TYPE.
* final.c: Don't include stab.h/gstab.h at all, or provide
defaults for N_SLINE and N_SOL.
* xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
available.
* sdbout.c: Always include gsyms.h instead of system syms.h.
* configure.in: No need to check for stab.h.
* configure, config.in: Regenerate.
* Makefile.in (final.o): Don't depend on gstab.h.
From-SVN: r41713
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 1252e2b..d057c58 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -145,9 +145,6 @@ Boston, MA 02111-1307, USA. */ #endif #endif -/* Typical USG systems don't have stab.h, and they also have - no use for DBX-format debugging info. */ - #if defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO) static int flag_minimal_debug = MINIMAL_DEBUG; @@ -170,31 +167,9 @@ static int source_label_number = 1; #define FORCE_TEXT #endif -/* If there is a system stab.h, use it. Otherwise, use our own. */ -/* ??? This is supposed to describe the target's stab format, so using - the host HAVE_STAB_H appears to be wrong. For now, we use our own file - when cross compiling. */ -#if defined (USG) || !defined (HAVE_STAB_H) || defined (CROSS_COMPILE) -#include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */ -#else -#include <stab.h> +#include "gstab.h" -/* This is a GNU extension we need to reference in this file. */ -#ifndef N_CATCH -#define N_CATCH 0x54 -#endif - -/* This is a Solaris extension we need to reference in this file. */ -#ifndef N_OPT -#define N_OPT 0x3c -#endif -#endif - -#ifdef __GNU_STAB__ #define STAB_CODE_TYPE enum __stab_debug_code -#else -#define STAB_CODE_TYPE int -#endif /* 1 if PARM is passed to this function in memory. */ |