summaryrefslogtreecommitdiff
path: root/gcc/gdbinit.in
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-22 01:04:13 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-22 01:04:13 +0000
commit0fb7aaf2e359f4d9fc974068d15c6504f8492562 (patch)
tree43fe984fdd16df94b3dbb7049cf5cbd521246dd1 /gcc/gdbinit.in
parent17ceb1d5d42fbeffd9659d82f6659db3b3b9ea91 (diff)
downloadgcc-0fb7aaf2e359f4d9fc974068d15c6504f8492562.tar.gz
* gdbinit.in: Set a breakpoint on internal_error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85031 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gdbinit.in')
-rw-r--r--gcc/gdbinit.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index 753cd9e73bc..fe63fa5a9a4 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -117,6 +117,9 @@ end
# to either fprintf/exit or fancy_abort.
b fancy_abort
+# Put a breakpoint on internal_error to help with debugging ICEs.
+b internal_error
+
# Make gdb complain about symbol reading errors. This is so that gcc
# developers can see and fix bugs in gcc debug output.
set complaints 20