Re: Any solution to not being able to interrupt step in GDB ?

Daniel Jacobowitz
2008-02-27T22:12:43Z

On Wed, Feb 27, 2008 at 09:59:53PM +0000, Antony KING wrote:
> Is there any clean solution I can use which allows me to break out this
> loop if there is a pending SIGINT event waiting to be processed ? There
> seems a be a need for a way to "stop stepping" when Ctrl-C is pressed.
> One thought I have is to fake a target SIGINT signal by checking for a
> pending SIGINT event after returning from target_wait() and modifying
> ecs before calling handle_inferior_event().

I can refer you to the reply to the message you linked; which signal
handler is running when not in your "sweet spot"?