{"push_id":1419545046,"size":9,"distinct_size":9,"ref":"refs/heads/cxx-ui-out","head":"5fa95fe66b7cb0f8da7899a8580eb24514d88f06","before":"3bec394e928a7d247491c0374335e7601cc5431c","commits":[{"sha":"302fe33418e72371de33e1895c9138b90073b353","author":{"name":"Simon Marchi","email":"64f757e6d553be2119779d07ae9f1dc4014e138f@polymtl.ca"},"message":"Use std::string for ui_out_hdr's text fields\n\nThis patch makes ui_out_hdr use std::string for its text fields.  It\nmakes freeing automatic when the object is deleted.\n\ngdb/ChangeLog:\n\n\t* mi/mi-out.c (mi_table_header): Change char * args to\n\tstd::string.\n\t* cli-out.c (cli_table_header): Likewise.\n\t* ui-out.h (table_header_ftype): Likewise.\n\t(ui_out_table_header): Constify colhdr argument.\n\t(ui_out_query_field): Constify col_name argument.\n\t* ui-out.c (ui_out_hdr) <col_name, colhdr>: Change type to\n\tstd::string.\n\t(uo_table_header): Change char * args to std::string.\n\t(ui_out_table_header): Likewise.\n\t(get_next_header): Constify colhdr argument and adapt.\n\t(clear_header_list): Don't free col_name/colhdr fields.\n\t(append_header_to_list): Change char * args to std::string and\n\tadapt.\n\t(verify_field): Constify variable.\n\t(ui_out_query_field): Constify col_name argument and adapt.\n\t* breakpoint.c (wrap_indent_at_field): Constify variable.","distinct":true,"url":"https://api.github.com/repos/simark/binutils-gdb/commits/302fe33418e72371de33e1895c9138b90073b353"},{"sha":"153c9955e5857001567605550200f20a1a67eb82","author":{"name":"Simon Marchi","email":"64f757e6d553be2119779d07ae9f1dc4014e138f@polymtl.ca"},"message":"Class-ify ui_out_hdr\n\nThis patch makes ui_out_hdr (the object that represents an ui-out table\nheader) a proper C++ class.  No behavior changes, it's all about\nencapsulation.\n\ngdb/ChangeLog:\n\n\t* ui-out.c (struct ui_out_hdr): Replace with ...\n\t(class ui_out_hdr): ... this.\n\t(append_header_to_list): Update.\n\t(get_next_header): Update.\n\t(ui_out_query_field): Update.","distinct":true,"url":"https://api.github.com/repos/simark/binutils-gdb/commits/153c9955e5857001567605550200f20a1a67eb82"},{"sha":"42f890d24c692f5b7949e552e0d7f39adddd1a8d","author":{"name":"Simon Marchi","email":"64f757e6d553be2119779d07ae9f1dc4014e138f@polymtl.ca"},"message":"Class-ify ui_out_level\n\nThis patch changes struct ui_out_level to be a real C++ class.  No\nbehavioral changes.\n\ngdb/ChangeLog:\n\n\t* ui-out.c (struct ui_out_level): Replace with ...\n\t(class ui_out_level): ... this.\n\t(current_level): Update.\n\t(push_level): Update.\n\t(pop_level): Update.\n\t(verify_field): Update.\n\t(ui_out_new): Update.","distinct":true,"url":"https://api.github.com/repos/simark/binutils-gdb/commits/42f890d24c692f5b7949e552e0d7f39adddd1a8d"},{"sha":"3dd4530e1695d86a84bece27e880341c7ea379ba","author":{"name":"Simon Marchi","email":"64f757e6d553be2119779d07ae9f1dc4014e138f@polymtl.ca"},"message":"Simplify ui-out level code\n\nNow that we use a vector to store the levels, we don't have to keep a\nseparate level field in ui_out to keep track of the current level.  We\ncan efficiently derive it from the vector size.  That causes a little\nchange in the meaning of the level, as in they are now 1-based instead\nof 0-based (the initial level has the \"id\" 1 now), but it shouldn't\nchange anything in the behavior.\n\nAdditionally, push_level and pop_level don't really need to return the\nnew level, making them return void simplifies the code a bit.\n\nFinally, the ui_out_begin/ui_out_end callbacks in the ui_out_impl\ninterface don't need to be passed the level, it's never actually used.\n\ngdb/ChangeLog:\n\n\t* ui-out.h (ui_out_begin_ftype): Remove level parameter.\n\t(ui_out_end_ftype): Likewise.\n\t* ui-out.c (struct ui_out) <level>: Replace field with a method\n\tthat dynamically computes the result.\n\t(current_level): Get vector's back item instead of using\n\tuiout->level.\n\t(push_level): Make return type void.\n\t(pop_level): Make return type void and update access to\n\tui_out::level.\n\t(uo_begin): Remove level parameter.\n\t(uo_end): Likewise.\n\t(ui_out_table_begin): Update access to uiout::level.\n\t(ui_out_begin): Don't read return value from push_level, call\n\tuiout->level() instead, update call to uo_begin.\n\t(ui_out_end): Don't read return value from pop_level, update\n\tcall to uo_end.\n\t(verify_field): Update access to uiout->level.\n\t(ui_out_new): Don't initialize ui_out::level, call push_level\n\tto push the initial level instead of doing it by hand.\n\t* cli-out.c (cli_begin): Remove level parameter.\n\t(cli_end): Likewise.\n\t* mi/mi-out.c (mi_begin): Likewise.\n\t(mi_end): Likewise.","distinct":true,"url":"https://api.github.com/repos/simark/binutils-gdb/commits/3dd4530e1695d86a84bece27e880341c7ea379ba"},{"sha":"c8186c1613087c4871ad0fe9b5ccb10ed0a8f9f4","author":{"name":"Simon Marchi","email":"64f757e6d553be2119779d07ae9f1dc4014e138f@polymtl.ca"},"message":"ui_out_table: Replace boolean flag with enum\n\nThis patch is just a little cleanup, it replaces the body_flag field of\nui_out_table with an enum.  It expresses more explicitly the\nintent of the field (check that state == TABLE_STATE_HEADERS conveys\nmore what we want to do than checking for !body_flag).\n\ngdb/ChangeLog:\n\n\t* ui-out.c (enum ui_out_table_state): New enum.\n\t(struct ui_out_table) <body_flag>: Remove field.\n\t<state>: New field.\n\t(ui_out_table_begin): Replace usages of body_flag with state.\n\t(ui_out_table_body): Likewise.\n\t(ui_out_table_end): Likewise.\n\t(ui_out_table_header): Likewise.\n\t(ui_out_begin): Likewise.\n\t(verify_field): Likewise.\n\t(ui_out_new): Likewise.","distinct":true,"url":"https://api.github.com/repos/simark/binutils-gdb/commits/c8186c1613087c4871ad0fe9b5ccb10ed0a8f9f4"},{"sha":"b679829f83f042ae3e3c150bdf27ab4d929d4578","author":{"name":"Simon Marchi","email":"64f757e6d553be2119779d07ae9f1dc4014e138f@polymtl.ca"},"message":"Class-ify ui_out_impl\n\nThis patch makes the ui_out_impl implementations an actual class\nhierarchy, instead of an array of function pointers.\n\ngdb/ChangeLog:\n\n\t* ui-out.h (class ui_out_impl_base): New class, based on now removed\n\tstruct ui_out_impl.\n\t(table_begin_ftype): Remove, replace with pure virtual method in\n\tclass ui_out_impl_base.\n\t(table_body_ftype): Likewise.\n\t(table_end_ftype): Likewise.\n\t(table_header_ftype): Likewise.\n\t(ui_out_begin_ftype): Likewise.\n\t(ui_out_end_ftype): Likewise.\n\t(field_int_ftype): Likewise.\n\t(field_skip_ftype): Likewise.\n\t(field_string_ftype): Likewise.\n\t(field_fmt_ftype): Likewise.\n\t(spaces_ftype): Likewise.\n\t(text_ftype): Likewise.\n\t(message_ftype): Likewise.\n\t(wrap_hint_ftype): Likewise.\n\t(flush_ftype): Likewise.\n\t(redirect_ftype): Likewise.\n\t(data_destroy_ftype): Likewise.\n\t(struct ui_out_impl): Remove.\n\t(ui_out_data): Remove.\n\t(ui_out_new): Change type of parameter impl, remove parameter\n\tdata, add default value to parameter flags.\n\t(ui_out_impl): New function.\n\t(uo_field_string): Move declaration to ui-out.c.\n\t* ui-out.c (struct ui_out) <impl>: Change type to unique_ptr to\n\tui_out_impl_base.\n\t<data>: Remove.\n\t(uo_field_string): Move declaration from ui-out.h.\n\t(ui_out_is_mi_like_p): Update to call virtual method.\n\t(uo_table_begin): Remove null check, update call to virtual\n\tmethod.\n\t(uo_table_body): Likewise.\n\t(uo_table_end): Likewise.\n\t(uo_table_header): Likewise.\n\t(uo_begin): Likewise.\n\t(uo_end): Likewise.\n\t(uo_field_int): Likewise.\n\t(uo_field_skip): Likewise.\n\t(uo_field_string): Likewise.\n\t(uo_field_fmt): Likewise.\n\t(uo_spaces): Likewise.\n\t(uo_text): Likewise.\n\t(uo_message): Likewise.\n\t(uo_wrap_hint): Likewise.\n\t(uo_flush): Likewise.\n\t(uo_redirect): Likewise.\n\t(ui_out_data): Remove.\n\t(ui_out_new): Change type of parameter impl, remove parameter\n\tdata, add default value to parameter flags.  Update assignment\n\tto unique_ptr\n\t(ui_out_impl): New function.\n\t* cli-out.h (cli_ui_out_data): Remove, replace with class\n\tcli_ui_out_impl.\n\t(class cli_ui_out_impl): New class.\n\t(cli_ui_out_impl): Remove global variable.\n\t(cli_out_data_ctor): Remove.\n\t* cli-out.c (cli_out_data): Remove.\n\t(cli_uiout_dtor): Remove.\n\t(cli_table_begin): Replace with ...\n\t(cli_ui_out_impl::table_begin): ... this new method.\n\t(cli_table_body): Replace with ...\n\t(cli_ui_out_impl::table_body): ... this new method.\n\t(cli_table_end): Replace with ...\n\t(cli_ui_out_impl::table_end): ... this new method.\n\t(cli_table_header): Replace with ...\n\t(cli_ui_out_impl::table_header): ... this new method.\n\t(cli_begin): Replace with ...\n\t(cli_ui_out_impl::begin): ... this new method.\n\t(cli_end): Replace with ...\n\t(cli_ui_out_impl::table_end): ... this new method.\n\t(cli_field_int): Replace with ...\n\t(cli_ui_out_impl::field_int): ... this new method.\n\t(cli_field_skip): Replace with ...\n\t(cli_ui_out_impl::field_skip): ... this new method.\n\t(cli_field_string): Replace with ...\n\t(cli_ui_out_impl::field_string): ... this new method.\n\t(cli_field_fmt): Replace with ...\n\t(cli_ui_out_impl::field_fmt): ... this new method.\n\t(cli_spaces): Replace with ...\n\t(cli_ui_out_impl::spaces): ... this new method.\n\t(cli_text): Replace with ...\n\t(cli_ui_out_impl::text): ... this new method.\n\t(cli_message): Replace with ...\n\t(cli_ui_out_impl::message): ... this new method.\n\t(cli_wrap_hint): Replace with ...\n\t(cli_ui_out_impl::wrap_hint): ... this new method.\n\t(cli_flush): Replace with ...\n\t(cli_ui_out_impl::flush): ... this new method.\n\t(cli_redirect): Replace with ...\n\t(cli_ui_out_impl::redirect): ... this new method.\n\t(out_field_fmt): Replace with ...\n\t(cli_ui_out_impl::out_field_fmt): ... this new method.\n\t(field_separator): Replace with ...\n\t(cli_ui_out_impl::field_separator): ... this new method.\n\t(cli_ui_out_impl): Remove.\n\t(cli_out_data_ctor): Remove.\n\t(cli_ui_out_impl::cli_ui_out_impl): New constructor.\n\t(cli_ui_out_impl::~cli_ui_out_impl): New destructor.\n\t(cli_out_new): Instantiate\n\t(cli_field_string): Likewise.\n\t(cli_redirect): Likewise.\n\t(cli_out_data_ctor): Likewise.\n\t* mi/mi-out.c (UNKNOWN): Likewise.\n\t(mi_field_skip): Likewise.\n\t(mi_field_string): Likewise.\n\t(mi_field_fmt): Likewise.\n\t(mi_out_put): Likewise.\n\t(mi_out_data_dtor): Likewise.\n\t(mi_ui_out_impl_from): New function.\n\t* mi/mi-out.h (UNKNOWN): Likewise.\n\t* tui/tui-out.c (UNKNOWN): Likewise.","distinct":true,"url":"https://api.github.com/repos/simark/binutils-gdb/commits/b679829f83f042ae3e3c150bdf27ab4d929d4578"},{"sha":"359fd32a8e065a7c6575d99444f65018d451339c","author":{"name":"Simon Marchi","email":"64f757e6d553be2119779d07ae9f1dc4014e138f@polymtl.ca"},"message":"Class-ify ui_out_table\n\nThis patch makes a class out of the ui_out_table structure, the\nstructure responsible for managing the generation of an UI table.\n\nTo simplify the ui_out_table object, I changed it so that it can only be\nused for generating a single object.  Instead of clearing the header\nlist when starting a new table, we an ui_out_table when starting a\ntable and delete it when we're done.  Therefore, the checks:\n\n  if (uiout->table->flag)\n  if (!uiout->table->flag)\n\nare respectively replaced with\n\n  if (uiout->table != nullptr)\n  if (uiout->table == nullptr)\n\nNote: I removed the check at the beginning of ui_out_begin, because\nthere is an equivalent check at the beginning of verify_field.\n\ngdb/ChangeLog:\n\n\t* ui-out.c (enum ui_out_table_state): Move to class\n\tui_out_table.\n\t(struct ui_out_table): Change to ...\n\t(class ui_out_table): ... this.\n\t<flag>: Remove.\n\t<entry_level>: Rename to ...\n\t<m_entry_level>: ... this.\n\t<columns>: Rename to ...\n\t<m_nr_cols>: ... this.\n\t<id>: Rename to ...\n\t<m_id>: ... this.\n\t<headers>: Rename to ...\n\t<m_headers>: ... this.\n\t<headers_iterator>: Rename to ...\n\t<m_headers_iterator>: ... this.\n\t<start_body, append_header, start_row, get_next_header,\n\tquery_field, current_state, entry_level>: New methods.\n\t(struct ui_out) <table>: Change type to unique_ptr to\n\tui_out_table.\n\t(append_header_to_list, get_next_header, clear_header_list,\n\tclear_table): Remove.\n\t(ui_out_table_begin): Instantiate ui_out_table object.  Update\n\ttable check.\n\t(ui_out_table_body): Update table check, replace code with call\n\tto ui_out_table::start_body.\n\t(ui_out_table_end): Update table check, replace manual cleanup\n\twith assignment of uiout->table unique_ptr to nullptr.\n\t(ui_out_table_header): Update table check, replace call to\n\tappend_header_to_list with call to append_header method.\n\t(ui_out_begin): Remove one table state check, update another.\n\tReplace code with call to start_row method.\n\t(verify_field): Update table checks.\n\t(ui_out_query_field): Update table check, replace code with call\n\tto query_field method.\n\t(ui_out_new): Remove table initialization code.","distinct":true,"url":"https://api.github.com/repos/simark/binutils-gdb/commits/359fd32a8e065a7c6575d99444f65018d451339c"},{"sha":"65aa61dae0339ead250ebe0cec7d2c5ceeaef30d","author":{"name":"Simon Marchi","email":"64f757e6d553be2119779d07ae9f1dc4014e138f@ericsson.com"},"message":"Class-ify ui_out\n\nThis is the big one.  It changes struct ui_out to be a real C++ class,\nand fixes the fallouts of that.\n\ngdb/ChangeLog:\n\n\t* ui-out.h (ui_out_begin, ui_out_end, ui_out_table_header,\n\tui_out_table_body,  ui_out_field_int, ui_out_field_fmt_int,\n\tui_out_field_core_addr, ui_out_field_string, ui_out_field_stream,\n\tui_out_field_fmt, ui_out_field_skip, ui_out_spaces, ui_out_text,\n\tui_out_message, ui_out_wrap_hint, ui_out_flush, ui_out_test_flags,\n\tui_out_query_field, ui_out_is_mi_like_p, ui_out_impl, ui_out_redirect):\n\tRemove, replace with a method in class ui_out.\n\t(ui_out_new): Remove.\n\t(ui_out_level): Move from ui-out.c.\n\t(class ui_out): New class.\n\t(current_level): Replace with ...\n\t(ui_out::current_level): ... this.\n\t(push_level): Replace with ...\n\t(ui_out::push_level): ... this.\n\t(pop_level): Replace with ...\n\t(ui_out::pop_level): ... this.\n\t(uo_table_begin, uo_table_body, uo_table_end, uo_table_header,\n\tuo_begin, uo_end, uo_field_int, uo_field_skip, uo_field_fmt,\n\tuo_spaces, uo_text, uo_message, uo_wrap_hint, uo_flush,\n\tuo_redirect, uo_field_string): Remove.\n\t(ui_out_table_begin): Replace with ...\n\t(ui_out::table_begin): ... this.\n\t(ui_out_table_body): Replace with ...\n\t(ui_out::table_body): ... this.\n\t(ui_out_table_end): Replace with ...\n\t(ui_out::table_end): ... this.\n\t(ui_out_table_header): Replace with ...\n\t(ui_out::table_header): ... this.\n\t(ui_out_begin): Replace with ...\n\t(ui_out::begin): ... this.\n\t(ui_out_end): Replace with ...\n\t(ui_out::end): ... this.\n\t(ui_out_field_int): Replace with ...\n\t(ui_out::field_int): ... this.\n\t(ui_out_field_fmt_int): Replace with ...\n\t(ui_out::field_fmt_int): ... this.\n\t(ui_out_field_core_addr): Replace with ...\n\t(ui_out::field_core_addr): ... this.\n\t(ui_out_field_stream): Replace with ...\n\t(ui_out::field_stream): ... this.\n\t(ui_out_field_skip): Replace with ...\n\t(ui_out::field_skip): ... this.\n\t(ui_out_field_string): Replace with ...\n\t(ui_out::field_string): ... this.\n\t(ui_out_field_fmt): Replace with ...\n\t(ui_out::field_fmt): ... this.\n\t(ui_out_spaces): Replace with ...\n\t(ui_out::spaces): ... this.\n\t(ui_out_text): Replace with ...\n\t(ui_out::text): ... this.\n\t(ui_out_message): Replace with ...\n\t(ui_out::message): ... this.\n\t(ui_out_wrap_hint): Replace with ...\n\t(ui_out::wrap_hint): ... this.\n\t(ui_out_flush): Replace with ...\n\t(ui_out::flush): ... this.\n\t(ui_out_redirect): Replace with ...\n\t(ui_out::redirect): ... this.\n\t(ui_out_test_flags): Replace with ...\n\t(ui_out::test_flags): ... this.\n\t(ui_out_is_mi_like_p): Replace with ...\n\t(ui_out::is_mi_like_p): ... this.\n\t(verify_field): Replace with ...\n\t(ui_out::verify_field): ... this.\n\t(ui_out_query_field): Replace with ...\n\t(ui_out::query_field): ... this.\n\t(ui_out_new): Remove, replace with ...\n\t(ui_out::ui_out): ... this constructor.\n\t(ui_out_impl): Replace with ...\n\t(ui_out::impl): ... this.\n\t(do_cleanup_table_end, make_cleanup_ui_out_tuple_begin_end,\n\tdo_cleanup_end, make_cleanup_ui_out_tuple_begin_end,\n\tmake_cleanup_ui_out_list_begin_end): Update fallouts of struct\n\tui_out -> class ui_out change.\n\t* ui-out.c (ui_out_level): Move to ui-out.h.\n\t(struct ui_out): Remove, replace with class ui_out.\n\t* cli-out.c (cli_out_new): Contruct ui_out using constructor.\n\t(cli_out_set_stream): Update fallouts of struct ui_out to class\n\tui_out transition.\n\t* cli-out.h (cli_out_new): Change return type from struct\n\tui_out* to ui_out*.\n\t* mi/mi-out.c (mi_out_new): Construct ui_out using constructor.\n\t(mi_version): Update fallouts of struct ui_out to class ui_out\n\ttransition.\n\t(mi_out_put): Likewise.\n\t(mi_out_rewind): Likewise.\n\t* tui/tui-out.c (tui_out_new): Construct ui_out using\n\tconstructor.\n\t* tui/tui.h (extern): Change return type from struct ui_out* to\n\tui_out*.\n\t* ada-lang.c (print_it_exception): Update fallouts of struct\n\tui_out to class ui_out transition.\n\t(print_one_exception): Likewise.\n\t(print_mention_exception): Likewise.\n\t* ada-tasks.c (print_ada_task_info): Likewise.\n\t(info_task): Likewise.\n\t(task_command): Likewise.\n\t* auto-load.c (print_script): Likewise.\n\t(auto_load_info_scripts): Likewise.\n\t(info_auto_load_cmd): Likewise.\n\t* break-catch-sig.c (signal_catchpoint_print_one): Likewise.\n\t* break-catch-syscall.c (print_it_catch_syscall): Likewise.\n\t(print_one_catch_syscall): Likewise.\n\t* break-catch-throw.c (print_it_exception_catchpoint): Likewise.\n\t(print_one_exception_catchpoint): Likewise.\n\t(print_one_detail_exception_catchpoint): Likewise.\n\t(print_mention_exception_catchpoint): Likewise.\n\t* breakpoint.c (maybe_print_thread_hit_breakpoint): Likewise.\n\t(print_solib_event): Likewise.\n\t(watchpoint_check): Likewise.\n\t(wrap_indent_at_field): Likewise.\n\t(print_breakpoint_location): Likewise.\n\t(output_thread_groups): Likewise.\n\t(print_one_breakpoint_location): Likewise.\n\t(breakpoint_1): Likewise.\n\t(default_collect_info): Likewise.\n\t(watchpoints_info): Likewise.\n\t(print_it_catch_fork): Likewise.\n\t(print_one_catch_fork): Likewise.\n\t(print_it_catch_vfork): Likewise.\n\t(print_one_catch_vfork): Likewise.\n\t(print_it_catch_solib): Likewise.\n\t(print_one_catch_solib): Likewise.\n\t(print_it_catch_exec): Likewise.\n\t(print_one_catch_exec): Likewise.\n\t(mention): Likewise.\n\t(print_it_ranged_breakpoint): Likewise.\n\t(print_one_ranged_breakpoint): Likewise.\n\t(print_one_detail_ranged_breakpoint): Likewise.\n\t(print_mention_ranged_breakpoint): Likewise.\n\t(print_it_watchpoint): Likewise.\n\t(print_mention_watchpoint): Likewise.\n\t(print_it_masked_watchpoint): Likewise.\n\t(print_one_detail_masked_watchpoint): Likewise.\n\t(print_mention_masked_watchpoint): Likewise.\n\t(bkpt_print_it): Likewise.\n\t(tracepoint_print_one_detail): Likewise.\n\t(tracepoint_print_mention): Likewise.\n\t(update_static_tracepoint): Likewise.\n\t(tracepoints_info): Likewise.\n\t(save_breakpoints): Likewise.\n\t* cli/cli-cmds.c (complete_command): Likewise.\n\t* cli/cli-logging.c (set_logging_redirect): Likewise.\n\t(pop_output_files): Likewise.\n\t(handle_redirections): Likewise.\n\t* cli/cli-script.c (print_command_lines): Likewise.\n\t* cli/cli-setshow.c (do_show_command): Likewise.\n\t(cmd_show_list): Likewise.\n\t* cp-abi.c (list_cp_abis): Likewise.\n\t(show_cp_abi_cmd): Likewise.\n\t* darwin-nat-info.c (darwin_debug_regions_recurse): Likewise.\n\t* disasm.c (gdb_pretty_print_insn): Likewise.\n\t(do_mixed_source_and_assembly_deprecated): Likewise.\n\t(do_mixed_source_and_assembly): Likewise.\n\t* gdb_bfd.c (print_one_bfd): Likewise.\n\t(maintenance_info_bfds): Likewise.\n\t* guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Likewise.\n\t* guile/scm-ports.c (ioscm_with_output_to_port_worker): Likewise.\n\t* i386-linux-tdep.c (i386_linux_handle_segmentation_fault): Likewise.\n\t* i386-tdep.c (i386_mpx_print_bounds): Likewise.\n\t* infcmd.c (run_command_1): Likewise.\n\t(print_return_value_1): Likewise.\n\t* inferior.c (print_selected_inferior): Likewise.\n\t(print_inferior): Likewise.\n\t* infrun.c (print_end_stepping_range_reason): Likewise.\n\t(print_signal_exited_reason): Likewise.\n\t(print_exited_reason): Likewise.\n\t(print_signal_received_reason): Likewise.\n\t(print_no_history_reason): Likewise.\n\t* interps.c (interp_set): Likewise.\n\t* linespec.c (decode_line_full): Likewise.\n\t* linux-thread-db.c (info_auto_load_libthread_db): Likewise.\n\t* mi/mi-cmd-env.c (mi_cmd_env_pwd): Likewise.\n\t(mi_cmd_env_path): Likewise.\n\t(mi_cmd_env_dir): Likewise.\n\t(mi_cmd_inferior_tty_show): Likewise.\n\t* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Likewise.\n\t(print_partial_file_name): Likewise.\n\t(mi_cmd_file_list_exec_source_files): Likewise.\n\t* mi/mi-cmd-info.c (mi_cmd_info_ada_exceptions): Likewise.\n\t(mi_cmd_info_gdb_mi_command): Likewise.\n\t* mi/mi-cmd-stack.c (mi_cmd_stack_info_depth): Likewise.\n\t(mi_cmd_stack_list_args): Likewise.\n\t(list_arg_or_local): Likewise.\n\t* mi/mi-cmd-var.c (print_varobj): Likewise.\n\t(mi_cmd_var_create): Likewise.\n\t(mi_cmd_var_delete): Likewise.\n\t(mi_cmd_var_set_format): Likewise.\n\t(mi_cmd_var_show_format): Likewise.\n\t(mi_cmd_var_info_num_children): Likewise.\n\t(mi_cmd_var_list_children): Likewise.\n\t(mi_cmd_var_info_type): Likewise.\n\t(mi_cmd_var_info_path_expression): Likewise.\n\t(mi_cmd_var_info_expression): Likewise.\n\t(mi_cmd_var_show_attributes): Likewise.\n\t(mi_cmd_var_evaluate_expression): Likewise.\n\t(mi_cmd_var_assign): Likewise.\n\t(varobj_update_one): Likewise.\n\t* mi/mi-interp.c (as_mi_interp): Likewise.\n\t(mi_on_normal_stop_1): Likewise.\n\t(mi_tsv_modified): Likewise.\n\t(mi_breakpoint_created): Likewise.\n\t(mi_breakpoint_modified): Likewise.\n\t(mi_solib_loaded): Likewise.\n\t(mi_solib_unloaded): Likewise.\n\t(mi_command_param_changed): Likewise.\n\t(mi_memory_changed): Likewise.\n\t(mi_user_selected_context_changed): Likewise.\n\t* mi/mi-main.c (print_one_inferior): Likewise.\n\t(output_cores): Likewise.\n\t(list_available_thread_groups): Likewise.\n\t(mi_cmd_data_list_register_names): Likewise.\n\t(mi_cmd_data_list_changed_registers): Likewise.\n\t(output_register): Likewise.\n\t(mi_cmd_data_evaluate_expression): Likewise.\n\t(mi_cmd_data_read_memory): Likewise.\n\t(mi_cmd_data_read_memory_bytes): Likewise.\n\t(mi_cmd_list_features): Likewise.\n\t(mi_cmd_list_target_features): Likewise.\n\t(mi_cmd_add_inferior): Likewise.\n\t(mi_execute_command): Likewise.\n\t(mi_load_progress): Likewise.\n\t(print_variable_or_computed): Likewise.\n\t(mi_cmd_trace_frame_collected): Likewise.\n\t* mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Likewise.\n\t* osdata.c (info_osdata_command): Likewise.\n\t* probe.c (gen_ui_out_table_header_info): Likewise.\n\t(print_ui_out_not_applicables): Likewise.\n\t(print_ui_out_info): Likewise.\n\t(info_probes_for_ops): Likewise.\n\t(enable_probes_command): Likewise.\n\t(disable_probes_command): Likewise.\n\t* progspace.c (print_program_space): Likewise.\n\t* python/py-breakpoint.c (bppy_get_commands): Likewise.\n\t* python/py-framefilter.c (py_print_type): Likewise.\n\t(py_print_value): Likewise.\n\t(py_print_single_arg): Likewise.\n\t(enumerate_args): Likewise.\n\t(enumerate_locals): Likewise.\n\t(py_print_args): Likewise.\n\t(py_print_frame): Likewise.\n\t* record-btrace.c (btrace_ui_out_decode_error): Likewise.\n\t(btrace_call_history_insn_range): Likewise.\n\t(btrace_call_history_src_line): Likewise.\n\t(btrace_call_history): Likewise.\n\t* remote.c (show_remote_cmd): Likewise.\n\t* skip.c (skip_info): Likewise.\n\t* solib.c (info_sharedlibrary_command): Likewise.\n\t* source.c (print_source_lines_base): Likewise.\n\t* spu-tdep.c (info_spu_event_command): Likewise.\n\t(info_spu_signal_command): Likewise.\n\t(info_spu_mailbox_list): Likewise.\n\t(info_spu_dma_cmdlist): Likewise.\n\t(info_spu_dma_command): Likewise.\n\t(info_spu_proxydma_command): Likewise.\n\t* stack.c (print_stack_frame): Likewise.\n\t(print_frame_arg): Likewise.\n\t(read_frame_arg): Likewise.\n\t(print_frame_args): Likewise.\n\t(print_frame_info): Likewise.\n\t(print_frame): Likewise.\n\t* symfile.c (load_progress): Likewise.\n\t(generic_load): Likewise.\n\t(print_transfer_performance): Likewise.\n\t* thread.c (do_captured_list_thread_ids): Likewise.\n\t(print_thread_info_1): Likewise.\n\t(restore_selected_frame): Likewise.\n\t(do_captured_thread_select): Likewise.\n\t(print_selected_thread_frame): Likewise.\n\t* top.c (execute_command_to_string): Likewise.\n\t* tracepoint.c (tvariables_info_1): Likewise.\n\t(trace_status_mi): Likewise.\n\t(tfind_1): Likewise.\n\t(print_one_static_tracepoint_marker): Likewise.\n\t(info_static_tracepoint_markers_command): Likewise.\n\t* utils.c (do_ui_out_redirect_pop): Likewise.\n\t(fputs_maybe_filtered): Likewise.","distinct":true,"url":"https://api.github.com/repos/simark/binutils-gdb/commits/65aa61dae0339ead250ebe0cec7d2c5ceeaef30d"},{"sha":"5fa95fe66b7cb0f8da7899a8580eb24514d88f06","author":{"name":"Simon Marchi","email":"64f757e6d553be2119779d07ae9f1dc4014e138f@polymtl.ca"},"message":"Introduce enum_flag type for ui_out flags\n\nThis patch changes the ui_out flags to be an enum flag.\n\ngdb/ChangeLog:\n\n\t* ui-out.c (ui_out::test_flags): Change type of parameter to\n\tui_out_flags.\n\t(ui_out::ui_out): Likewise.\n\t* ui-out.h (enum ui_flags): Rename to ...\n\t(enum ui_out_flag): ... this.\n\t(ui_out_flags): Define enum flag type.\n\t(ui_out::ui_out): Change type of parameter to ui_out_flags.\n\t(ui_out::test_flags): Likewise.\n\t(ui_out::m_flags): Likewise.","distinct":true,"url":"https://api.github.com/repos/simark/binutils-gdb/commits/5fa95fe66b7cb0f8da7899a8580eb24514d88f06"}]}
{"actor":{"display_login":"simark"}}