From 5247bbc2f040a9b6e40fa3d82892d0a794fe7cdc Mon Sep 17 00:00:00 2001 From: grischka Date: Sun, 27 Apr 2008 18:49:31 +0000 Subject: fix stabstr with linked objects --- tcc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcc.c') diff --git a/tcc.c b/tcc.c index 55c9608..489c55c 100644 --- a/tcc.c +++ b/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; } -- cgit v1.3.1