This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [PATCH] Fix problem with scope.exp test, skipping past init0 call


Actually, having seen other's responses here, I'm inclined to say that
the proper fix is to simply drop the code in scope.exp for getting
from the opening brace to the first line.  Setting a breakpoint on
main simply shouldn't leave you on the opening brace, and that test
suite logic has always been papering over a bug.

If prologues contain calls to __main, then the prologue analyzers
should skip them.


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