# This is what happens on system using uClibc.
pass "step out of main"
}
+ -re "0x.*\\?\\? \\(\\) from /lib/powerpc.*$gdb_prompt $" {
+ # This case occurs on Powerpc when gdb steps out of main and the
+ # needed debug info files are not loaded on the system, preventing
+ # GDB to determine which function it reached (__libc_start_call_main).
+ # Ideally, the target system would have the necessary debugging
+ # information, but in its absence, GDB's behavior is as expected.
+ #
+ # Another consequence of this missing information is that GDB
+ # can no longer continue to perform "next" operations, as doing
+ # so requires GDB to know the bounds of the current function.
+ # Not know what the current function it, it cannot determine
+ # its bounds. So we also set program_exited to 1 to indicate
+ # that we need to stop this testcase at this stage of the testing.
+ pass "step out of main"
+ set program_exited 1
+ }
}
# When we're talking to a program running on a real stand-alone board,