From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11302 invoked by alias); 3 Feb 2006 10:58:12 -0000 Received: (qmail 11285 invoked by uid 22791); 3 Feb 2006 10:58:11 -0000 X-Spam-Check-By: sourceware.org Received: from gandalf.inter.net.il (HELO gandalf.inter.net.il) (192.114.186.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 03 Feb 2006 10:58:10 +0000 Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id HTM05557; Fri, 3 Feb 2006 12:57:55 +0200 (IST) Received: from HOME-C4E4A596F7 (IGLD-83-130-250-125.inter.net.il [83.130.250.125]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id CPU59461 (AUTH halo1); Fri, 3 Feb 2006 12:57:54 +0200 (IST) Date: Fri, 03 Feb 2006 10:58:00 -0000 Message-Id: From: Eli Zaretskii To: Vladimir Prus CC: gdb@sources.redhat.com In-reply-to: (message from Vladimir Prus on Mon, 30 Jan 2006 16:31:34 +0300) Subject: Re: $thread convenience variable Reply-to: Eli Zaretskii 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: 2006-02/txt/msg00017.txt.bz2 > From: Vladimir Prus > Date: Mon, 30 Jan 2006 16:31:34 +0300 > > breakpoint foo.cpp:10 if $thread==1 || $thread==2 > > If I understand correctly, at the moment gdb can't specify arbitrary > condition on thread number for breakpoint. A breakpoint is either global, > or for one thread. > > If such variable does not exist, does it look like a good addition? I'd support adding such a variable.