The following patch fixes a bug where an epilogue stub isn't detected and is erroneously treated as a subroutine. Fixes step and next errors when at the end of a function for the ip2k. Mips may have suffered from the same problem but the occurrence of the code would have been rare. 2003-08-26 Nick Kelsey * infrun.c (handle_inferior_event): Bug fix in subroutine detection code regarding dealing with an epilogue stub. The previous code correctly detected the stub in all cases except where the pc is equal to the stub entry point.