[RFA] let record_resume fail immediately on error
Michael Snyder
msnyder@vmware.com
Thu Oct 15 17:18:00 GMT 2009
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. ;-)
More information about the Gdb-patches
mailing list