This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB C API -- does such a thing exist?
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Ãmer Sinan AÄacan <omeragacan at gmail dot com>, Stan Shebs <stanshebs at earthlink dot net>, gdb <gdb at sourceware dot org>
- Date: Fri, 17 Oct 2014 05:28:59 -0700
- Subject: Re: GDB C API -- does such a thing exist?
- Authentication-results: sourceware.org; auth=none
- References: <CAMQQO3=gR_6=D__Q_rn2Q8LQmE+bdokhAmbKh6fEkkNMH42fxA at mail dot gmail dot com> <5440588D dot 8060503 at earthlink dot net> <CAMQQO3nWoGCjgQOdzhR5U53pb-PjaZ+eJJaqghkNW62phMjbew at mail dot gmail dot com> <20141017120555 dot GC7123 at host2 dot jankratochvil dot net>
Jan,
> On Fri, 17 Oct 2014 14:02:50 +0200, Jan Kratochvil wrote:
> # MI implements only very poor subset of GDB functionality
> # so one has to use '-interpreter-exec console ...' anyway and parse the
> # unparsable text output.
>
> There is a theoretical suggestion that people should implement into
> GDB anything they miss. But contributability to GDB is difficult for
> many reasons besides that it is just an additional barrier to write an
> MI client (when one has to write also the MI server along).
My experience of contributing to GDB/MI does not match yours.
When I worked with the IDE team at AdaCore on GDB/MI, they identified
a number of missing failures, and implementation was both easy and
contribution went well.
--
Joel