This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] make --disable-gdbmi work
- From: "Doug Evans" <dje at google dot com>
- To: "Aleksandar Ristovski" <aristovski at qnx dot com>
- Cc: "Daniel Jacobowitz" <drow at false dot org>, gdb-patches at sourceware dot org
- Date: Fri, 1 Feb 2008 09:39:47 -0800
- Subject: Re: [patch] make --disable-gdbmi work
- References: <47A23493.5000508@qnx.com> <20080131205719.GA1887@caradoc.them.org> <47A2371C.3020402@qnx.com>
On Jan 31, 2008 1:01 PM, Aleksandar Ristovski <aristovski@qnx.com> wrote:
> Daniel Jacobowitz wrote:
> > On Thu, Jan 31, 2008 at 03:50:27PM -0500, Aleksandar Ristovski wrote:
> >> The attached patch fixes the problem.
> >
> > My opinion is that we don't want this functionality any more. MI used
> > to be optional, but it is a central part of GDB nowadays, and
> > conditional compilation is hard to maintain.
> >
>
> It certainly adds some effort to maintenance, but it's not as bad as it may
> sound, especially since the change is not extensive at all (see the patch).
>
> For embedded systems, it is important to have as small a binary as possible, and
> if we can reduce it with reasonable effort, I would say, why not?
[fwiw]
The patch appeals to the minimalist side in me. And given its trivial
nature, it could go in without formally committing to the intended
goal. If later things get unwieldy we can revisit whether to support
minimal builds then.
btw, do we have automated builds+tests for gdb?