This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> Also it looks like you can't use ui_out_field_string as it prints CLI output > also (when execeution stop, "info threads" etc). Perhaps ui_out_field_stream > does what you need.
Or, more likely, wrap it in:
if (ui_out_is_mi_like_p (uiout)) { ... }
You're right, my patch do much more printing than I expected. I don't want to modify behavior of too much commands.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |