aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-10-17 16:22:07 -0700
committerJim Wilson <wilson@gcc.gnu.org>1994-10-17 16:22:07 -0700
commitaf173031117aeab07c5b0a68402106c14c8b7fd4 (patch)
treef7a4ec65d7ce307386bd7e9690c8c4687d84a654
parent827563977e8ffa8ff241904bc9a25e40889257c0 (diff)
downloadgcc-af173031117aeab07c5b0a68402106c14c8b7fd4.zip
gcc-af173031117aeab07c5b0a68402106c14c8b7fd4.tar.gz
gcc-af173031117aeab07c5b0a68402106c14c8b7fd4.tar.bz2
(function_prologue): Only emit line number when SDB_DEBUG.
From-SVN: r8294
-rw-r--r--gcc/config/mips/mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index d2fc7f4..22a57d3 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -4719,7 +4719,7 @@ function_prologue (file, size)
ASM_OUTPUT_SOURCE_FILENAME (file, DECL_SOURCE_FILE (current_function_decl));
- if (debug_info_level != DINFO_LEVEL_TERSE)
+ if (debug_info_level != DINFO_LEVEL_TERSE && write_symbols == SDB_DEBUG)
ASM_OUTPUT_SOURCE_LINE (file, DECL_SOURCE_LINE (current_function_decl));
inside_function = 1;