Re: [PATCH v4 3/8] Catch gdb_exception_error instead of gdb_exception (in many places)

Pedro Alves
2023-02-16T10:52:44Z

Hi Kevin,

On 2023-01-30 7:00 p.m., Pedro Alves wrote:
> Hi Kevin,
>
> This patch took me a bit to convince myself is good as is. See below why.

...

> So I'm thinking that we should probably install a custom quit_handler while inside
> fetch_inferior_event, like we disable pagination and other things, one that just does nothing,
> or at least, does nothing until the user to tries ctrl-c a number of times before querying the
> user what to do, in case GDB really gets stuck.
>
> And if we agree with that direction, then I guess my concern about making all these try/catch that can
> be run during run control, the ones in infrun.c, breakpoint.c, etc., escape gdb_exception_quit mostly
> goes away.
>
> So I think with that direction this patch is OK.
>

Just wanted to explicitly state that changes implementing the above are all in master now,
since yesterday.