From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26450 invoked by alias); 5 Mar 2008 19:56:32 -0000 Received: (qmail 26438 invoked by uid 22791); 5 Mar 2008 19:56:31 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 05 Mar 2008 19:56:06 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id 5BD0E3C2C9; Wed, 5 Mar 2008 11:56:05 -0800 (PST) Subject: Re: How to prevent errors in "where" from aborting "thread apply all where" half-way ? From: Michael Snyder To: Yakov Lerner Cc: gdb@sourceware.org In-Reply-To: References: Content-Type: text/plain Date: Wed, 05 Mar 2008 20:42:00 -0000 Message-Id: <1204746965.19253.613.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00055.txt.bz2 On Tue, 2008-03-04 at 11:50 +0200, Yakov Lerner wrote: > I have situation where "thread apply all where" aborts in > the middle (because error reported by "where" in one thread), > and I do not get complete output, and this situation repeats over and > over again. > Then I am forced to run 'thread apply N where' manually for the > remaining dozens of threads. > > Is there method to prevent errors in "where" from aborting "thread > apply all where" ? There was something similar -- somebody tried to address the problem that gdb would bail out of a batch file script if one of the commands produced an error. I can't remember what the new command was, maybe somebody else? And it may or may not be helpful in your similar but non- identical context...