This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
stopping gdb at runtime errors.
- From: niels dot ellegaard at gmail dot com (Niels L. Ellegaard)
- To: fortran at gcc dot gnu dot org
- Date: Mon, 26 Mar 2007 15:43:52 +0200
- Subject: stopping gdb at runtime errors.
- Cancel-lock: sha1:DaQAUYJHQewxGaQNCbdxBpFEmpM=
Dear gurus
I am using gfortran with gdb, and I would like to set a single break
point that stoppped the program just before it crashed due to any
runtime error. That would allow me a last view at my variables before
a any crash.
I would also like to set a single breakpoint ("break STOP" ??) that
stopped the program whenever the fortran statement named "STOP" were
about to be executed.
Is this possible? I would love to have it. Thanks in advance and thank
you for gfortran.
Niels