On Tue, 14 Oct 2003, Charles Lockhart wrote:
>I'm guessing that gdb is only breaking on the "x = 0" part of the code,
>and since that only happens once, it's not breaking on that line again.
GDB can only place breakpoints on a statement. There's only one for-loop
statement in this program. Thus,
Sorry, a guy at work told me about this, but I didn't believe him, and
now I do but don't understand it. Searching google and google groups
didn't turn up what I was looking for, was hoping maybe somebody here
would know.
For the below code, running it in gdb, set a breakpoint for line 5. GD