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: [PATCH] Don't send queries to the MI interpreter


On 17-02-10 12:44 PM, Pedro Alves wrote:
> And it is at this point that I thought that it is odd to
> query and ask for user input deep down inside the record layer,
> while handling some asynchronous execution event -- i.e.,
> deep down inside handle_inferior_event.  If we're buffering
> output, when the user won't see the query anyway.
> Hmm, now that I think of it, the "Do you want to auto delete
> previous execution" query wouldn't be converted to an error,
> but instead to a something like TARGET_WAITKIND_NO_HISTORY,
> I suppose.

And TARGET_WAITKIND_NO_HISTORY would cause a user-visible stop?

(I'm processing the rest and will reply to your latest message)


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