Re: [PATCH] Fix GDB build when using --disable-gdbmi

Tom Tromey
2019-05-10T18:48:10Z

>>>>> "Simon" == Simon Marchi <simon.marchi@efficios.com> writes:

Simon> To fix it, I added a config.h macro, HAVE_GDBMI, defined if we build
Simon> with GDB/MI support. We can then use it in breakpoint.c to
Simon> conditionally use mi_multi_location_breakpoint_output_fixed. If
Simon> building without GDB/MI, the value of use_fixed_output is not really
Simon> important, as it is only used to fix an issue when printing breakpoints
Simon> in MI.

I'm not sure if it's better or not, but ui_out has a "flags" feature
that could be applied to this. This would mean not having to have a #if.

Tom