From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24089 invoked by alias); 22 Oct 2008 19:59:35 -0000 Received: (qmail 24080 invoked by uid 22791); 22 Oct 2008 19:59:34 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 22 Oct 2008 19:58:47 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id BDFD62A964A for ; Wed, 22 Oct 2008 15:58:45 -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 8OIZD3imfiFx for ; Wed, 22 Oct 2008 15:58:45 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 608F92A95EE for ; Wed, 22 Oct 2008 15:58:45 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id CC34AE7AD0; Wed, 22 Oct 2008 12:58:40 -0700 (PDT) Date: Wed, 22 Oct 2008 19:59:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: [RFA/Ada] Implement Ada tasking support (take 2) Message-ID: <20081022195840.GD3638@adacore.com> References: <20080924174850.GC3607@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080924174850.GC3607@adacore.com> User-Agent: Mutt/1.4.2.2i 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: 2008-10/txt/msg00552.txt.bz2 The following patches have now been checked in mainline. > gdb/: > 2008-09-24 Joel Brobecker > > * target.h (struct target_ops): Add new field to_get_ada_task_ptid. > (target_get_ada_task_ptid): New macro. > * target.c (default_get_ada_task_ptid): New function. > (update_current_target): Inherit field default_get_ada_task_ptid. > (update_current_target): Make default_get_ada_task_ptid the default > value for field to_get_ada_task_ptid. > * ada-lang.h (struct task_control_block): Delete. Never used. > (struct task_ptid, task_ptid_t, struct task_entry, task_list): > Likewise. > (struct ada_task_info): New. > (ada_task_is_alive, ada_find_printable_frame) > (ada_task_list_iterator_ftype, iterate_over_live_ada_tasks): Add > declarations. > (ada_build_task_list): Update prototype. > (init_task_list, ada_is_exception_breakpoint): Remove prototypes. > * ada-lang.c (ada_find_printable_frame): Make non-static. > * ada-tasks.c: New file. > * Makefile.in (SFILES): Add ada-tasks.c. > (COMMON_OBS): Add ada-tasks.o. > * linux-thread-db.c (thread_db_find_thread_from_tid) > (thread_db_get_ada_task_ptid): New functions. > (init_thread_db_ops): Set thread_db_ops.to_get_ada_task_ptid. > > gdb/testsuite: > 2008-09-24 Joel Brobecker > > * gdb.base/completion.exp: Update expected output following > the addition of the "info tasks" command. > > gdb/doc: > 2008-09-24 Joel Brobecker > > * gdb.texinfo (Ada Tasks, Ada Tasks and Core Files): New nodes. > (Patching): Replace incorrect usage of @samp by @kbd. NEWS patch has been sent. I will post patches to provide the various target-specific implementations of the new to_get_ada_task_ptid method. -- Joel