From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22603 invoked by alias); 12 May 2004 08:33:50 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 22595 invoked from network); 12 May 2004 08:33:49 -0000 Received: from unknown (HELO nile.gnat.com) (205.232.38.5) by sourceware.org with SMTP; 12 May 2004 08:33:49 -0000 Received: from localhost (localhost [127.0.0.1]) by nile.gnat.com (Postfix) with ESMTP id 9CD4AF2D8D for ; Wed, 12 May 2004 04:33:48 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10745-01-5 for ; Wed, 12 May 2004 04:33:48 -0400 (EDT) Received: by nile.gnat.com (Postfix, from userid 1345) id 55D63F2D8B; Wed, 12 May 2004 04:33:48 -0400 (EDT) From: Paul Hilfinger To: gdb@sources.redhat.com Subject: GDB interaction with sigwait under Redhat 9.0 Message-Id: <20040512083348.55D63F2D8B@nile.gnat.com> Date: Wed, 12 May 2004 08:33:00 -0000 X-Virus-Scanned: by amavisd-new at nile.gnat.com X-SW-Source: 2004-05/txt/msg00075.txt.bz2 I recently submitted PR threads/1641 concerning a problem we seem to be having with Redhat 9.0 (Linux ... 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST 2004 i686 i686 i386 GNU/Linux). It appears that on that system, there is a new, malign interaction of sigwait in the inferior with ptrace. First, GDB (head version from about mid-April), no longer sees signals sent to an inferior that is waiting on sigwait. Second, GDB's manipulation with the inferior causes sigwaits (at least on pthreaded programs) to continue with a non-zero status code (EINTR to be precise). Does anyone know anything about this rather drastic change in sigwait's behavior? I intend to submit a GNU/Linux bug report, unless someone knows a good reason for this new (apparently undocumented) spec. Thanks. Paul Hilfinger Ada Core Technologies, Inc.