diff --git a/tccpp.c b/tccpp.c index 4ecc664..82168f7 100644 --- a/tccpp.c +++ b/tccpp.c @@ -1687,6 +1687,8 @@ include_done: pstrcpy(file->filename, sizeof(file->filename), (char *)tokc.cstr->data); } + if (s1->do_debug) + put_stabs(file->filename, N_BINCL, 0, 0, 0); break; case TOK_ERROR: case TOK_WARNING: