unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* GSoC and GDB/MI migration in Emacs
@ 2009-03-22 19:44 Dmitry Dzhus
  2009-03-23  9:46 ` Nick Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Dzhus @ 2009-03-22 19:44 UTC (permalink / raw)
  To: emacs-devel; +Cc: dima

Greetings to all!

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].

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).

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.

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.

[1]: http://www.gnu.org/software/soc-projects/ideas.html
[2]: http://www.emacswiki.org/emacs/emacs-shellfm

-- 
http://sphinx.net.ru^ permalink raw reply	[flat|nested] 2+ messages in thread

* GSoC and GDB/MI migration in Emacs
  2009-03-22 19:44 GSoC and GDB/MI migration in Emacs Dmitry Dzhus
@ 2009-03-23  9:46 ` Nick Roberts
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 2009-03-23  9:46 UTC (permalink / raw)
  To: Dmitry Dzhus; +Cc: emacs-devel

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-23  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-22 19:44 GSoC and GDB/MI migration in Emacs Dmitry Dzhus
2009-03-23  9:46 ` Nick Roberts

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).