From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23052 invoked by alias); 15 Jun 2010 20:36:38 -0000 Received: (qmail 23044 invoked by uid 22791); 15 Jun 2010 20:36:38 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Jun 2010 20:36:34 +0000 Received: (qmail 2119 invoked from network); 15 Jun 2010 20:36:32 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 15 Jun 2010 20:36:32 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [python][patch] Inferior and Thread information support. Date: Tue, 15 Jun 2010 20:36:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.32-22-generic; KDE/4.4.2; x86_64; ; ) Cc: Phil Muldoon , tromey@redhat.com References: <4BFA6E82.3070704@redhat.com> <4C17DB57.3060107@redhat.com> In-Reply-To: <4C17DB57.3060107@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006152136.27315.pedro@codesourcery.com> X-IsSubscribed: yes 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: 2010-06/txt/msg00354.txt.bz2 On Tuesday 15 June 2010 20:58:15, Phil Muldoon wrote: > When I ported this code from Archer I thought the (t)pid equality was > fine. But as in any porting effort you take the sum of several > authors and decide to rewrite/port what you have. I thought that this > equality was ok. OTOH I don't see why either (on your original > question). I'll investigate further and report back. Probably when the original code was written, gdb mainline didn't have the concept of proto inferiors with pid == 0. That only came in with the multi-exec work. Just guessing. -- Pedro Alves