Re: [commit+7.5] [patchv2] Write bpt at the ON_STACK bpt address

Jan Kratochvil
2012-08-03T14:31:06Z

On Fri, 03 Aug 2012 16:22:47 +0200, Tom Tromey wrote:
> >>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> Curious. But is the cause the same? If something sending C-c to gdb
> Pedro> at the "wrong" time?
>
> It could be any exception thrown at the wrong spot in any sniffer.
> It would be interesting to know exactly where the original exception is
> thrown. I am still not sure that my fix is the correct one. Maybe it
> really is better to fix the sniffers. Or maybe do both.

Yes, IMO it would be better. During the sniffers entryval virtual tailcall
frames path evaluation gets in effect which heavily throws exceptions and
successfully TRY_CATCHes them. I am not aware of any problem there, just the
exceptions are common nowadays due to it during unwinding.

Thanks,
Jan