bug-gdb
[Top][All Lists]
Advanced

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

gdb-5.0 scope bug


From: nbecker
Subject: gdb-5.0 scope bug
Date: 22 Jan 2001 12:00:59 -0500

GNU gdb 5.0
i686-pc-linux-gnu

I have code which is to this effect:

main () {
  const double tau = 0

  for (int i = 0 ...)
    double tau = xxx.

When a breakpoint is set inside the loop, gdb reports the wrong value
for tau (the one outside the loop).

Do I need to give a more specific bug test case?



reply via email to

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