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


Jim Blandy wrote:
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.

Are you sure? If skipping __main involves overhead, do you want to incur that overhead every time we want to skip a prologue?


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