Re: [RFA] let record_resume fail immediately on error

Michael Snyder
2009-10-15T17:18:09Z

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. ;-)