What is the raw/debug log looking like?
Also what happens in the trunk version or when you try gdb from command line?
p.s. You can look at the callstack to see if there are more functions above main.
Sometimes stepping out of the main function goes to other system/runtime functions, but there are no symbols for them and C::B tries to be smart by setting the active frame the one with valid symbols.