[patch] Fix Linux attach to signalled/stopped processes

Pedro Alves pedro@codesourcery.com
Sun Apr 13 13:40:00 GMT 2008


Darn, I'll never learn...  

A Saturday 12 April 2008 17:37:48, Pedro Alves wrote:
   if (GET_LWP (lp->ptid) != GET_PID (lp->ptid))
     {
+      int status = 0;
+
+      /* Pass on any pending signal for this LWP.  */
+      get_pending_status (lwp_list, &status);
                               ^
Obvious pasto here, should be lp...

Sorry for the flooding.

-- 
Pedro Alves



More information about the Gdb-patches mailing list