This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] missing case in epilogue stub detection


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  <nickk@ubicom.com>

 * 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.

Attachment: infrun.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]