bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDB failed to get lines triggering floating point exceptions


From: Thanh Vo
Subject: GDB failed to get lines triggering floating point exceptions
Date: Mon, 19 Sep 2011 09:50:38 -0700

Hi,

I'm Thanh Vo. I've been using gdb to debug some numeric code and I've
run into puzzling behavior that appears to be sensitive to the order
of the inputs.

Attached is the source of a test program and 2 set of inputs. The
inputs only differ in the order of arguments.

Run on the test program with its arguments set to the first ordering
of the inputs, gdb outputs the source line of the floating point
operation that triggers an exception.  On the second ordering,
however, gdb hangs.

Any idea what is going on here and how I can fix it?

Best regards,
Thanh Vo.

Attachment: inputs.txt
Description: Text document

Attachment: test.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]