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: [commit+7.5] [patchv2] Write bpt at the ON_STACK bpt address


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


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