Program received signal SIGFPE, Arithmetic exception

2012-11-27 Thread Alexandre Furlan
Hi. I have the program a FORTRAN90 and when I debug with gdb, is shown Program received signal SIGFPE, Arithmetic exception. 0x004060be in MAIN__ () How to find the line where the error was found ? Thanks ___ bug-gdb mailing list bug-gdb

Re: Program received signal SIGFPE, Arithmetic exception

2012-11-27 Thread Eli Zaretskii
> Date: Tue, 27 Nov 2012 09:01:39 -0800 (PST) > From: Alexandre Furlan > > I have the program a FORTRAN90 and when I debug with gdb, is shown > > Program received signal SIGFPE, Arithmetic exception. > 0x004060be in MAIN__ () > > How to find the line where

Re: Program received signal SIGFPE, Arithmetic exception

2012-11-27 Thread Eli Zaretskii
> Date: Tue, 27 Nov 2012 16:14:04 -0200 (BRST) > From: alexandrepfurlan > cc: Alexandre Furlan , bug-gdb@gnu.org > > > I tried, and the result is > > Program received signal SIGFPE, Arithmetic exception. > 0x004060be in MAIN__ () > (gdb) bt >

Re: Program received signal SIGFPE, Arithmetic exception

2012-11-27 Thread alexandrepfurlan
Yes. I use gfortran -g program.f90 I'll try again. On Tue, 27 Nov 2012, Eli Zaretskii wrote: Date: Tue, 27 Nov 2012 16:14:04 -0200 (BRST) From: alexandrepfurlan cc: Alexandre Furlan , bug-gdb@gnu.org I tried, and the result is Program received signal SIGFPE, Arithmetic exce

Re: Program received signal SIGFPE, Arithmetic exception

2012-11-27 Thread alexandrepfurlan
I tried, and the result is Program received signal SIGFPE, Arithmetic exception. 0x004060be in MAIN__ () (gdb) bt #0 0x004060be in MAIN__ () And now ? On Tue, 27 Nov 2012, Eli Zaretskii wrote: Date: Tue, 27 Nov 2012 09:01:39 -0800 (PST) From: Alexandre Furlan I have the