Rev 6441 | Rev 6858 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6441 | Rev 6443 | ||
---|---|---|---|
Line 356... | Line 356... | ||
356 | int tcc_output_dbgme(const char *filename, me_info* me) |
356 | int tcc_output_dbgme(const char *filename, me_info* me) |
357 | // by Siemargl. Writes filename.dbg file for source code level debuggin with MTDBG |
357 | // by Siemargl. Writes filename.dbg file for source code level debuggin with MTDBG |
358 | // return 1 on error |
358 | // return 1 on error |
359 | { |
359 | { |
360 | FILE *fdbg; |
360 | FILE *fdbg; |
361 | char fname[400], buf[200]; |
361 | char fname[400], |
- | 362 | buf[80]; // no more fits in mtdbg string |
|
Line 362... | Line 363... | ||
362 | 363 | ||
363 | strcpy(fname, filename); |
364 | strcpy(fname, filename); |
364 | strcat(fname, ".dbg"); |
365 | strcat(fname, ".dbg"); |
365 | fdbg = fopen(fname,"wt"); |
366 | fdbg = fopen(fname,"wt"); |