When ddd
encounters a scanf
statement, it displays "Waiting until GDB gets ready" message. The debugging activity stops here. Please guide me of overcoming this bug.
I'm using an amd64 athlon processor.
When ddd
encounters a scanf
statement, it displays "Waiting until GDB gets ready" message. The debugging activity stops here. Please guide me of overcoming this bug.
I'm using an amd64 athlon processor.
I am surprised that so much time has elapsed on this, so although I know little about ddd, it seems very likely that the problem is simply that gdb is waiting for the program which is blocked on a read waiting for input on stdin. If you were running gdb directly, you could direct input to the program by using:
run < input-file
You need to give your program some input.