From: Brendan Simon <brendan@dgs.monash.edu.au>
To: Stan Shebs <shebs@cygnus.com>
Cc: gdb@sourceware.cygnus.com
Subject: Re: Library interface to GDB
Date: Mon, 07 Jun 1999 17:42:00 -0000 [thread overview]
Message-ID: <375C6594.289E0D94@dgs.monash.edu.au> (raw)
In-Reply-To: <199906080013.RAA11485@andros.cygnus.com>
Stan Shebs wrote:
> There were actually two projects that went on - one was Cygnus' first
> attempt to build a GUI (which failed to produce anything usable and
> was killed off), and then later Cygnus had a contract to enable GDB
> to work as a component of a fancy parallel debugging system. For both
> of these "libgdb" was a nice-to-have, not a requirement, so you ended
> up with the situation you see now, where things were started but not
> finished.
>
> So right now libgdb work is in limbo. Since I figured it would
> restart someday, I left the docs and other bits in, so people wouldn't
> have to reinvent any wheels. There seems to be a resurgence of
> interest in adding different kinds of frontends to GDB, so this seems
> like a good time to get moving on it again...
>
> Basically I want to write a GNOME frontend for gdb, but not just
> "yet another gdb frontend", but *the* gdb frontend. Ideally it should
> export all its functionallity through CORBA so you can also use it in
> other projects like GNU Emacs, KDE or whatever.
>
> The GNU project would like to see somebody do the GDB + Guile + gtk +
> Gnome combination, so if you work on that, you will have people
> cheering you on. An internal GDB API ("libgdb") is not a base
> requirement for this, but to me is simply good software engineering -
> since you will end up with both a command-line interface and a
> compiled-in GUI, libgdb will be the result of factoring the code into
> interface and debugger subsystems.
>
> As for the design of the API, Ovidiu's message is a good discussion of
> a key point, namely, that the API should be object-oriented. Not in a
> literal sense, since there needs to be a plain C implementation of it,
> but logically, since GDB maintains large amounts of internal state,
> and a reasonable API would be expressed in terms of operations on the
> objects that make up that state.
How do other GUIs (DDD, VIDE, etc) currently interface with GDB ?
Through a library interface (shared or static) ?
Through operating system inter-process communications ?
By faking user input command lines ?
Some other means which is beyond my limited mind to think of ?
I would have thougt that libgdb would be the obvious choice but if it has been in
limbo for a while then there must be another method.
Brendan Simon.
next prev parent reply other threads:[~1999-06-07 17:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-27 14:13 Martin Baulig
1999-05-27 23:03 ` Andrew Cagney
[not found] ` <87ogj6uqq1.fsf@cygnus.com>
[not found] ` <w53pv3mnoor.fsf@mystra.davec.dhs.org>
[not found] ` <863e0i9key.fsf@localhost.uni-trier.de>
1999-05-27 21:52 ` Greg Watson
1999-06-01 1:13 ` Magdalena Sujecka
1999-06-07 17:13 ` Stan Shebs
1999-06-07 17:42 ` Brendan Simon [this message]
1999-06-07 17:49 ` Stan Shebs
[not found] <199905272336.QAA03287@hpcll563.cup.hp.com>
1999-05-27 18:57 ` Brendan Simon
[not found] <199906082353.QAA23739@alabama.wrs.com>
1999-06-10 17:00 ` J.T. Conklin
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=375C6594.289E0D94@dgs.monash.edu.au \
--to=brendan@dgs.monash.edu.au \
--cc=gdb@sourceware.cygnus.com \
--cc=shebs@cygnus.com \
/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