From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6642 invoked by alias); 31 May 2009 18:38:22 -0000 Received: (qmail 6622 invoked by uid 22791); 31 May 2009 18:38:20 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_37,J_CHICKENPOX_39,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 31 May 2009 18:38:14 +0000 Received: from wpaz29.hot.corp.google.com (wpaz29.hot.corp.google.com [172.24.198.93]) by smtp-out.google.com with ESMTP id n4VIcC6J032305 for ; Sun, 31 May 2009 11:38:12 -0700 Received: from yw-out-2324.google.com (ywb5.prod.google.com [10.192.2.5]) by wpaz29.hot.corp.google.com with ESMTP id n4VIcAvG030978 for ; Sun, 31 May 2009 11:38:11 -0700 Received: by yw-out-2324.google.com with SMTP id 5so4063963ywb.1 for ; Sun, 31 May 2009 11:38:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.69.7 with SMTP id r7mr4441113aga.47.1243795090788; Sun, 31 May 2009 11:38:10 -0700 (PDT) In-Reply-To: References: <200905301151.52892.pedro@codesourcery.com> Date: Sun, 31 May 2009 18:38:00 -0000 Message-ID: Subject: Re: [RFC] Allowing all threads of all|current process(es) to be resumed [new command + docs] From: Doug Evans To: tromey@redhat.com Cc: Pedro Alves , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true 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: 2009-05/txt/msg00667.txt.bz2 On Sun, May 31, 2009 at 11:29 AM, Tom Tromey wrote: > Doug> # This isn't implementable today, it's just for illustration. > Doug> define lstep > [...] > > You can implement this with Python today :-) ... > > Doug> =A0 set $save_scheduler_locking [get scheduler-locking] > > Here you use gdb.parameter. > > Doug> =A0 try > > Python's try/catch works with gdb exceptions. Thanks. I suspected as much, but it was secondary to my main point so I didn't invest much time in it.