Message ID | 20180905145732.404-2-rep.dot.nop@gmail.com |
---|---|
State | New |
Headers | show |
Series | [FORTRAN,01/29] gdbinit: break on gfc_internal_error | expand |
ping On Wed, 5 Sep 2018 14:57:04 +0000 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> wrote: > From: Bernhard Reutner-Fischer <aldot@gcc.gnu.org> > > Aids debugging the fortran FE. > > gcc/ChangeLog: > > 2017-11-12 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> > > * gdbinit.in: Break on gfc_internal_error. > --- > gcc/gdbinit.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in > index 4db977f0bab..ac4d7c42e21 100644 > --- a/gcc/gdbinit.in > +++ b/gcc/gdbinit.in > @@ -227,6 +227,7 @@ b fancy_abort > > # Put a breakpoint on internal_error to help with debugging ICEs. > b internal_error > +b gfc_internal_error > > set complaints 0 > # Don't let abort actually run, as it will make
Looks OK. Cheers On 10/29/21 11:58 AM, Bernhard Reutner-Fischer via Fortran wrote: > ping > > On Wed, 5 Sep 2018 14:57:04 +0000 > Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> wrote: > >> From: Bernhard Reutner-Fischer <aldot@gcc.gnu.org> >> >> Aids debugging the fortran FE. >> >> gcc/ChangeLog: >> >> 2017-11-12 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> >> >> * gdbinit.in: Break on gfc_internal_error. >> --- >> gcc/gdbinit.in | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in >> index 4db977f0bab..ac4d7c42e21 100644 >> --- a/gcc/gdbinit.in >> +++ b/gcc/gdbinit.in >> @@ -227,6 +227,7 @@ b fancy_abort >> >> # Put a breakpoint on internal_error to help with debugging ICEs. >> b internal_error >> +b gfc_internal_error >> >> set complaints 0 >> # Don't let abort actually run, as it will make
On 30 October 2021 00:13:06 CEST, Jerry D <jvdelisle2@gmail.com> wrote: >Looks OK. Thanks! I guess I need an OK from some global maintainer, too? The breakpoint is ignored by automatically answering the question with n if the symbol is not found when loading .gdbinit for e.g. cc1. thanks, > >Cheers > >On 10/29/21 11:58 AM, Bernhard Reutner-Fischer via Fortran wrote: >> ping >> >> On Wed, 5 Sep 2018 14:57:04 +0000 >> Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> wrote: >> >>> From: Bernhard Reutner-Fischer <aldot@gcc.gnu.org> >>> >>> Aids debugging the fortran FE. >>> >>> gcc/ChangeLog: >>> >>> 2017-11-12 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> >>> >>> * gdbinit.in: Break on gfc_internal_error. >>> --- >>> gcc/gdbinit.in | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in >>> index 4db977f0bab..ac4d7c42e21 100644 >>> --- a/gcc/gdbinit.in >>> +++ b/gcc/gdbinit.in >>> @@ -227,6 +227,7 @@ b fancy_abort >>> >>> # Put a breakpoint on internal_error to help with debugging ICEs. >>> b internal_error >>> +b gfc_internal_error >>> >>> set complaints 0 >>> # Don't let abort actually run, as it will make >
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in index 4db977f0bab..ac4d7c42e21 100644 --- a/gcc/gdbinit.in +++ b/gcc/gdbinit.in @@ -227,6 +227,7 @@ b fancy_abort # Put a breakpoint on internal_error to help with debugging ICEs. b internal_error +b gfc_internal_error set complaints 0 # Don't let abort actually run, as it will make
From: Bernhard Reutner-Fischer <aldot@gcc.gnu.org> Aids debugging the fortran FE. gcc/ChangeLog: 2017-11-12 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * gdbinit.in: Break on gfc_internal_error. --- gcc/gdbinit.in | 1 + 1 file changed, 1 insertion(+)