diff options
| author | grischka <grischka> | 2008-04-27 18:49:31 +0000 |
|---|---|---|
| committer | grischka <grischka> | 2008-04-27 18:49:31 +0000 |
| commit | 5247bbc2f040a9b6e40fa3d82892d0a794fe7cdc (patch) | |
| tree | 4c144cfbaefb8ce2f0a94ba5d1ed8ab650a372b8 /tcc.c | |
| parent | 0d598aca087e46ea67f97dda50df3eed522d5e7a (diff) | |
| download | tinycc-5247bbc2f040a9b6e40fa3d82892d0a794fe7cdc.tar.gz tinycc-5247bbc2f040a9b6e40fa3d82892d0a794fe7cdc.tar.bz2 | |
fix stabstr with linked objects
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |
