From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17940 invoked by alias); 4 Apr 2006 22:06:41 -0000 Received: (qmail 17931 invoked by uid 22791); 4 Apr 2006 22:06:40 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 04 Apr 2006 22:06:40 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FQtfZ-000391-RM; Tue, 04 Apr 2006 18:06:37 -0400 Date: Tue, 04 Apr 2006 22:06:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: gdb@sources.redhat.com Subject: Re: RFC: MI output during program execution Message-ID: <20060404220637.GA12064@nevyn.them.org> Mail-Followup-To: Nick Roberts , gdb@sources.redhat.com References: <17458.60694.135878.624750@farnswood.snap.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17458.60694.135878.624750@farnswood.snap.net.nz> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00019.txt.bz2 On Wed, Apr 05, 2006 at 10:03:02AM +1200, Nick Roberts wrote: > > [moved from gdb-patches] > > > Well I have no idea! You didn't say what I broke. > > * linux-nat.c (linux_ops_saved): New. > (super_mourn_inferior, kill_inferior, threaded, linux_nat_ops) > (child_mourn_inferior, child_wait, linux_nat_create_inferior) > (linux_nat_fetch_registers, linux_nat_store_registers) > (linux_nat_child_post_startup_inferior, init_linux_nat_ops): Delete. > ... > (linux_target): Don't set to_wait, to_kill, or to_mourn_inferior. > ... > > The async code used a heavily changed version of child_wait (in linux-nat.c). > > What does the new code use in place of this procedure? child_wait only ever worked for single-threaded executables. Now linux_nat_wait is used, for both single-threaded and multi-threaded executables. -- Daniel Jacobowitz CodeSourcery