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

David Lecomber
2005-06-15T19:25:33Z

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

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>