[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDB to detect NAN
From: |
swagat |
Subject: |
Re: GDB to detect NAN |
Date: |
3 Jul 2006 22:18:24 -0700 |
User-agent: |
G2/0.2 |
Paul Pluzhnikov wrote:
> "swagat" <swagat.kumar@gmail.com> writes:
>
> > I don't know if it is the right forum to ask for gdb problems. IF it is
> > not, please do let me know.
>
> Asking in OS-specific group (and indicating what OS you are on)
> may yield better results.
I realize my mistake. I am running the program on Debian GNU/Linux.
$ uname -a
Linux 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686 GNU/Linux
> > In my c++ program, a particular variable takes up "nan" value after
> > sometime. I want my program to stop executing at a line where it takes
> > up a NAN value.
> >
> > How can I use GDB to perform this task?
>
> You appear to be on Linux, so here is Linux/x86-specific answer:
It was of great help. Thanks.
Regards,
swagat