summaryrefslogtreecommitdiff
path: root/gcc/gdbinit.in
diff options
context:
space:
mode:
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