This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Any solution to not being able to interrupt step in GDB ?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Antony KING <antony dot king at st dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 27 Feb 2008 17:12:18 -0500
- Subject: Re: Any solution to not being able to interrupt step in GDB ?
- References: <47C5DD59.5090608@st.com>
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"?
--
Daniel Jacobowitz
CodeSourcery