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] |
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] |