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


On Wed, Sep 30, 2009 at 05:29, Joel Brobecker <brobecker@adacore.com> wrote:
>> Sorry I didn't talk it very clear. ?Let me try it.
>
> In other words: If an error occurs during recording, somehow
> the inferior "runs away", meaning runs until completion?
> Do we lose the process record?

If the error happen, prec will stop the inferior.

But make the inferior is not right.  It because I use signal in
record_wait.  So I remove it now.

>
> Based on the transcript of the session *with* the patch you propose,
> it looks like GDB is now just stuck on that instruction that it does
> not know how to record. Is that really progress?

The insn nonsupport error is a error that easy to reproduce.   I think
the current prec will make the inferior exit with other error.

Thanks,
Hui


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