Commit 48adb36e by Richard Henderson Committed by Richard Henderson

elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.

        * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
        (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
        (ASM_FILE_START): Only write out ecoff .file directive if
        emitting mdebug debugging.

From-SVN: r37535
parent 9d147085
2000-11-17 Richard Henderson <rth@redhat.com>
* config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
(ASM_SPEC): Disable and enable .mdebug based on -gstabs.
(ASM_FILE_START): Only write out ecoff .file directive if
emitting mdebug debugging.
2000-11-17 Richard Henderson <rth@redhat.com>
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect
whether as accepts .file/.loc and produces dwarf2 line info.
* dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
......
......@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */
#define DWARF2_DEBUGGING_INFO
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#undef ASM_FINAL_SPEC
......@@ -35,7 +35,7 @@ Boston, MA 02111-1307, USA. */
#define CC1_SPEC "%{G*}"
#undef ASM_SPEC
#define ASM_SPEC "%{G*} %{relax:-relax} %{gdwarf*:-no-mdebug}"
#define ASM_SPEC "%{G*} %{relax:-relax} %{!gstabs*:-no-mdebug}%{gstabs*:-mdebug}"
#undef LINK_SPEC
#define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \
......@@ -51,7 +51,7 @@ Boston, MA 02111-1307, USA. */
#undef ASM_FILE_START
#define ASM_FILE_START(FILE) \
do { \
if (write_symbols != DWARF2_DEBUG) \
if (write_symbols == DBX_DEBUG) \
{ \
alpha_write_verstamp (FILE); \
output_file_directive (FILE, main_input_filename); \
......
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