aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-07-30 12:36:32 -0700
committerJim Wilson <wilson@gcc.gnu.org>1996-07-30 12:36:32 -0700
commit73061e0f9b34a962240fd2ce5d62e8ea698bcb30 (patch)
tree9329d43c6adbf403e5c6b0bbe1285eb7bc378681
parentef64fa154d56b761185db501c02d71c6f78bc437 (diff)
downloadgcc-73061e0f9b34a962240fd2ce5d62e8ea698bcb30.zip
gcc-73061e0f9b34a962240fd2ce5d62e8ea698bcb30.tar.gz
gcc-73061e0f9b34a962240fd2ce5d62e8ea698bcb30.tar.bz2
(dbxcoff.h): Include.
(DBX_DEBUGGING_INFO, SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Move definitions before include of dbxcoff.h. (ASM_OUTPUT_SOURCE_LINE, DBX_OUTPUT_MAIN_SOURCE_FILE_END, DBX_BLOCKS_FUNCTION_RELATIVE, DBX_FUNCTION_FIRST): Delete. From-SVN: r12576
-rw-r--r--gcc/config/i386/cygwin32.h44
1 files changed, 5 insertions, 39 deletions
diff --git a/gcc/config/i386/cygwin32.h b/gcc/config/i386/cygwin32.h
index bb8433e..1cb9513e 100644
--- a/gcc/config/i386/cygwin32.h
+++ b/gcc/config/i386/cygwin32.h
@@ -27,8 +27,12 @@ Boston, MA 02111-1307, USA. */
#define YES_UNDERSCORES
-#include "i386/gas.h"
+#define DBX_DEBUGGING_INFO
+#define SDB_DEBUGGING_INFO
+#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
+#include "i386/gas.h"
+#include "dbxcoff.h"
#ifdef CPP_PREDEFINES
#undef CPP_PREDEFINES
@@ -157,11 +161,6 @@ while (0)
#define TARGET_DEFAULT \
(MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_STACK_PROBE)
-#define DBX_DEBUGGING_INFO
-#define SDB_DEBUGGING_INFO
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-
-
/* A C statement to output something to the assembler file to switch to section
NAME for object DECL which is either a FUNCTION_DECL, a VAR_DECL or
NULL_TREE. Some target formats do not support arbitrary sections. Do not
@@ -170,39 +169,6 @@ while (0)
#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME) \
fprintf (FILE, "\t.section %s\n", NAME)
-#undef ASM_OUTPUT_SOURCE_LINE
-#define ASM_OUTPUT_SOURCE_LINE(file, line) \
-do \
- { \
- static int sym_lineno = 1; \
- fprintf (file, "\t.stabn 68,0,%d,LM%d-", \
- line, sym_lineno); \
- assemble_name (file, XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); \
- fprintf (file, "\nLM%d:\n", sym_lineno); \
- sym_lineno += 1; \
- } \
-while (0)
-
-/* Generate a blank trailing N_SO to mark the end of the .o file, since
- we can't depend upon the linker to mark .o file boundaries with
- embedded stabs. */
-
-#define DBX_OUTPUT_MAIN_SOURCE_FILE_END(FILE, FILENAME) \
- fprintf (FILE, \
- "\t.text\n\t.stabs \"\",%d,0,0,Letext\nLetext:\n", N_SO)
-
-/* Make LBRAC and RBRAC addresses relative to the start of the
- function. The native Solaris stabs debugging format works this
- way, gdb expects it, and it reduces the number of relocation
- entries. */
-
-#define DBX_BLOCKS_FUNCTION_RELATIVE 1
-
-/* In order for relative line numbers to work, we must output the
- stabs entry for the function name first. */
-
-#define DBX_FUNCTION_FIRST
-
/* This is how to output an assembler line
that says to advance the location counter
to a multiple of 2**LOG bytes. */