From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6401 invoked by alias); 25 Mar 2009 20:10:06 -0000 Received: (qmail 6320 invoked by uid 22791); 25 Mar 2009 20:10:05 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout2.012.net.il (HELO mtaout2.012.net.il) (84.95.2.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Mar 2009 20:09:58 +0000 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KH200J00VTQJ100@i_mtaout2.012.net.il> for gdb-patches@sourceware.org; Wed, 25 Mar 2009 22:09:54 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.23.114]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KH200LC1W0HYM90@i_mtaout2.012.net.il>; Wed, 25 Mar 2009 22:09:54 +0200 (IST) Date: Wed, 25 Mar 2009 21:22:00 -0000 From: Eli Zaretskii Subject: Re: [RFC] Add task-specific breakpoint capability... In-reply-to: <20090325195633.GC9472@adacore.com> To: Joel Brobecker Cc: tromey@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: References: <20090324203319.GB24100@adacore.com> <20090325162141.GW9472@adacore.com> <20090325162711.GX9472@adacore.com> <20090325165433.GZ9472@adacore.com> <20090325195633.GC9472@adacore.com> 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-03/txt/msg00563.txt.bz2 > Date: Wed, 25 Mar 2009 12:56:33 -0700 > From: Joel Brobecker > Cc: gdb-patches@sourceware.org > > OK, here is a new version of the patch. Hopefully, everything that we > discussed earlier should be incorporated, and I also tried to fix > a few tab/spaces issues (my favorite :). I'm also adding a testcase. Thanks. > 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. Hmm?... no documentation?