[RFA] Fix internal error with 'set debug infrun 1' under high load

Philippe Waroquiers philippe.waroquiers@skynet.be
Sun Mar 24 21:40:00 GMT 2019


On Sun, 2019-03-24 at 14:35 -0700, Kevin Buettner wrote:
> You make a good point about trying to make use of ws.value.integer.
> 
> So, here are my suggestions:
> 
> 1) Move TARGET_WAITKIND_SIGNALLED into another "else if" clause.  It
> doesn't make sense for the debug message to indicate that the process
> has exited when it's actually been signalled.
> 
> 2) Make the TARGET_WAITKIND_THREAD_EXITED / TARGET_WAITKIND_EXITED
> case print the exit status and make the TARGET_WAITKIND_SIGNALLED case
> print the signal.  These are available (respectively) in ws.value.integer and
> ws.value.sig.
Thanks for the feedback, I will (some time this week) prepare a patch
based on these suggestions.

Philippe



More information about the Gdb-patches mailing list