From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10754 invoked by alias); 29 Jul 2009 21:08:19 -0000 Received: (qmail 10735 invoked by uid 22791); 29 Jul 2009 21:08:13 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Jul 2009 21:08:01 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n6TL5vkG030931; Wed, 29 Jul 2009 17:05:57 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n6TL5ug6032480; Wed, 29 Jul 2009 17:05:56 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n6TL5tte021690; Wed, 29 Jul 2009 17:05:55 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id F08223784EC; Wed, 29 Jul 2009 15:05:54 -0600 (MDT) To: Pedro Alves Cc: gdb-patches@sourceware.org, "Ulrich Weigand" , Jan Kratochvil Subject: Re: Multi-exec patches References: <200907231631.n6NGV2xR018887@d12av02.megacenter.de.ibm.com> <200907251612.50134.pedro@codesourcery.com> <200907281301.34095.pedro@codesourcery.com> From: Tom Tromey Reply-To: Tom Tromey Date: Wed, 29 Jul 2009 22:03:00 -0000 In-Reply-To: <200907281301.34095.pedro@codesourcery.com> (Pedro Alves's message of "Tue\, 28 Jul 2009 13\:01\:33 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00720.txt.bz2 Tom> Can not resume the parent process over vfork in the foreground while Tom> holding the child stopped. Try "set detach-on-fork" or "set schedule-multiple". Tom> Recursive internal problem. Tom> Aborted Pedro> Can you get me a backtrace, to see what happened here? For the record, I sent this in a separate note, the other day. Tom> I also got this strange result: Tom> (gdb) set detach-on-fork off Tom> (gdb) set schedule-multiple on Tom> (gdb) set non-stop on Tom> (gdb) run [...] Pedro> This usually means that GDB tried to read registers from Pedro> an LWP that wasn't stopped. I'll try to catch this one. Pedro> Are those commands above the whole set of commands? I Pedro> assume that you issued "set target-async on" and "set pagination off" Pedro> somewhere too? Nope! So that is probably the problem. Tom> Ok, this worked much better. I was able to interrupt a cc1 process Tom> during make! Pedro> Cool! I also tried setting a pending breakpoint on a function in cc1, then running "make". Nothing ever stopped at the breakpoint. Is this expected? Tom> ../../archer/gdb/thread.c:708: internal-error: finish_thread_state: Assertion `tp' failed. Pedro> If you have a chance to retry, could you please let me know if you Pedro> can reproduce this one with patch 2/2 of the mini-series applied ? I tried this and couldn't reproduce it. Tom