From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nickrob@snap.net.nz (Nick Roberts) Newsgroups: gmane.emacs.devel Subject: GSoC and GDB/MI migration in Emacs Date: Mon, 23 Mar 2009 22:46:21 +1300 Message-ID: <18887.23149.423479.570339@totara.tehura.co.nz> References: <87k56h7367.fsf@sphinx.net.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237801611 31574 80.91.229.12 (23 Mar 2009 09:46:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2009 09:46:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Dzhus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 23 10:48:08 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LlglL-0008Sz-Se for ged-emacs-devel@m.gmane.org; Mon, 23 Mar 2009 10:48:08 +0100 Original-Received: from localhost ([127.0.0.1]:50639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Llgjz-0001ki-0E for ged-emacs-devel@m.gmane.org; Mon, 23 Mar 2009 05:46:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Llgjs-0001k6-MS for emacs-devel@gnu.org; Mon, 23 Mar 2009 05:46:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Llgjn-0001iU-0T for emacs-devel@gnu.org; Mon, 23 Mar 2009 05:46:35 -0400 Original-Received: from [199.232.76.173] (port=51395 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Llgjm-0001iP-Rq for emacs-devel@gnu.org; Mon, 23 Mar 2009 05:46:30 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.23]:41993) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Llgjm-0001oU-1V for emacs-devel@gnu.org; Mon, 23 Mar 2009 05:46:30 -0400 Original-Received: from totara (176.27.255.123.static.snap.net.nz [123.255.27.176]) by viper.snap.net.nz (Postfix) with ESMTP id CE0693DA045; Mon, 23 Mar 2009 22:46:22 +1300 (NZDT) Original-Received: by totara (Postfix, from userid 1000) id 7E092C080; Mon, 23 Mar 2009 22:46:21 +1300 (NZDT) In-Reply-To: <87k56h7367.fsf@sphinx.net.ru> X-Mailer: VM 7.19 under Emacs 22.2.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109791 Archived-At: Hi Dmitry. > I am interested in participating in Summer of Code this year, willing to > contribute to Emacs and I'm looking for mentor, advice and more > information about Emacs GDB/MI migration project, listed on GNU ideas > page [1]. I proposed this project and have volunteered to mentor it. > Although Emacs todo list has a lot of items, but I'm particularly > interested in this project because I have some experience in creating > Emacs interface to external programs (I maintain a very small package > emacs-shellfm [2]), which may be helpful in my future project. I'm > familiar with GDB itself as well, having used it to debug some of my C > code and even Emacs itself once (see Emacs bug 773). It's good that you are already involved in free software. > I haven't studied the existing codebase (gdb-ui and gdb-mi packages) > thoroughly yet, so I'm unsure about complexity of this project, however, > I understand how such packages are organized and work generally. I guess the main goal of the project is to produce an Emacs mode that wholly uses GDB/MI and is comparable to the existing mode which is based on annotations. This should be achievable without prior knowledge, but the project could go beyond that and take advantage of new features of GDB that are only available to GDB/MI, such as non-stop mode for multi-threaded targets. Ultimately I guess I'm looking for someone who would want to contribute after Summer of Code has finished, although this isn't a requirement, of course. > Certainly participating in this project will get me in closer touch with > all debugging packages Emacs has, which will probably allow me to do > some work on refactoring them (which is a bigger project also listed on > [1]) in future. > > Looking forward to hearing your comments and advice. A good start would be to experiment with gdb in a recent version of Emacs, or preferably from the CVS repository at Savannah. It would also be a good idea to get the gdb-mi package from ELPA. The Emacs (and Elisp) info manuals and the Gdb info manuals will be useful. You can start to understand how Emacs interacts with Gdb by running gdb from the command line, i.e., a terminal using the relevant options, i.e., gdb --annotate=3 myprog and gdb -i=mi myprog Thanks for showing interest in this project. -- Nick http://www.inet.net.nz/~nickrob