Mercurial > hg > CbC > CbC_gcc
comparison gcc/vmsdbgout.c @ 36:855418dad1a3
gcc-4.4-20091020
author | e075725 |
---|---|
date | Tue, 22 Dec 2009 21:19:31 +0900 |
parents | a06113de4d67 |
children | 77e2b8dfacca |
comparison
equal
deleted
inserted
replaced
19:58ad6c70ea60 | 36:855418dad1a3 |
---|---|
164 static int write_srccorr (int, dst_file_info_entry, int); | 164 static int write_srccorr (int, dst_file_info_entry, int); |
165 static int write_srccorrs (int); | 165 static int write_srccorrs (int); |
166 | 166 |
167 static void vmsdbgout_init (const char *); | 167 static void vmsdbgout_init (const char *); |
168 static void vmsdbgout_finish (const char *); | 168 static void vmsdbgout_finish (const char *); |
169 static void vmsdbgout_assembly_start (void); | |
169 static void vmsdbgout_define (unsigned int, const char *); | 170 static void vmsdbgout_define (unsigned int, const char *); |
170 static void vmsdbgout_undef (unsigned int, const char *); | 171 static void vmsdbgout_undef (unsigned int, const char *); |
171 static void vmsdbgout_start_source_file (unsigned int, const char *); | 172 static void vmsdbgout_start_source_file (unsigned int, const char *); |
172 static void vmsdbgout_end_source_file (unsigned int); | 173 static void vmsdbgout_end_source_file (unsigned int); |
173 static void vmsdbgout_begin_block (unsigned int, unsigned int); | 174 static void vmsdbgout_begin_block (unsigned int, unsigned int); |
186 /* The debug hooks structure. */ | 187 /* The debug hooks structure. */ |
187 | 188 |
188 const struct gcc_debug_hooks vmsdbg_debug_hooks | 189 const struct gcc_debug_hooks vmsdbg_debug_hooks |
189 = {vmsdbgout_init, | 190 = {vmsdbgout_init, |
190 vmsdbgout_finish, | 191 vmsdbgout_finish, |
192 vmsdbgout_assembly_start, | |
191 vmsdbgout_define, | 193 vmsdbgout_define, |
192 vmsdbgout_undef, | 194 vmsdbgout_undef, |
193 vmsdbgout_start_source_file, | 195 vmsdbgout_start_source_file, |
194 vmsdbgout_end_source_file, | 196 vmsdbgout_end_source_file, |
195 vmsdbgout_begin_block, | 197 vmsdbgout_begin_block, |
1634 } | 1636 } |
1635 | 1637 |
1636 /* Not implemented in VMS Debug. */ | 1638 /* Not implemented in VMS Debug. */ |
1637 | 1639 |
1638 static void | 1640 static void |
1641 vmsdbgout_assembly_start (void) | |
1642 { | |
1643 if (write_symbols == VMS_AND_DWARF2_DEBUG) | |
1644 (*dwarf2_debug_hooks.assembly_start) (); | |
1645 } | |
1646 | |
1647 /* Not implemented in VMS Debug. */ | |
1648 | |
1649 static void | |
1639 vmsdbgout_define (unsigned int lineno, const char *buffer) | 1650 vmsdbgout_define (unsigned int lineno, const char *buffer) |
1640 { | 1651 { |
1641 if (write_symbols == VMS_AND_DWARF2_DEBUG) | 1652 if (write_symbols == VMS_AND_DWARF2_DEBUG) |
1642 (*dwarf2_debug_hooks.define) (lineno, buffer); | 1653 (*dwarf2_debug_hooks.define) (lineno, buffer); |
1643 } | 1654 } |