gdb internal error SIGINT/SIGSTOP

Daniel Jacobowitz drow@false.org
Mon Feb 2 15:05:00 GMT 2009


On Mon, Feb 02, 2009 at 06:47:02AM -0800, paawan oza wrote:
> Hello,
> 
> I have been modifying gdb for past couple of months.
> I am trying to keep process always running and user should be able to type commands.

Please look at the non-stop debuging which is supported in HEAD.
You will have to change a lot of the same things that non-stop did.

> when I have breakpoints on threads....
> and if main/CLONEs thread is stopped due to breakpoint and if I send 
> SIGINT/SIGSTOP to the main thread....
> eventually I end up getting interrnal gdb assertion error.
> gdb_assert (pid == GET_LWP (lp->ptid));

Sorry, there is no way for us to know the answer to this question
since you have made extensive changes to your GDB.


-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list