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: [RFA] let record_resume fail immediately on error


Joel Brobecker wrote:
I think stop with sigtrap looks not very well. So I change it to sigint.

From a user perspective, either is confusing and, IMO, wrong. The program did not receive any of these signals, so it seems like we're pretending that they did. Can't we just have an error message "Error: unsupported instruction, cannot continue from there", and just display the frame where we stopped?

Hui, try returning signal zero. GDB will just report that you stopped, without saying anything about a signal.

Old trick of mine. ;-)



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