Mercurial > hg > CbC > CbC_gcc
comparison gcc/debug.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 /* Debug hooks for GCC. | 1 /* Debug hooks for GCC. |
2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008 | 2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2010 |
3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
4 | 4 |
5 This program is free software; you can redistribute it and/or modify it | 5 This program is free software; you can redistribute it and/or modify it |
6 under the terms of the GNU General Public License as published by the | 6 under the terms of the GNU General Public License as published by the |
7 Free Software Foundation; either version 3, or (at your option) any | 7 Free Software Foundation; either version 3, or (at your option) any |
73 | 73 |
74 /* Called at end of prologue code. LINE is the first line in the | 74 /* Called at end of prologue code. LINE is the first line in the |
75 function. */ | 75 function. */ |
76 void (* end_prologue) (unsigned int line, const char *file); | 76 void (* end_prologue) (unsigned int line, const char *file); |
77 | 77 |
78 /* Called at beginning of epilogue code. */ | |
79 void (* begin_epilogue) (unsigned int line, const char *file); | |
80 | |
78 /* Record end of epilogue code. */ | 81 /* Record end of epilogue code. */ |
79 void (* end_epilogue) (unsigned int line, const char *file); | 82 void (* end_epilogue) (unsigned int line, const char *file); |
80 | 83 |
81 /* Called at start of function DECL, before it is declared. */ | 84 /* Called at start of function DECL, before it is declared. */ |
82 void (* begin_function) (tree decl); | 85 void (* begin_function) (tree decl); |
160 void (* set_name) (tree, tree); | 163 void (* set_name) (tree, tree); |
161 | 164 |
162 /* This is 1 if the debug writer wants to see start and end commands for the | 165 /* This is 1 if the debug writer wants to see start and end commands for the |
163 main source files, and 0 otherwise. */ | 166 main source files, and 0 otherwise. */ |
164 int start_end_main_source_file; | 167 int start_end_main_source_file; |
168 | |
169 /* The type of symtab field used by these debug hooks. This is one | |
170 of the TYPE_SYMTAB_IS_xxx values defined in tree.h. */ | |
171 int tree_type_symtab_field; | |
165 }; | 172 }; |
166 | 173 |
167 extern const struct gcc_debug_hooks *debug_hooks; | 174 extern const struct gcc_debug_hooks *debug_hooks; |
168 | 175 |
169 /* The do-nothing hooks. */ | 176 /* The do-nothing hooks. */ |
192 extern const struct gcc_debug_hooks vmsdbg_debug_hooks; | 199 extern const struct gcc_debug_hooks vmsdbg_debug_hooks; |
193 | 200 |
194 /* Dwarf2 frame information. */ | 201 /* Dwarf2 frame information. */ |
195 | 202 |
196 extern void dwarf2out_begin_prologue (unsigned int, const char *); | 203 extern void dwarf2out_begin_prologue (unsigned int, const char *); |
204 extern void dwarf2out_vms_end_prologue (unsigned int, const char *); | |
205 extern void dwarf2out_vms_begin_epilogue (unsigned int, const char *); | |
197 extern void dwarf2out_end_epilogue (unsigned int, const char *); | 206 extern void dwarf2out_end_epilogue (unsigned int, const char *); |
198 extern void dwarf2out_frame_init (void); | 207 extern void dwarf2out_frame_init (void); |
199 extern void dwarf2out_frame_finish (void); | 208 extern void dwarf2out_frame_finish (void); |
200 /* Decide whether we want to emit frame unwind information for the current | 209 /* Decide whether we want to emit frame unwind information for the current |
201 translation unit. */ | 210 translation unit. */ |
210 extern int symbol_queue_index; | 219 extern int symbol_queue_index; |
211 | 220 |
212 const char *remap_debug_filename (const char *); | 221 const char *remap_debug_filename (const char *); |
213 void add_debug_prefix_map (const char *); | 222 void add_debug_prefix_map (const char *); |
214 | 223 |
224 /* For -fdump-go-spec. */ | |
225 | |
226 extern const struct gcc_debug_hooks * | |
227 dump_go_spec_init (const char *, const struct gcc_debug_hooks *); | |
228 | |
215 #endif /* !GCC_DEBUG_H */ | 229 #endif /* !GCC_DEBUG_H */ |