break sets a breakpoint rather than stopping the loop.
It *appears* a flag is necessary instead.
This was tested in gdb 6.0.

Backport candidate
1 file changed