Commit 94804207 by Ian Lance Taylor

Use dbxcoff.h

From-SVN: r11027
parent e786ce55
...@@ -21,13 +21,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -21,13 +21,9 @@ Boston, MA 02111-1307, USA. */
#include "a29k/a29k.h" #include "a29k/a29k.h"
/* Output DBX (stabs) debugging information if doing -gstabs. */ /* Support -gstabs. */
#define DBX_DEBUGGING_INFO #include "dbxcoff.h"
/* Generate SDB debugging information by default. */
#define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
/* Support the ctors and dtors sections for g++. */ /* Support the ctors and dtors sections for g++. */
......
...@@ -1088,13 +1088,9 @@ dtors_section() \ ...@@ -1088,13 +1088,9 @@ dtors_section() \
#define SDB_DEBUGGING_INFO #define SDB_DEBUGGING_INFO
#define SDB_DELIM "\n" #define SDB_DELIM "\n"
/* Output DBX (stabs) debugging information if doing -gstabs. */ /* Support -gstabs. */
#define DBX_DEBUGGING_INFO #include "dbxcoff.h"
/* Generate SDB debugging information by default. */
#define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
/* A C statement to output something to the assembler file to switch to section /* 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 NAME for object DECL which is either a FUNCTION_DECL, a VAR_DECL or
......
...@@ -30,6 +30,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,6 +30,10 @@ Boston, MA 02111-1307, USA. */
#undef PREFERRED_DEBUGGING_TYPE #undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE SDB_DEBUG #define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
/* Support -gstabs using stabs in COFF sections. */
#include "dbxcoff.h"
#undef ASM_FILE_START #undef ASM_FILE_START
#define ASM_FILE_START(FILE) \ #define ASM_FILE_START(FILE) \
output_file_directive ((FILE), main_input_filename) output_file_directive ((FILE), main_input_filename)
......
/* Definitions of target machine for GNU compiler. /* Definitions of target machine for GNU compiler.
m68k series COFF object files and debugging, version. m68k series COFF object files and debugging, version.
Copyright (C) 1994 Free Software Foundation, Inc. Copyright (C) 1994, 1996 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -24,15 +24,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,15 +24,11 @@ Boston, MA 02111-1307, USA. */
/* Generate sdb debugging information. */ /* Generate sdb debugging information. */
#undef DBX_DEBUGGING_INFO
#define SDB_DEBUGGING_INFO #define SDB_DEBUGGING_INFO
/* Output DBX (stabs) debugging information if using -gstabs. */ /* Output DBX (stabs) debugging information if using -gstabs. */
#define DBX_DEBUGGING_INFO #include "dbxcoff.h"
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
/* COFF symbols don't start with an underscore. */ /* COFF symbols don't start with an underscore. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment