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] |
This patch fixes the issue by first single-stepping and keeping in mind that a signal has to be posted.
I'm not sure that single-stepping before sending the signal is right. This means we'll execute an instruction (which potentially affects the way signals are handled) before the program actually sees the signal.
I think a better way to do this is to continue with a signal while keeping the breakpoints inserted, and deal with hitting the breakpoint again in the appropriate way.
Also, I think this needs to be handled in the generic code. I'm facing the same problem on OpenBSD.
Thanks for the comment, Tristan.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |