From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22613 invoked by alias); 31 Mar 2009 16:54:07 -0000 Received: (qmail 22534 invoked by uid 22791); 31 Mar 2009 16:54:06 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Mar 2009 16:53:59 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 9530C2BE25C for ; Tue, 31 Mar 2009 12:53:57 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id U9awpakEan+d for ; Tue, 31 Mar 2009 12:53:57 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 546D52BE261 for ; Tue, 31 Mar 2009 12:53:57 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id CE09AF5853; Tue, 31 Mar 2009 09:53:49 -0700 (PDT) Date: Tue, 31 Mar 2009 16:55:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: [RFC] Add task-specific breakpoint capability... Message-ID: <20090331165349.GD9472@adacore.com> References: <20090324203319.GB24100@adacore.com> <20090325162141.GW9472@adacore.com> <20090325162711.GX9472@adacore.com> <20090325165433.GZ9472@adacore.com> <20090325195633.GC9472@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090325195633.GC9472@adacore.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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-03/txt/msg00705.txt.bz2 > gdb/: > 2009-03-25 Joel Brobecker > > Provide support for (Ada) task-specific breakpoints. > > * ada-lang.h (ada_get_task_number): Add declaration. > (breakpoint_ada_task_match): Delete declaration. > * ada-tasks.c (ada_get_task_number): Make non-static. > * breakpoint.h (struct breakpoint): Add field "task". > * breakpoint.c (print_one_breakpoint_location): Add handling of > task-specific breakpoints. > (create_breakpoint, create_breakpoints, find_condition_and_thread): > New parameter "task". > (break_command_really): Update calls to find_condition_and_thread > and create_breakpoints. > (breakpoint_re_set_one): Update call to find_condition_and_thread. > Set b->task. > > gdb/testsuite/: > 2009-03-25 Joel Brobecker > > * gdb.ada/tasks: New testcase. > > All tested on x86_64-linux. Will commit in a day or two... This two patches are now in. Retested on x86_64 linux, JIC. -- Joel