This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

stopping gdb at runtime errors.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]