Re: [mi] organize possible exec async mi oc command reasons

Bob Rossi
2005-06-15T20:03:21Z

On Wed, Jun 15, 2005 at 08:30:04PM +0100, David Lecomber wrote:
> Dear all,
>
> Since this commit, it's now no longer possible to build with ./configure
> --disable-gdbmi. The reason is failure to link because it doesn't find
> async_reason_lookup.
>
> Can I propose we disable that configure option, or are there some
> platforms where mi doesn't build? Patch to follow if we're all in
> agreement.
>
> Regards
> David

Oops, sorry. Well, I don't know of any need for the option, and support
removing it. Although, I you'll obviously have to wait for a maintainer.

Bob Rossi

> On Thu, 2005-03-24 at 16:20 -0500, Bob Rossi wrote:
> [..]
> > Here is an updated patch, without the testsuite concerns.
> >
> > Eli, I hope this doco patch makes more sense, please let me know.
> >
> > 2005-03-24 Bob Rossi <bob@brasko.net>
> > * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS): Add mi-common.
> > (gdb/mi/ headers): Add mi_common_h.
> > (breakpoint.o, infrun.o): Add dependencies mi_common_h.
> > * breakpoint.c (include): Add include 'mi/mi-common.h'.
> > (print_it_typical): Use async_reason_lookup.
> > (watchpoint_check): Ditto.
> > * infrun.c (include): Add include 'mi/mi-common.h'.
> > (print_stop_reason): Use async_reason_lookup.
> >
> > 2005-03-24 Bob Rossi <bob@brasko.net>
> >
> > * gdb.texinfo (GDB/MI Out-of-band Records): Add bullet enumerating
> > the possible reasons why an exec async record would be returned to FE.
> [..]
> --
> David Lecomber <david@allinea.com>