Commit f6ab52f8 by Richard Kenner

(ASM_IDENTIFY_GCC_AFTER_SOURCE): Delete.

(ASM_IDENTIFY_GCC): Output stab here.

From-SVN: r10547
parent 1802bb1c
...@@ -273,23 +273,15 @@ do { \ ...@@ -273,23 +273,15 @@ do { \
#define DBX_BLOCKS_FUNCTION_RELATIVE 1 #define DBX_BLOCKS_FUNCTION_RELATIVE 1
/* When using stabs, gcc2_compiled must be a stabs entry, not an /* When using stabs, gcc2_compiled must be a stabs entry, not an
ordinary symbol, or gdb won't see it. Furthermore, since gdb reads ordinary symbol, or gdb won't see it. The stabs entry must be
the input piecemeal, starting with each N_SO, it's a lot easier if before the N_SO in order for gdb to find it. */
the gcc2 flag symbol is *after* the N_SO rather than before it. So
we emit an N_OPT stab there. */
#define ASM_IDENTIFY_GCC(FILE) \ #define ASM_IDENTIFY_GCC(FILE) \
do \ do \
{ \ { \
if (write_symbols != DBX_DEBUG) \ if (write_symbols != DBX_DEBUG) \
fputs ("gcc2_compiled.:\n", FILE); \ fputs ("gcc2_compiled.:\n", FILE); \
} \ else \
while (0)
#define ASM_IDENTIFY_GCC_AFTER_SOURCE(FILE) \
do \
{ \
if (write_symbols == DBX_DEBUG) \
fputs ("\t.stabs\t\"gcc2_compiled.\", 0x3c, 0, 0, 0\n", FILE); \ fputs ("\t.stabs\t\"gcc2_compiled.\", 0x3c, 0, 0, 0\n", FILE); \
} \ } \
while (0) while (0)
......
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