Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Bob Rossi <bob@brasko.net>
Cc: gdb@sourceware.org
Subject: Re: gdb/mi or python interface for front end
Date: Fri, 23 Aug 2013 14:07:00 -0000	[thread overview]
Message-ID: <20130823140747.GN5147@adacore.com> (raw)
In-Reply-To: <20130823005118.GA8847@bob-VirtualBox>

> I'm interested in improving the CGDB front end to GDB.
> 
> I would like some advice. It currently uses annotate level 2
> for communication. Should I look into gdb/mi or should i look
> into scripting gdb with the python interface?
> 
> Any pointers would be helpful.

I hope others who have more actual knowledge will answer, but
in case no one else does, my first reaction would be to look
into GDB/MI, because that's the interface that was designed
to be used by front ends. The Python API is getting very versatile,
but I don't know if it is going to provide everything you need
nor whether it'll be convenient to use. In particular, sending
commands, getting the output (with stdout and stderr separated),
etc.

-- 
Joel


      parent reply	other threads:[~2013-08-23 14:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23  0:51 Bob Rossi
2013-08-23 14:03 ` Tom Tromey
2013-09-03  1:29   ` Bob Rossi
2013-09-03 21:25     ` Phil Muldoon
2013-09-03 23:37     ` Doug Evans
2013-08-23 14:07 ` Joel Brobecker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130823140747.GN5147@adacore.com \
    --to=brobecker@adacore.com \
    --cc=bob@brasko.net \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox