Mercurial > hg > CbC > CbC_gcc
comparison gcc/gdbinit.in @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 # Copyright (C) 2001-2017 Free Software Foundation, Inc. | 1 # Copyright (C) 2001-2018 Free Software Foundation, Inc. |
2 # | 2 # |
3 # This file is part of GCC. | 3 # This file is part of GCC. |
4 # | 4 # |
5 # GCC is free software; you can redistribute it and/or modify | 5 # GCC is free software; you can redistribute it and/or modify |
6 # it under the terms of the GNU General Public License as published by | 6 # it under the terms of the GNU General Public License as published by |
126 echo \n | 126 echo \n |
127 end | 127 end |
128 | 128 |
129 document ptn | 129 document ptn |
130 Print the name of the type-node that is $. | 130 Print the name of the type-node that is $. |
131 end | |
132 | |
133 define pvt | |
134 set debug_vec_tree ($) | |
135 end | |
136 | |
137 document pvt | |
138 Print the VEC(tree) that is in $. | |
139 end | 131 end |
140 | 132 |
141 define pdd | 133 define pdd |
142 set debug_dwarf_die ($) | 134 set debug_dwarf_die ($) |
143 end | 135 end |
204 echo \n | 196 echo \n |
205 end | 197 end |
206 | 198 |
207 document pcfun | 199 document pcfun |
208 Print current function. | 200 Print current function. |
201 end | |
202 | |
203 define break-on-diagnostic | |
204 break diagnostic_show_locus | |
205 end | |
206 | |
207 document break-on-diagnostic | |
208 Put a breakpoint on diagnostic_show_locus, called whenever a diagnostic | |
209 is emitted (as opposed to those warnings that are suppressed by | |
210 command-line options). | |
209 end | 211 end |
210 | 212 |
211 # Define some macros helpful to gdb when it is expanding macros. | 213 # Define some macros helpful to gdb when it is expanding macros. |
212 macro define __FILE__ "gdb" | 214 macro define __FILE__ "gdb" |
213 macro define __LINE__ 1 | 215 macro define __LINE__ 1 |
249 # Also skip inline functions in is-a.h. | 251 # Also skip inline functions in is-a.h. |
250 skip file is-a.h | 252 skip file is-a.h |
251 | 253 |
252 # And line-map.h. | 254 # And line-map.h. |
253 skip file line-map.h | 255 skip file line-map.h |
256 | |
257 # And timevar.h. | |
258 skip file timevar.h | |
254 | 259 |
255 # Likewise, skip various inline functions in rtl.h. | 260 # Likewise, skip various inline functions in rtl.h. |
256 skip rtx_expr_list::next | 261 skip rtx_expr_list::next |
257 skip rtx_expr_list::element | 262 skip rtx_expr_list::element |
258 skip rtx_insn_list::next | 263 skip rtx_insn_list::next |