From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24958 invoked by alias); 23 Sep 2010 19:01:29 -0000 Received: (qmail 24940 invoked by uid 22791); 23 Sep 2010 19:01:28 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Sep 2010 19:01:23 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o8NJ10v2007177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Sep 2010 15:01:00 -0400 Received: from host1.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o8NJ0uIW021932 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 23 Sep 2010 15:00:58 -0400 Received: from host1.dyn.jankratochvil.net (localhost [127.0.0.1]) by host1.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o8NJ0uVb009278; Thu, 23 Sep 2010 21:00:56 +0200 Received: (from jkratoch@localhost) by host1.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o8NJ0tjY009274; Thu, 23 Sep 2010 21:00:55 +0200 Date: Thu, 23 Sep 2010 21:58:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 2/2] Add support for GNAT Ravenscar run-time library. Message-ID: <20100923190054.GA24511@host1.dyn.jankratochvil.net> References: <1285267380-8329-1-git-send-email-brobecker@adacore.com> <1285267380-8329-3-git-send-email-brobecker@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1285267380-8329-3-git-send-email-brobecker@adacore.com> User-Agent: Mutt/1.5.20 (2009-12-10) 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: 2010-09/txt/msg00416.txt.bz2 On Thu, 23 Sep 2010 20:43:00 +0200, Joel Brobecker wrote: > --- /dev/null > +++ b/gdb/ravenscar-thread.c [...] > +static CORE_ADDR read_thread_id (const char* symbol_name); ^^-> ` *' [...] > +static char * ravenscar_extra_thread_info (struct thread_info *tp); ^^^-> ` *' [...] > +read_thread_id (const char* symbol_name) ^^-> ` *' > +{ [...] > + char* buf; ^^-> ` *' [...] > +ravenscar_wait (struct target_ops *ops, ptid_t ptid, > + struct target_waitstatus *status, > + int options) > +{ > + struct target_ops *beneath = find_target_beneath (ops); > + > + inferior_ptid = base_ptid; > + beneath->to_wait (ops, base_ptid, status, 0); ^^^-> beneath With many other places. [...] > +void > +_initialize_ravenscar (void) > +{ > + extern struct cmd_list_element *cmdlist; This declaration is in "gdbcmd.h". Thanks, Jan