Commit 6e72eb34 by David Malcolm Committed by David Malcolm

gdbinit.in: add "break-on-diagnostic" command

gcc/ChangeLog:
	* gdbinit.in (break-on-diagnostic): New command.

From-SVN: r254877
parent 6a10fff4
2017-11-17 David Malcolm <dmalcolm@redhat.com>
* gdbinit.in (break-on-diagnostic): New command.
2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
* config/i386/i386.c (ix86_expand_epilogue): Change simple
......@@ -208,6 +208,16 @@ document pcfun
Print current function.
end
define break-on-diagnostic
break diagnostic_show_locus
end
document break-on-diagnostic
Put a breakpoint on diagnostic_show_locus, called whenever a diagnostic
is emitted (as opposed to those warnings that are suppressed by
command-line options).
end
# Define some macros helpful to gdb when it is expanding macros.
macro define __FILE__ "gdb"
macro define __LINE__ 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment