projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
454ae94
)
If -g1, do not emit line number at function prologue, it confuses gdb.
author
Michael Meissner
<meissner@gcc.gnu.org>
Tue, 1 Dec 1992 14:39:27 +0000
(14:39 +0000)
committer
Michael Meissner
<meissner@gcc.gnu.org>
Tue, 1 Dec 1992 14:39:27 +0000
(14:39 +0000)
From-SVN: r2826
gcc/config/mips/mips.c
patch
|
blob
|
history
diff --git
a/gcc/config/mips/mips.c
b/gcc/config/mips/mips.c
index cee901ef8def1894e74db2a32eeed5026104b1db..912a8eb40d36a17bc08dc5dc5ec84a224f7ac4a4 100644
(file)
--- a/
gcc/config/mips/mips.c
+++ b/
gcc/config/mips/mips.c
@@
-4068,7
+4068,9
@@
function_prologue (file, size)
int tsize = current_frame_info.total_size;
ASM_OUTPUT_SOURCE_FILENAME (file, DECL_SOURCE_FILE (current_function_decl));
- ASM_OUTPUT_SOURCE_LINE (file, DECL_SOURCE_LINE (current_function_decl));
+
+ if (debug_info_level != DINFO_LEVEL_TERSE)
+ ASM_OUTPUT_SOURCE_LINE (file, DECL_SOURCE_LINE (current_function_decl));
inside_function = 1;
fputs ("\t.ent\t", file);