Different execution with and without gdb

Hi,

I have read on a blog(don't remember which one)the experience of the owner that when executing a program that he made, it ended segfaulting. However, when he tried to debug it wiht gdb, everything went smoothly. He(and I, since I'm posting this) didn't know what was happening.


How is that possible? Is the debugger messing with the code or what?

Thanx.
Can you show me the code?
Topic archived. No new replies allowed.