diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-05 19:17:21 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-05 19:17:21 -0400 |
commit | a642a781cbb1da431f513cacbba2e04d94bf82fe (patch) | |
tree | 99b4e59b0d21492ff63e5b11784cbd82941df9e3 | |
parent | 7743927bd1a73f54cb73ed260bf3bddabc010ff2 (diff) | |
download | gcc-a642a781cbb1da431f513cacbba2e04d94bf82fe.zip gcc-a642a781cbb1da431f513cacbba2e04d94bf82fe.tar.gz gcc-a642a781cbb1da431f513cacbba2e04d94bf82fe.tar.bz2 |
(sdb_begin_function_line): New declaration.
(PUT_SDB_FUNCTION_END): New definition.
From-SVN: r9882
-rw-r--r-- | gcc/config/mips/mips.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 2f7ce3a..cd004df 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -101,6 +101,7 @@ extern int inside_function; /* != 0 if inside of a function */ extern int ignore_line_number; /* != 0 if we are to ignore next .loc */ extern int file_in_function_warning; /* warning given about .file in func */ extern int sdb_label_count; /* block start/end next label # */ +extern int sdb_begin_function_line; /* Starting Line of current function */ extern int mips_section_threshold; /* # bytes of data/sdata cutoff */ extern int g_switch_value; /* value of the -G xx switch */ extern int g_switch_set; /* whether -G xx was passed. */ @@ -912,7 +913,11 @@ do { \ #define PUT_SDB_FUNCTION_START(LINE) -#define PUT_SDB_FUNCTION_END(LINE) +#define PUT_SDB_FUNCTION_END(LINE) \ +do { \ + extern FILE *asm_out_text_file; \ + ASM_OUTPUT_SOURCE_LINE (asm_out_text_file, LINE + sdb_begin_function_line); \ +} while (0) #define PUT_SDB_EPILOGUE_END(NAME) |