From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31446 invoked by alias); 30 Nov 2005 10:03:03 -0000 Received: (qmail 31437 invoked by uid 22791); 30 Nov 2005 10:03:02 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.206) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Nov 2005 10:03:01 +0000 Received: by zproxy.gmail.com with SMTP id x3so30827nzd for ; Wed, 30 Nov 2005 02:02:59 -0800 (PST) Received: by 10.36.222.12 with SMTP id u12mr2226nzg; Wed, 30 Nov 2005 02:02:59 -0800 (PST) Received: by 10.37.2.35 with HTTP; Wed, 30 Nov 2005 02:02:59 -0800 (PST) Message-ID: <8f2776cb0511300202t5b8d6d4brda7dbf0f7b58de80@mail.gmail.com> Date: Wed, 30 Nov 2005 10:40:00 -0000 From: Jim Blandy To: Daniel Juan Subject: Re: posix semaphores not working under gdb Cc: gdb@sourceware.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: 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: 2005-11/txt/msg00637.txt.bz2 I'd be surprised if GDB were really disturbing the behavior of the semaphores. It's much more likely that GDB is disturbing the real-time behavior of your program and showing up a bug in the locking that your program, just by luck, never encounters when it's not being debugged. I don't know of any stories offhand of GDB breaking semaphores or mutexes.