fix stabstr with linked objects
This commit is contained in:
2
tcc.c
2
tcc.c
@ -9148,6 +9148,8 @@ void put_func_debug(Sym *sym)
|
||||
funcname, sym->type.t & VT_STATIC ? 'f' : 'F');
|
||||
put_stabs_r(buf, N_FUN, 0, file->line_num, 0,
|
||||
cur_text_section, sym->c);
|
||||
/* //gr gdb wants a line at the function */
|
||||
put_stabn(N_SLINE, 0, file->line_num, 0);
|
||||
last_ind = 0;
|
||||
last_line_num = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user