If -g1, do not emit line number at function prologue, it confuses gdb.
From-SVN: r2826
This commit is contained in:
parent
454ae94058
commit
8a2d2f90c9
|
@ -4068,6 +4068,8 @@ function_prologue (file, size)
|
|||
int tsize = current_frame_info.total_size;
|
||||
|
||||
ASM_OUTPUT_SOURCE_FILENAME (file, DECL_SOURCE_FILE (current_function_decl));
|
||||
|
||||
if (debug_info_level != DINFO_LEVEL_TERSE)
|
||||
ASM_OUTPUT_SOURCE_LINE (file, DECL_SOURCE_LINE (current_function_decl));
|
||||
|
||||
inside_function = 1;
|
||||
|
|
Loading…
Reference in New Issue