From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2916 invoked by alias); 11 Feb 2015 12:13:34 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 2891 invoked by uid 89); 11 Feb 2015 12:13:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 11 Feb 2015 12:13:32 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1BCDT5e002441 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 11 Feb 2015 07:13:30 -0500 Received: from localhost.localdomain (ovpn-112-26.ams2.redhat.com [10.36.112.26]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t1BCDREQ005310; Wed, 11 Feb 2015 07:13:28 -0500 Message-ID: <54DB4767.4060006@redhat.com> Date: Wed, 11 Feb 2015 12:13:00 -0000 From: Phil Muldoon MIME-Version: 1.0 To: Pedro Alves , "Jose E. Marchesi" , gdb Subject: Re: C injection GDB project References: <877fvopv7x.fsf@gnu.org> <54DB37D0.1010108@redhat.com> In-Reply-To: <54DB37D0.1010108@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00019.txt.bz2 On 11/02/15 11:06, Pedro Alves wrote: > On 02/11/2015 11:02 AM, Jose E. Marchesi wrote: >> >> I would like to work in the C injection GDB project. Hi I CC'd the GDB mailing list and trimmed some of the post. I hope you do not mind. Pedro asked me to reply to you on this interest. You've picked an excellent time to show interest! Phase one is complete and we are just about starting phase two. What is phase two? C++! The current status of the project is that the C parts of the injection process have been checked into both GCC and GDB. The GCC parts will be released in GCC 5. The GDB parts in the next GDB release. A brief overview of the mechanics and methods of the project can be found here: https://sourceware.org/gdb/wiki/GCCCompileAndExecute#preview There is also a talk given in the 2014 GNU Cauldron. You can find it here: https://www.youtube.com/watch?v=YQATnypexbY All discussion related to the project should be on gdb@sourceware.org and all patches to gdb-patches@sourceware.org For historical review, the GDB parts of the project can be found here: https://github.com/tromey/gdb/commits/gdbjit/gd And the GCC bits here: https://github.com/tromey/gcc/tree/submit/compile Note both of those branches are now defunct. All the code contained in them is checked in to the relevant upstream projects. I provide them purely for archaeological purposes. The people who work mostly on this project are: me, Jan Kratochvil and Tom Tromey. Tom previously lead the effort, but has now moved on to other fun stuff. There have been many others who contributed in one way or another, not least of all the reviewers. Alas, they are too numerous to list here. A TODO (in summary): - Write the C++ plug-in for GCC. Re-architect and reuse the C plug-in code wherever possible. - Teach GDB to tell GCC about C++ types. Those two will take a lot of time. We have not started yet. Eventually we want to provide: - compile print - compile printf - compile cond (or some other interface for conditional breakpoints) - Maybe a fix-and-continue interface - Maybe intelligently design a way GDB can use GCC for parsing expressions in some case. Beyond C++ we have no plans for other languages, but will happily and gladly support those authors who wish to add one. Let me know how I can help you. Cheers Phil