1 1.1 christos 2019-12-30 Tom Tromey <tom (a] tromey.com> 2 1.1 christos 3 1.1 christos * tui/tui-win.c (tui_border_mode_translate) 4 1.1 christos (tui_border_kind_translate_vline, tui_border_kind_translate_hline) 5 1.1 christos (tui_border_kind_translate_ulcorner) 6 1.1 christos (tui_border_kind_translate_urcorner) 7 1.1 christos (tui_border_kind_translate_llcorner) 8 1.1 christos (tui_border_kind_translate_lrcorner, tui_active_border_mode) 9 1.1 christos (tui_border_mode, tui_border_kind): Now static. 10 1.1 christos 11 1.1 christos 2019-12-30 Tom Tromey <tom (a] tromey.com> 12 1.1 christos 13 1.1 christos * tui/tui-interp.c (tui_start_enabled): Now bool. 14 1.1 christos (_initialize_tui_interp): Update. 15 1.1 christos * tui/tui-hooks.c (tui_refreshing_registers): Now bool. 16 1.1 christos (tui_register_changed) 17 1.1 christos (tui_refresh_frame_and_register_information): Update. 18 1.1 christos * tui/tui-win.c (tui_update_variables): Return bool. 19 1.1 christos * tui/tui-win.h (tui_update_variables): Return bool. 20 1.1 christos * tui/tui.c (tui_get_command_dimension): Return bool. 21 1.1 christos * tui/tui.h (tui_get_command_dimension): Return bool. 22 1.1 christos 23 1.1 christos 2019-12-29 Bernd Edlinger <bernd.edlinger (a] hotmail.de> 24 1.1 christos 25 1.1 christos * buildsym.c (buildsym_compunit::record_line): Do no longer ignore 26 1.1 christos line 65535. 27 1.1 christos 28 1.1 christos 2019-12-27 Tom Tromey <tom (a] tromey.com> 29 1.1 christos 30 1.1 christos * tui/tui-source.c (tui_source_window::do_scroll_vertical): Remove 31 1.1 christos commented-out code. 32 1.1 christos * tui/tui.c: Remove #if 0 code. 33 1.1 christos 34 1.1 christos 2019-12-27 Tom Tromey <tom (a] tromey.com> 35 1.1 christos 36 1.1 christos * cli/cli-cmds.c (print_disassembly): Reorder "if". 37 1.1 christos 38 1.1 christos 2019-12-27 Tom Tromey <tom (a] tromey.com> 39 1.1 christos 40 1.1 christos * tui/tui.c (tui_active): Now bool. 41 1.1 christos (tui_finish_init): Likewise. 42 1.1 christos (tui_enable): Update. 43 1.1 christos (tui_disable): Update. 44 1.1 christos (tui_is_window_visible): Update. 45 1.1 christos * tui/tui.h (tui_active): Now bool. 46 1.1 christos 47 1.1 christos 2019-12-27 Tom Tromey <tom (a] tromey.com> 48 1.1 christos 49 1.1 christos * tui/tui-source.c (tui_source_window::maybe_update): Update. 50 1.1 christos * tui/tui-regs.c (tui_data_window::display_registers_from): 51 1.1 christos Update. 52 1.1 christos * tui/tui-layout.c (tui_gen_win_info::resize): Update. 53 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <viewport_height>: 54 1.1 christos Remove. 55 1.1 christos * tui/tui-command.c (tui_cmd_window::resize): Update. 56 1.1 christos 57 1.1 christos 2019-12-26 Christian Biesinger <cbiesinger (a] google.com> 58 1.1 christos 59 1.1 christos * ada-lang.c (ada_decode_symbol): Update. 60 1.1 christos * buildsym.c (add_symbol_to_list): Update. 61 1.1 christos * coffread.c (process_coff_symbol): Update. 62 1.1 christos * ctfread.c (ctf_add_enum_member_cb): Update. 63 1.1 christos (new_symbol): Update. 64 1.1 christos (ctf_add_var_cb): Update. 65 1.1 christos * dwarf2read.c (fixup_go_packaging): Update. 66 1.1 christos (dwarf2_compute_name): Update. 67 1.1 christos (new_symbol): Update. 68 1.1 christos * jit.c (finalize_symtab): Update. 69 1.1 christos * language.c (language_alloc_type_symbol): Update. 70 1.1 christos * mdebugread.c (new_symbol): Update. 71 1.1 christos * minsyms.c (minimal_symbol_reader::record_full): Update. 72 1.1 christos (minimal_symbol_reader::install): Update. 73 1.1 christos * psymtab.c (print_partial_symbols): Update. 74 1.1 christos (psymbol_hash): Update. 75 1.1 christos (psymbol_compare): Update. 76 1.1 christos (add_psymbol_to_bcache): Update. 77 1.1 christos (maintenance_check_psymtabs): Update. 78 1.1 christos * stabsread.c (define_symbol): Update. 79 1.1 christos * symtab.c (symbol_set_names): Rename to... 80 1.1 christos (general_symbol_info::compute_and_set_names): ...this. 81 1.1 christos (general_symbol_info::natural_name): Update. 82 1.1 christos (general_symbol_info::search_name): Update. 83 1.1 christos (fixup_section): Update. 84 1.1 christos * symtab.h (struct general_symbol_info) <name>: Rename to... 85 1.1 christos <m_name>: ...this. 86 1.1 christos <compute_and_set_names>: Rename from... 87 1.1 christos (symbol_set_names): ...this. 88 1.1 christos (SYMBOL_SET_NAMES): Remove. 89 1.1 christos (struct symbol) <ctor>: Update. 90 1.1 christos 91 1.1 christos 2019-12-26 Christian Biesinger <cbiesinger (a] google.com> 92 1.1 christos 93 1.1 christos * NEWS: Mention that multithreaded symbol loading is now on by 94 1.1 christos default. 95 1.1 christos 96 1.1 christos 2019-12-26 Ruslan Kabatsayev <b7.10110111 (a] gmail.com> 97 1.1 christos 98 1.1 christos * dwarf2read.c (is_valid_DW_AT_defaulted) 99 1.1 christos (is_valid_DW_AT_calling_convention_for_type) 100 1.1 christos (is_valid_DW_AT_calling_convention_for_subroutine): Fix printing 101 1.1 christos ULONGEST variables on x86-32. 102 1.1 christos 103 1.1 christos 2019-12-21 George Barrett <bob (a] bob131.so> 104 1.1 christos 105 1.1 christos * solib-svr4.c (svr4_handle_solib_event): Add fallback link 106 1.1 christos namespace test for when the debug struct isn't available. 107 1.1 christos 108 1.1 christos 2019-12-21 Eli Zaretskii <eliz (a] gnu.org> 109 1.1 christos 110 1.1 christos * top.c (print_gdb_configuration): Print "--with-xxhash" or 111 1.1 christos "--without-xxhash" according to HAVE_LIBXXHASH. 112 1.1 christos 113 1.1 christos 2019-12-20 Weimin Pan <weimin.pan (a] oracle.com> 114 1.1 christos * ctfread.c (ctf_file_key): Change type to objfile_key. 115 1.1 christos (struct ctf_context): Remove typedef. 116 1.1 christos (get_objfile_text_range): Use ANOFFSET to get text base. 117 1.1 christos 118 1.1 christos 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 119 1.1 christos 120 1.1 christos * dwarf2read.c (is_valid_DW_AT_calling_convention_for_subroutine): 121 1.1 christos New function. 122 1.1 christos (read_subroutine_type): Validate the parsed 123 1.1 christos DW_AT_calling_convention value before assigning it to a 124 1.1 christos subroutine's calling_convention attribute. 125 1.1 christos * gdbtypes.h (struct func_type) <calling_convention>: Use 126 1.1 christos an enum bitfield as its type, instead of plain unsigned. 127 1.1 christos 128 1.1 christos 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 129 1.1 christos 130 1.1 christos PR gdb/25054 131 1.1 christos * infcall.c (call_function_by_hand_dummy): Update the argument- 132 1.1 christos passing section for call-by-value parameters. 133 1.1 christos (struct destructor_info): New struct. 134 1.1 christos (call_destructors): New auxiliary function. 135 1.1 christos 136 1.1 christos 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 137 1.1 christos 138 1.1 christos * gnu-v3-abi.c (enum definition_style): New enum type. 139 1.1 christos (get_def_style): New function. 140 1.1 christos (is_user_provided_def): New function. 141 1.1 christos (is_implicit_def): New function. 142 1.1 christos (is_copy_or_move_constructor_type): New function. 143 1.1 christos (is_copy_constructor_type): New function. 144 1.1 christos (is_move_constructor_type): New function. 145 1.1 christos (gnuv3_pass_by_reference): Collect language_pass_by_ref_info 146 1.1 christos for a given type. 147 1.1 christos 148 1.1 christos 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 149 1.1 christos 150 1.1 christos * language.h (struct language_pass_by_ref_info): New struct. 151 1.1 christos (struct language_defn)<la_pass_by_reference>: Change the signature 152 1.1 christos to return a language_pass_by_ref_info instead of an int. 153 1.1 christos (language_pass_by_reference): Ditto. 154 1.1 christos (default_pass_by_reference): Ditto. 155 1.1 christos Adjust the users listed below. 156 1.1 christos * arch-utils.c (default_return_in_first_hidden_param_p): 157 1.1 christos Update. 158 1.1 christos * cp-abi.c (cp_pass_by_reference): Update. 159 1.1 christos * cp-abi.h (cp_pass_by_reference): Update declaration. 160 1.1 christos (struct cp_abi_ops)<pass_by_reference>: Update. 161 1.1 christos * gnu-v3-abi.c (gnuv3_pass_by_reference): Update. 162 1.1 christos * infcall.c (call_function_by_hand_dummy): Update. 163 1.1 christos * language.c (language_pass_by_reference): Update. 164 1.1 christos (default_pass_by_reference): Update. 165 1.1 christos * tic6x-tdep.c (tic6x_return_value): Update. 166 1.1 christos 167 1.1 christos 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 168 1.1 christos 169 1.1 christos * dwarf2read.c (dwarf2_add_member_fn): Read the DW_AT_defaulted 170 1.1 christos and DW_AT_deleted attributes of a function. 171 1.1 christos (read_structure_type): Read the DW_AT_calling_convention attribute 172 1.1 christos of a type. 173 1.1 christos (is_valid_DW_AT_defaulted): New function. 174 1.1 christos (is_valid_DW_AT_calling_convention_for_type): New function. 175 1.1 christos * gdbtypes.h: Include dwarf2.h. 176 1.1 christos (struct fn_field)<defaulted>: New field to store the 177 1.1 christos DW_AT_defaulted attribute. 178 1.1 christos (struct fn_field)<is_deleted>: New field to store the 179 1.1 christos DW_AT_deleted attribute. 180 1.1 christos (struct cplus_struct_type)<calling_convention>: New field to store 181 1.1 christos the DW_AT_calling_convention attribute. 182 1.1 christos (TYPE_FN_FIELD_DEFAULTED): New macro. 183 1.1 christos (TYPE_FN_FIELD_DELETED): New macro. 184 1.1 christos (TYPE_CPLUS_CALLING_CONVENTION): New macro. 185 1.1 christos * gdbtypes.c (dump_fn_fieldlists): Update for the changes made 186 1.1 christos to the .h file. 187 1.1 christos (print_cplus_stuff): Likewise. 188 1.1 christos 189 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 190 1.1 christos 191 1.1 christos * tui/tui.c (tui_show_source): Remove. 192 1.1 christos * tui/tui.h (tui_show_source): Don't declare. 193 1.1 christos * tui/tui-out.c (tui_ui_out::do_field_string): Don't call 194 1.1 christos tui_show_source. 195 1.1 christos 196 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 197 1.1 christos 198 1.1 christos * tui/tui-stack.h (tui_show_frame_info): Return bool. 199 1.1 christos * tui/tui-stack.c (tui_show_frame_info): Return bool. 200 1.1 christos * tui/tui-hooks.c (tui_refresh_frame_and_register_information): 201 1.1 christos Update. 202 1.1 christos 203 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 204 1.1 christos 205 1.1 christos PR tui/18932: 206 1.1 christos * tui/tui-hooks.c (tui_refresh_frame_and_register_information): 207 1.1 christos Rename parameters. Handle the not-from-stack-frame case. 208 1.1 christos (from_stack, from_source_symtab): New globals. 209 1.1 christos (tui_before_prompt, tui_normal_stop): Update. 210 1.1 christos (tui_context_changed, tui_symtab_changed): New functions. 211 1.1 christos (tui_attach_detach_observers): Attach new observers. 212 1.1 christos 213 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 214 1.1 christos 215 1.1 christos * source.c (struct current_source_location) <set, symtab, line>: 216 1.1 christos New methods. 217 1.1 christos <m_symtab, m_line>: Rename. Now private. 218 1.1 christos (get_current_source_symtab_and_line) 219 1.1 christos (set_default_source_symtab_and_line) 220 1.1 christos (set_current_source_symtab_and_line) 221 1.1 christos (clear_current_source_symtab_and_line, select_source_symtab) 222 1.1 christos (info_source_command, print_source_lines_base) 223 1.1 christos (info_line_command, search_command_helper): Update. 224 1.1 christos * observable.h (current_source_symtab_and_line_changed): Declare 225 1.1 christos observable. 226 1.1 christos * observable.c (current_source_symtab_and_line_changed): Define 227 1.1 christos observable. 228 1.1 christos 229 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 230 1.1 christos 231 1.1 christos * tui/tui-hooks.c (tui_before_prompt): Change parameter to bool. 232 1.1 christos (tui_before_prompt, tui_normal_stop): Update. 233 1.1 christos 234 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 235 1.1 christos 236 1.1 christos * tui/tui-winsource.c 237 1.1 christos (tui_source_window_base::update_source_window_as_is): Don't call 238 1.1 christos set_current_source_symtab_and_line. 239 1.1 christos 240 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 241 1.1 christos 242 1.1 christos * tui/tui-stack.h (struct tui_locator_window) <set_locator_info>: 243 1.1 christos Take a symtab_and_line. 244 1.1 christos * tui/tui-stack.c (tui_locator_window::set_locator_info): Take a 245 1.1 christos symtab_and_line. 246 1.1 christos (tui_show_frame_info): Update. 247 1.1 christos 248 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 249 1.1 christos 250 1.1 christos * tui/tui-stack.c (tui_show_frame_info): Don't call 251 1.1 christos update_exec_info. 252 1.1 christos 253 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 254 1.1 christos 255 1.1 christos * tui/tui.c (tui_enable): Call tui_display_main. 256 1.1 christos 257 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 258 1.1 christos 259 1.1 christos * tui/tui-disasm.c (tui_get_begin_asm_address): Use 260 1.1 christos get_current_source_symtab_and_line, and main_name. 261 1.1 christos 262 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 263 1.1 christos 264 1.1 christos * tui/tui.c (tui_show_source): Update. 265 1.1 christos * tui/tui-winsource.h (tui_update_source_windows_with_line): Update. 266 1.1 christos * tui/tui-winsource.c (tui_update_source_windows_with_line): Take 267 1.1 christos a symtab_symbol_info, not a separate symtab and line. Simplify. 268 1.1 christos 269 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 270 1.1 christos 271 1.1 christos * tui/tui-winsource.c (tui_update_source_windows_with_addr): 272 1.1 christos Simplify. 273 1.1 christos 274 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 275 1.1 christos 276 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 277 1.1 christos <set_contents, update_source_window_as_is, update_source_window>: 278 1.1 christos Take a sal, not a separate symtab and tui_line_or_address. 279 1.1 christos * tui/tui-winsource.c (tui_source_window_base::update_source_window) 280 1.1 christos (tui_source_window_base::update_source_window_as_is): Take a sal, 281 1.1 christos not a separate symtab and tui_line_or_address. 282 1.1 christos (tui_update_source_windows_with_addr) 283 1.1 christos (tui_update_source_windows_with_line) 284 1.1 christos (tui_source_window_base::rerender) 285 1.1 christos (tui_source_window_base::refill): Update. 286 1.1 christos * tui/tui-source.h (struct tui_source_window) <set_contents>: Take 287 1.1 christos a sal, not a separate symtab and tui_line_or_address. 288 1.1 christos * tui/tui-source.c (tui_source_window::set_contents): Take a sal, 289 1.1 christos not a separate symtab and tui_line_or_address. 290 1.1 christos (tui_source_window::maybe_update): Update. 291 1.1 christos * tui/tui-disasm.h (struct tui_disasm_window) <set_contents>: Take 292 1.1 christos a sal, not a separate symtab and tui_line_or_address. 293 1.1 christos * tui/tui-disasm.c (tui_disasm_window::set_contents): Take a sal, 294 1.1 christos not a separate symtab and tui_line_or_address. 295 1.1 christos (tui_disasm_window::do_scroll_vertical) 296 1.1 christos (tui_disasm_window::maybe_update): Update. 297 1.1 christos 298 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 299 1.1 christos 300 1.1 christos * tui/tui-winsource.c (tui_source_window_base::refill): Use 301 1.1 christos start_line_or_addr. 302 1.1 christos * tui/tui-source.c (tui_source_window::do_scroll_vertical): Use 303 1.1 christos start_line_or_addr. 304 1.1 christos * tui/tui-disasm.c (tui_disasm_window::do_scroll_vertical): Use 305 1.1 christos start_line_or_addr. 306 1.1 christos 307 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 308 1.1 christos 309 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 310 1.1 christos <set_contents>: Return bool. 311 1.1 christos * tui/tui-winsource.c 312 1.1 christos (tui_source_window_base::update_source_window_as_is): Update. 313 1.1 christos * tui/tui-source.h (struct tui_source_window) <set_contents>: 314 1.1 christos Return bool. 315 1.1 christos * tui/tui-source.c (tui_source_window::set_contents): Return 316 1.1 christos bool. Simplify. 317 1.1 christos * tui/tui-disasm.h (struct tui_disasm_window) <set_contents>: 318 1.1 christos Return bool. 319 1.1 christos * tui/tui-disasm.c (tui_disasm_window::set_contents): Return 320 1.1 christos bool. 321 1.1 christos 322 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 323 1.1 christos 324 1.1 christos * tui/tui-winsource.c (tui_update_source_windows_with_addr) 325 1.1 christos (tui_update_source_windows_with_line): Call update_source_window. 326 1.1 christos * tui/tui-source.h (struct tui_source_window) 327 1.1 christos <show_symtab_source>: Don't declare. 328 1.1 christos * tui/tui-source.c (tui_source_window::show_symtab_source): 329 1.1 christos Remove. 330 1.1 christos 331 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 332 1.1 christos 333 1.1 christos * tui/tui-winsource.c (tui_update_source_windows_with_addr): Call 334 1.1 christos update_source_window directly. 335 1.1 christos * tui/tui-disasm.h (tui_show_disassem): Don't declare. 336 1.1 christos * tui/tui-disasm.c (tui_show_disassem): Remove. 337 1.1 christos 338 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 339 1.1 christos 340 1.1 christos * tui/tui-winsource.c 341 1.1 christos (tui_source_window_base::update_source_window_as_is): Don't switch focus. 342 1.1 christos * tui/tui-disasm.c (tui_show_disassem): Don't switch focus. 343 1.1 christos 344 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 345 1.1 christos 346 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 347 1.1 christos <maybe_update>: Remove line_no and addr parameters. 348 1.1 christos * tui/tui-stack.c (tui_show_frame_info): Set PC on sal. Update. 349 1.1 christos * tui/tui-source.h (struct tui_source_window) <maybe_update>: 350 1.1 christos Update. 351 1.1 christos * tui/tui-source.c (tui_source_window::maybe_update): Remove 352 1.1 christos line_no and addr parameters. 353 1.1 christos * tui/tui-disasm.h (struct tui_disasm_window) <maybe_update>: 354 1.1 christos Update. 355 1.1 christos * tui/tui-disasm.c (tui_disasm_window::maybe_update): Remove 356 1.1 christos line_no and addr parameters. 357 1.1 christos 358 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 359 1.1 christos 360 1.1 christos * tui/tui-winsource.c (tui_source_window_base::set_is_exec_point_at) 361 1.1 christos (tui_source_window_base::update_breakpoint_info): Remove asserts. 362 1.1 christos 363 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 364 1.1 christos 365 1.1 christos * tui/tui-winsource.c (tui_update_source_windows_with_addr): Call 366 1.1 christos tui_show_disassem. 367 1.1 christos * tui/tui-disasm.h (tui_show_disassem_and_update_source): Don't 368 1.1 christos declare. 369 1.1 christos * tui/tui-disasm.c (tui_show_disassem_and_update_source): Remove. 370 1.1 christos 371 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 372 1.1 christos 373 1.1 christos * tui/tui.h (tui_show_source): Remove parameters. 374 1.1 christos * tui/tui.c (tui_show_source): Remove parameters. 375 1.1 christos * tui/tui-out.c (tui_ui_out::do_field_string): Update. 376 1.1 christos 377 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 378 1.1 christos 379 1.1 christos * tui/tui.c (tui_show_source): Update. 380 1.1 christos * tui/tui-winsource.c (tui_display_main): Update. 381 1.1 christos * tui/tui-stack.h (tui_update_locator_fullname): Change parameter 382 1.1 christos to symtab. 383 1.1 christos * tui/tui-stack.c (tui_update_locator_fullname): Change parameter 384 1.1 christos to symtab. 385 1.1 christos * tui/tui-disasm.c (tui_show_disassem_and_update_source): Update. 386 1.1 christos 387 1.1 christos 2019-12-20 Tom Tromey <tom (a] tromey.com> 388 1.1 christos 389 1.1 christos PR tui/23619: 390 1.1 christos * tui/tui-io.c (tui_rl_saved_prompt): Remove. 391 1.1 christos (tui_redisplay_readline): Use rl_display_prompt. 392 1.1 christos (tui_prep_terminal): Update. 393 1.1 christos 394 1.1 christos 2019-12-19 Christian Biesinger <cbiesinger (a] google.com> 395 1.1 christos 396 1.1 christos * configure: Regenerate. 397 1.1 christos * configure.ac: Quote variable arguments of test. 398 1.1 christos * gdbsupport/common.m4: Likewise. 399 1.1 christos 400 1.1 christos 2019-12-19 Christian Biesinger <cbiesinger (a] google.com> 401 1.1 christos 402 1.1 christos * score-tdep.c (score7_analyze_prologue): Pass 2.0 instead of 403 1.1 christos 2 to pow (). 404 1.1 christos 405 1.1 christos 2019-12-19 Christian Biesinger <cbiesinger (a] google.com> 406 1.1 christos 407 1.1 christos * tui/tui-source.c (tui_source_window::set_contents): Cast argument of 408 1.1 christos log10 to double to fix Solaris 11 with gcc 5.5. 409 1.1 christos 410 1.1 christos 2019-12-19 Christian Biesinger <cbiesinger (a] google.com> 411 1.1 christos 412 1.1 christos * fbsd-tdep.c (fbsd_info_proc_files_entry): Rename local var 413 1.1 christos "sun" to "saddr_un". 414 1.1 christos 415 1.1 christos 2019-12-19 Tom Tromey <tromey (a] adacore.com> 416 1.1 christos 417 1.1 christos * ui-out.h (enum class field_kind): Fix comment. 418 1.1 christos 419 1.1 christos 2019-12-11 Tom Tromey <tromey (a] adacore.com> 420 1.1 christos 421 1.1 christos * xml-support.c (xml_fetch_content_from_file): Use FOPEN_RB. 422 1.1 christos 423 1.1 christos 2019-12-18 Tom Tromey <tromey (a] adacore.com> 424 1.1 christos 425 1.1 christos PR build/25268: 426 1.1 christos * gdbsupport/thread-pool.c (set_thread_name): Expect "int" return 427 1.1 christos type on macOS. Add comment. 428 1.1 christos 429 1.1 christos 2019-12-18 Simon Marchi <simon.marchi (a] efficios.com> 430 1.1 christos 431 1.1 christos * c-lang.c (c_get_string, asm_language_defn): Remove space 432 1.1 christos before tab. 433 1.1 christos 434 1.1 christos 2019-12-18 Tom Tromey <tromey (a] adacore.com> 435 1.1 christos 436 1.1 christos PR build/25250: 437 1.1 christos * ui-out.c (ui_out::vmessage): Update. 438 1.1 christos * ui-out.h (enum class field_kind) <FIELD_STRING, FIELD_SIGNED>: 439 1.1 christos Rename. 440 1.1 christos (string_field): Update. 441 1.1 christos (signed_field): Update. 442 1.1 christos 443 1.1 christos 2019-12-18 Simon Marchi <simon.marchi (a] efficios.com> 444 1.1 christos 445 1.1 christos * top.c (print_gdb_configuration): Adjust indentation. 446 1.1 christos 447 1.1 christos 2019-12-17 Christian Biesinger <cbiesinger (a] google.com> 448 1.1 christos 449 1.1 christos * bsd-kvm.c: Include gdbsupport/pathstuff.h. 450 1.1 christos 451 1.1 christos 2019-12-17 Simon Marchi <simon.marchi (a] polymtl.ca> 452 1.1 christos 453 1.1 christos * tui/tui-layout.h (class tui_layout_base): Add virtual 454 1.1 christos destructor. 455 1.1 christos 456 1.1 christos 2019-12-16 Bernd Edlinger <bernd.edlinger (a] hotmail.de> 457 1.1 christos 458 1.1 christos * infcmd.c (prepare_one_step): Step over skipped inline functions. 459 1.1 christos * infrun.c (inline_frame_is_marked_for_skip): New helper function. 460 1.1 christos (process_event_stop_test): Keep stepping over skipped inline functions. 461 1.1 christos 462 1.1 christos 2019-12-16 Simon Marchi <simon.marchi (a] polymtl.ca> 463 1.1 christos 464 1.1 christos * jit.c (struct gdb_block) <next>: Remove field. 465 1.1 christos (struct gdb_symtab) <~gdb_symtab>: Remove. 466 1.1 christos <blocks>: Change type to std::forward_list<gdb_block>. 467 1.1 christos (compare_block): Remove. 468 1.1 christos (jit_block_open_impl): Adjust to std::forward_list. Place the new 469 1.1 christos block at the beginning, don't mind about sorting. 470 1.1 christos (finalize_symtab): Adjust to std::forward_list, sort the blocks list 471 1.1 christos before using it. 472 1.1 christos 473 1.1 christos 2019-12-16 Simon Marchi <simon.marchi (a] polymtl.ca> 474 1.1 christos 475 1.1 christos * jit.c (struct gdb_block): Add constructor, initialize 476 1.1 christos real_block and next fields. 477 1.1 christos <name>: Change type to gdb::unique_xmalloc_ptr. 478 1.1 christos (struct gdb_symtab) <~gdb_symtab>: Free blocks with delete. 479 1.1 christos (jit_block_open_impl): Allocate gdb_block with new. 480 1.1 christos (finalize_symtab): Adjust to gdb::unique_xmalloc_ptr. 481 1.1 christos 482 1.1 christos 2019-12-16 Simon Marchi <simon.marchi (a] polymtl.ca> 483 1.1 christos 484 1.1 christos * jit.c: Include forward_list. 485 1.1 christos (struct gdb_symtab) <next>: Remove field. 486 1.1 christos (struct gdb_object) <symtabs>: Change type to 487 1.1 christos std::forward_list<gdb_symtab>. 488 1.1 christos (jit_object_open_impl): Allocate gdb_object with new. 489 1.1 christos (jit_symtab_open_impl): Adjust to std::forward_list. 490 1.1 christos (finalize_symtab): Don't delete symtab. 491 1.1 christos (jit_object_close_impl): Adjust to std::forward_list. Free 492 1.1 christos gdb_object with delete. 493 1.1 christos 494 1.1 christos 2019-12-16 Simon Marchi <simon.marchi (a] polymtl.ca> 495 1.1 christos 496 1.1 christos * jit.c (struct gdb_symtab): Add constructor, destructor, 497 1.1 christos initialize fields. 498 1.1 christos <linetable>: Change type to unique_xmalloc_ptr. 499 1.1 christos <file_name>: Change type to std::string. 500 1.1 christos (jit_symtab_open_impl): Allocate gdb_symtab with new. 501 1.1 christos (jit_symtab_line_mapping_add_impl): Adjust. 502 1.1 christos (finalize_symtab): Adjust, call delete on stab. 503 1.1 christos 504 1.1 christos 2019-12-16 Simon Marchi <simon.marchi (a] polymtl.ca> 505 1.1 christos 506 1.1 christos * jit.c (finalize_symtab): Set gdb_block_iter_tmp in loop. 507 1.1 christos 508 1.1 christos 2019-12-16 Tom Tromey <tromey (a] adacore.com> 509 1.1 christos 510 1.1 christos * windows-nat.c (windows_nat_target::attach): Update. 511 1.1 christos * remote.c (extended_remote_target::attach): Update. 512 1.1 christos * procfs.c (procfs_target::attach): Update. 513 1.1 christos * nto-procfs.c (nto_procfs_target::attach): Update. 514 1.1 christos (nto_procfs_target::create_inferior): Update. 515 1.1 christos * inf-ptrace.c (inf_ptrace_target::attach): Update. 516 1.1 christos * gnu-nat.c (gnu_nat_target::attach): Update. 517 1.1 christos (gnu_nat_target::detach): Update. 518 1.1 christos * darwin-nat.c (darwin_nat_target::attach): Update. 519 1.1 christos * corefile.c (get_exec_file): Constify result. Remove extraneous 520 1.1 christos return. 521 1.1 christos * bsd-kvm.c (bsd_kvm_target_open): Update. 522 1.1 christos * gdbsupport/common-inferior.h (get_exec_file): Constify result. 523 1.1 christos 524 1.1 christos 2019-12-16 Christian Biesinger <cbiesinger (a] google.com> 525 1.1 christos 526 1.1 christos * gdbsupport/common-defs.h: Remove workaround for a gnulib bug 527 1.1 christos (we no longer need to include time.h before pathmax.h) 528 1.1 christos 529 1.1 christos 2019-12-15 Christian Biesinger <cbiesinger (a] google.com> 530 1.1 christos 531 1.1 christos * ada-exp.y (write_ambiguous_var): Update. 532 1.1 christos * coffread.c (process_coff_symbol): Update. 533 1.1 christos * ctfread.c (ctf_add_enum_member_cb): Update. 534 1.1 christos (new_symbol): Update. 535 1.1 christos * dwarf2read.c (fixup_go_packaging): Update. 536 1.1 christos (new_symbol): Update. 537 1.1 christos * language.c (language_alloc_type_symbol): Update. 538 1.1 christos * mdebugread.c (new_symbol): Update. 539 1.1 christos * minsyms.c (minimal_symbol_reader::record_full): Update. 540 1.1 christos * psymtab.c (add_psymbol_to_bcache): Update. 541 1.1 christos * stabsread.c (define_symbol): Update. 542 1.1 christos (read_enum_type): Update. 543 1.1 christos * symtab.c (symbol_set_language): Make this a member function... 544 1.1 christos (general_symbol_info::set_language): ... here. 545 1.1 christos * symtab.h (struct general_symbol_info) <set_language>: New function. 546 1.1 christos (SYMBOL_SET_LANGUAGE): Remove. 547 1.1 christos (symbol_set_language): Remove. 548 1.1 christos 549 1.1 christos 2019-12-15 Christian Biesinger <cbiesinger (a] google.com> 550 1.1 christos 551 1.1 christos * ada-lang.c (ada_add_block_symbols): Update. 552 1.1 christos (ada_collect_symbol_completion_matches): Update. 553 1.1 christos * ax-gdb.c (gen_expr): Update. 554 1.1 christos * block.c (block_lookup_symbol): Update. 555 1.1 christos (block_lookup_symbol_primary): Update. 556 1.1 christos (block_find_symbol): Update. 557 1.1 christos * cp-namespace.c (cp_lookup_symbol_imports_or_template): Update. 558 1.1 christos * dbxread.c (process_one_symbol): Update. 559 1.1 christos * dictionary.c (insert_symbol_hashed): Update. 560 1.1 christos (collate_pending_symbols_by_language): Update. 561 1.1 christos (mdict_add_symbol): Update. 562 1.1 christos * dwarf-index-write.c (write_psymbols): Update. 563 1.1 christos * dwarf2read.c (fixup_go_packaging): Update. 564 1.1 christos * findvar.c (read_var_value): Update. 565 1.1 christos * ft32-tdep.c (ft32_skip_prologue): Update. 566 1.1 christos * go-lang.c (go_symbol_package_name): Update. 567 1.1 christos * language.h (scoped_switch_to_sym_language_if_auto:: 568 1.1 christos scoped_switch_to_sym_language_if_auto): Update. 569 1.1 christos * linespec.c (find_method): Update. 570 1.1 christos (find_label_symbols_in_block): Update. 571 1.1 christos * mdebugread.c (parse_symbol): Update. 572 1.1 christos * mi/mi-cmd-stack.c (list_arg_or_local): Update. 573 1.1 christos * minsyms.c (add_minsym_to_demangled_hash_table): Update. 574 1.1 christos (minimal_symbol_reader::install): Update. 575 1.1 christos * moxie-tdep.c (moxie_skip_prologue): Update. 576 1.1 christos * parse.c (parse_exp_in_context): Update. 577 1.1 christos * psymtab.c (psymbol_name_matches): Update. 578 1.1 christos (match_partial_symbol): Update. 579 1.1 christos (lookup_partial_symbol): Update. 580 1.1 christos (psymbol_hash): Update. 581 1.1 christos (psymbol_compare): Update. 582 1.1 christos * python/py-framefilter.c (extract_sym): Update. 583 1.1 christos (py_print_single_arg): Update. 584 1.1 christos * stabsread.c (define_symbol): Update. 585 1.1 christos * stack.c (print_frame_arg): Update. 586 1.1 christos (find_frame_funname): Update. 587 1.1 christos (info_frame_command_core): Update. 588 1.1 christos * symfile.c (set_initial_language): Update. 589 1.1 christos * symtab.c (symbol_set_demangled_name): Update. 590 1.1 christos (symbol_get_demangled_name): Update. 591 1.1 christos (symbol_set_language): Update. 592 1.1 christos (symbol_find_demangled_name): Update. 593 1.1 christos (symbol_set_names): Update. 594 1.1 christos (general_symbol_info::natural_name): Update. 595 1.1 christos (general_symbol_info::demangled_name): Update. 596 1.1 christos (general_symbol_info::search_name): Update. 597 1.1 christos (symbol_matches_search_name): Update. 598 1.1 christos (eq_symbol_entry): Update. 599 1.1 christos (iterate_over_symbols): Update. 600 1.1 christos (completion_list_add_symbol): Update. 601 1.1 christos (completion_list_add_msymbol): Update. 602 1.1 christos (completion_list_add_fields): Update. 603 1.1 christos * symtab.h (struct general_symbol_info) <language>: New function. 604 1.1 christos <language>: Rename to... 605 1.1 christos <m_language>: ...this. 606 1.1 christos (SYMBOL_LANGUAGE): Remove. 607 1.1 christos (MSYMBOL_LANGUAGE): Remove. 608 1.1 christos (struct symbol) <ctor>: Update. 609 1.1 christos * xstormy16-tdep.c (xstormy16_skip_prologue): Update. 610 1.1 christos 611 1.1 christos 2019-12-15 Christian Biesinger <cbiesinger (a] google.com> 612 1.1 christos 613 1.1 christos * ada-exp.y (write_ambiguous_var): Call symbol_set_language to 614 1.1 christos set the language of sym. 615 1.1 christos * language.c (language_alloc_type_symbol): Likewise. 616 1.1 christos 617 1.1 christos 2019-12-14 Sergio Durigan Junior <sergiodj (a] redhat.com> 618 1.1 christos 619 1.1 christos https://bugzilla.redhat.com/show_bug.cgi?id=1728147 620 1.1 christos PR gdb/23613 621 1.1 christos * bsd-kvm.c (bsd_kvm_target_open): Use 'gdb_abspath'. 622 1.1 christos * corelow.c: Include 'gdbsupport/pathstuff.h'. 623 1.1 christos (core_target_open): Use 'gdb_abspath'. 624 1.1 christos * gdbsupport/pathstuff.c (gdb_abspath): Guard against 625 1.1 christos 'current_directory == NULL' case. 626 1.1 christos * gdbsupport/pathstuff.h (gdb_abspath): Expand comment and 627 1.1 christos explain what happens when 'current_directory' is NULL. 628 1.1 christos * go32-nat.c (go32_nat_target::wait): Check if 629 1.1 christos 'current_directory' is NULL before call to 'chdir'. 630 1.1 christos * source.c (add_path): Use 'gdb_abspath'. 631 1.1 christos * top.c: Include 'gdbsupport/pathstuff.h'. 632 1.1 christos (init_history): Use 'gdb_abspath'. 633 1.1 christos (set_history_filename): Likewise. 634 1.1 christos * tracefile-tfile.c: Include 'gdbsupport/pathstuff.h'. 635 1.1 christos (tfile_target_open): Use 'gdb_abspath'. 636 1.1 christos 637 1.1 christos 2019-12-13 Tom Tromey <tromey (a] adacore.com> 638 1.1 christos 639 1.1 christos * contrib/ari/gdb_ari.sh: Remove check for multiple calls to 640 1.1 christos warning or error. 641 1.1 christos 642 1.1 christos 2019-12-13 Tom Tromey <tromey (a] adacore.com> 643 1.1 christos 644 1.1 christos * contrib/ari/gdb_ari.sh: Remove call to "fix" for "long long". 645 1.1 christos 646 1.1 christos 2019-12-13 Tom Tromey <tromey (a] adacore.com> 647 1.1 christos 648 1.1 christos * contrib/ari/gdb_ari.sh: Handle -Wno- prefix. 649 1.1 christos 650 1.1 christos 2019-12-13 Tom Tromey <tromey (a] adacore.com> 651 1.1 christos 652 1.1 christos * contrib/ari/gdb_ari.sh (usage): Use GNU style. 653 1.1 christos 654 1.1 christos 2019-12-13 Tom Tromey <tromey (a] adacore.com> 655 1.1 christos 656 1.1 christos * gdbsupport/common-utils.c (string_printf, string_vprintf) 657 1.1 christos (string_vappendf): Add ARI comment. 658 1.1 christos 659 1.1 christos 2019-12-13 Tom Tromey <tromey (a] adacore.com> 660 1.1 christos 661 1.1 christos * contrib/ari/gdb_ari.sh: Remove "fix" call for 662 1.1 christos floatformat_to_double. 663 1.1 christos * target-float.c (host_float_ops<T>::from_target): Add ARI 664 1.1 christos comment. 665 1.1 christos 666 1.1 christos 2019-12-13 Tom Tromey <tromey (a] adacore.com> 667 1.1 christos 668 1.1 christos * contrib/ari/gdb_ari.sh: Remove "fix" call for abort. 669 1.1 christos * utils.c (abort_with_message, dump_core, internal_vproblem): Add 670 1.1 christos ARI marker to abort. 671 1.1 christos * event-top.c (handle_sigsegv): Add ARI marker to abort. 672 1.1 christos 673 1.1 christos 2019-12-13 Tom Tromey <tromey (a] adacore.com> 674 1.1 christos 675 1.1 christos * contrib/ari/gdb_ari.sh: Fix floatformat_from_double text. 676 1.1 christos 677 1.1 christos 2019-12-13 Tom Tromey <tromey (a] adacore.com> 678 1.1 christos 679 1.1 christos * contrib/ari/gdb_ari.sh: Remove ATTRIBUTE_UNUSED check. 680 1.1 christos 681 1.1 christos 2019-12-13 Tom Tromey <tromey (a] adacore.com> 682 1.1 christos 683 1.1 christos * contrib/ari/gdb_ari.sh: Remove "boolean" and "var_boolean" 684 1.1 christos checks. 685 1.1 christos 686 1.1 christos 2019-12-13 Tom Tromey <tromey (a] adacore.com> 687 1.1 christos 688 1.1 christos * gdbsupport/safe-iterator.h (class basic_safe_range) <begin, 689 1.1 christos end>: No longer "const". 690 1.1 christos 691 1.1 christos 2019-12-13 Simon Marchi <simon.marchi (a] polymtl.ca> 692 1.1 christos 693 1.1 christos * jit.c: Fix indentation, replace spaces with tabs where 694 1.1 christos applicable. 695 1.1 christos 696 1.1 christos 2019-12-13 Jozef Lawrynowicz <jozef.l (a] mittosystems.com> 697 1.1 christos 698 1.1 christos * configure.tgt: Match msp430-*-elf* targets when configuring GDB. 699 1.1 christos 700 1.1 christos 2019-12-12 Tom Tromey <tom (a] tromey.com> 701 1.1 christos 702 1.1 christos * objfiles.h (struct objfile) <partial_symtabs>: Now a 703 1.1 christos unique_ptr. 704 1.1 christos 705 1.1 christos 2019-12-12 Tom Tromey <tom (a] tromey.com> 706 1.1 christos 707 1.1 christos * progspace.h (objfile_list): New typedef. 708 1.1 christos (class unwrapping_objfile_iterator) 709 1.1 christos (struct unwrapping_objfile_range): Newl 710 1.1 christos (struct program_space) <objfiles_range>: Change type. 711 1.1 christos <objfiles>: Change return type. 712 1.1 christos <add_objfile>: Change type of "objfile" parameter. 713 1.1 christos <objfiles_list>: Now a list of shared_ptr. 714 1.1 christos * progspace.c (program_space::add_objfile): Change type of 715 1.1 christos "objfile". Update. 716 1.1 christos (program_space::remove_objfile): Update. 717 1.1 christos * objfiles.h (struct objfile) <~objfile>: Make public. 718 1.1 christos * objfiles.c (objfile::make): Update. 719 1.1 christos (objfile::unlink): Don't call delete. 720 1.1 christos 721 1.1 christos 2019-12-12 Tom Tromey <tom (a] tromey.com> 722 1.1 christos 723 1.1 christos * symfile.c (symbol_file_clear): Update. 724 1.1 christos * progspace.h (struct program_space) <free_all_objfiles>: Declare 725 1.1 christos method. 726 1.1 christos * progspace.c (program_space::free_all_objfiles): New method. 727 1.1 christos * objfiles.h (free_all_objfiles): Don't declare. 728 1.1 christos * objfiles.c (free_all_objfiles): Move to program_space. 729 1.1 christos 730 1.1 christos 2019-12-12 Tom Tromey <tom (a] tromey.com> 731 1.1 christos 732 1.1 christos * progspace.c (program_space::add_objfile) 733 1.1 christos (program_space::remove_objfile): Update. 734 1.1 christos (program_space::multi_objfile_p): Remove. 735 1.1 christos * objfiles.h (struct objfile) <next>: Remove. 736 1.1 christos * objfiles.c (objfile::objfile): Update. 737 1.1 christos (put_objfile_before): Update. 738 1.1 christos (unlink_objfile): Update. 739 1.1 christos * progspace.h (object_files): Remove. 740 1.1 christos (struct program_space) <objfiles_head>: Remove. 741 1.1 christos <objfiles_list>: New member. 742 1.1 christos <objfiles_range, objfiles_safe_range>: Change type. 743 1.1 christos (objfiles): Change return type. 744 1.1 christos (objfiles_safe): Update. 745 1.1 christos (multi_objfile_p): Rewrite and inline. 746 1.1 christos (object_files): Remove macro. 747 1.1 christos 748 1.1 christos 2019-12-12 Tom Tromey <tom (a] tromey.com> 749 1.1 christos 750 1.1 christos * gdbsupport/safe-iterator.h (basic_safe_iterator): Simplify. Add 751 1.1 christos second constructor. 752 1.1 christos (basic_safe_range): New class. 753 1.1 christos 754 1.1 christos 2019-12-12 Tom Tromey <tom (a] tromey.com> 755 1.1 christos 756 1.1 christos * progspace.c (program_space::multi_objfile_p): New method. 757 1.1 christos * printcmd.c (info_symbol_command): Update. 758 1.1 christos * maint.c (maintenance_translate_address): Update. 759 1.1 christos * objfiles.h (MULTI_OBJFILE_P): Remove. 760 1.1 christos * progspace.h (struct program_space) <multi_objfile_p>: New 761 1.1 christos method. 762 1.1 christos 763 1.1 christos 2019-12-12 Tom Tromey <tom (a] tromey.com> 764 1.1 christos 765 1.1 christos * progspace.h (struct program_space) <remove_objfile>: Declare. 766 1.1 christos * progspace.c (program_space::remove_objfile): New method. 767 1.1 christos * objfiles.c (unlink_objfile): Remove. 768 1.1 christos (objfile::unlink): Call remove_objfile. 769 1.1 christos (objfile): Don't call unlink_objfile. 770 1.1 christos 771 1.1 christos 2019-12-12 Tom Tromey <tom (a] tromey.com> 772 1.1 christos 773 1.1 christos * progspace.h (struct program_space) <add_objfile>: Declare 774 1.1 christos method. 775 1.1 christos * progspace.c (program_space::add_objfile): New method. 776 1.1 christos * objfiles.c (~objfile): Don't unlink objfile. 777 1.1 christos (put_objfile_before): Remove. 778 1.1 christos (add_separate_debug_objfile): Don't call put_objfile_before. 779 1.1 christos (objfile::make): Call add_objfile. Set new_objfiles_available on 780 1.1 christos the per-program-space data. 781 1.1 christos 782 1.1 christos 2019-12-12 Tom Tromey <tom (a] tromey.com> 783 1.1 christos 784 1.1 christos * symfile.c (syms_from_objfile_1): Use objfile_up. 785 1.1 christos (syms_from_objfile_1, remove_symbol_file_command): Call unlink 786 1.1 christos method. 787 1.1 christos (reread_symbols): Use objfile_up. 788 1.1 christos * solib.c (update_solib_list, reload_shared_libraries_1): Call 789 1.1 christos unlink method. 790 1.1 christos * objfiles.h (struct objfile) <~objfile>: Now private. 791 1.1 christos <unlink>: New method. 792 1.1 christos (struct objfile_deleter): New. 793 1.1 christos (objfile_up): New typedef. 794 1.1 christos * objfiles.c (objfile::unlink): New method. 795 1.1 christos (free_objfile_separate_debug, free_all_objfiles) 796 1.1 christos (objfile_purge_solibs): Use it. 797 1.1 christos * jit.c (jit_unregister_code): Remove. 798 1.1 christos (jit_inferior_exit_hook, jit_event_handler): Call unlink on 799 1.1 christos objfile. 800 1.1 christos * compile/compile-object-run.c (do_module_cleanup): Call unlink on 801 1.1 christos objfile. 802 1.1 christos * compile/compile-object-load.c (compile_object_load): Use 803 1.1 christos objfile_up. 804 1.1 christos 805 1.1 christos 2019-12-12 Tom Tromey <tom (a] tromey.com> 806 1.1 christos 807 1.1 christos * symfile.c (symbol_file_add_with_addrs): Pass "parent" to 808 1.1 christos objfile::make. 809 1.1 christos * objfiles.h (struct objjfile) <make>: No longer inline. 810 1.1 christos (add_separate_debug_objfile): Don't declare. 811 1.1 christos * objfiles.c (add_separate_debug_objfile): Now static. 812 1.1 christos (objfile::make): Move from objfiles.h. Call 813 1.1 christos add_separate_debug_objfile. Add "parent" parameter. 814 1.1 christos 815 1.1 christos 2019-12-12 Tom Tromey <tom (a] tromey.com> 816 1.1 christos 817 1.1 christos * symfile.c (symbol_file_add_with_addrs): Use objfile::make. 818 1.1 christos * objfiles.h (struct objfile): Make constructor private. 819 1.1 christos <make>: New static method. 820 1.1 christos * jit.c (jit_object_close_impl): Update. 821 1.1 christos 822 1.1 christos 2019-12-12 Simon Marchi <simon.marchi (a] polymtl.ca> 823 1.1 christos 824 1.1 christos * jit.c (jit_reader_try_read_symtab): Replace xmalloc/xfree with 825 1.1 christos gdb::byte_vector. 826 1.1 christos 827 1.1 christos 2019-12-12 Tom Tromey <tromey (a] adacore.com> 828 1.1 christos 829 1.1 christos * xml-support.c (xml_fetch_content_from_file): Don't call 830 1.1 christos malloc_failure. 831 1.1 christos * utils.h (class gdb_argv): Remove malloc_failure comment. 832 1.1 christos * utils.c (gdb_argv::reset): Don't call malloc_failure. 833 1.1 christos 834 1.1 christos 2019-12-12 Tom Tromey <tromey (a] adacore.com> 835 1.1 christos 836 1.1 christos * Makefile.in (ALL_TARGET_OBS): Add riscv-ravenscar-thread.o. 837 1.1 christos (HFILES_NO_SRCDIR): Add riscv-ravenscar-thread.h. 838 1.1 christos (ALLDEPFILES): Add riscv-ravenscar-thread.c. 839 1.1 christos * configure.tgt (riscv-*-*): Add riscv-ravenscar-thread.o. 840 1.1 christos * riscv-ravenscar-thread.c: New file. 841 1.1 christos * riscv-ravenscar-thread.h: New file. 842 1.1 christos * riscv-tdep.c (riscv_gdbarch_init): Call 843 1.1 christos register_riscv_ravenscar_ops. 844 1.1 christos 845 1.1 christos 2019-12-12 Tom Tromey <tromey (a] adacore.com> 846 1.1 christos 847 1.1 christos * gdbsupport/thread-pool.c (set_thread_name): Use 848 1.1 christos ATTRIBUTE_UNUSED. 849 1.1 christos 850 1.1 christos 2019-12-12 Luis Machado <luis.machado (a] linaro.org> 851 1.1 christos 852 1.1 christos * gdbsupport/safe-strerror.c: Don't include diagnostics.h. 853 1.1 christos (select_strerror_r): Use ATTRIBUTE_UNUSED instead of the diagnostics 854 1.1 christos macros. 855 1.1 christos 856 1.1 christos 2019-12-11 Tom Tromey <tom (a] tromey.com> 857 1.1 christos 858 1.1 christos * tui/tui-win.c (tui_set_win_height_command): Call 859 1.1 christos tui_adjust_window_height. 860 1.1 christos (tui_adjust_win_heights, new_height_ok): Remove. 861 1.1 christos * tui/tui-layout.h (tui_adjust_window_height): Declare. 862 1.1 christos * tui/tui-layout.c (tui_adjust_window_height): New function. 863 1.1 christos 864 1.1 christos 2019-12-11 Tom Tromey <tom (a] tromey.com> 865 1.1 christos 866 1.1 christos * tui/tui-win.c (tui_resize_all): Remove code, call 867 1.1 christos tui_apply_current_layout. 868 1.1 christos 869 1.1 christos 2019-12-11 Tom Tromey <tom (a] tromey.com> 870 1.1 christos 871 1.1 christos * tui/tui-layout.h (tui_apply_current_layout): Declare. 872 1.1 christos * tui/tui-layout.c (standard_layouts, applied_layout): New 873 1.1 christos globals. 874 1.1 christos (tui_apply_current_layout): New function. 875 1.1 christos (show_layout): Set applied_layout. Call 876 1.1 christos tui_apply_current_layout. 877 1.1 christos (show_source_command, show_disasm_command) 878 1.1 christos (show_source_disasm_command, show_data) 879 1.1 christos (show_source_or_disasm_and_command): Remove. 880 1.1 christos (initialize_layouts): New function. 881 1.1 christos (_initialize_tui_layout): Call initialize_layouts. 882 1.1 christos 883 1.1 christos 2019-12-11 Tom Tromey <tom (a] tromey.com> 884 1.1 christos 885 1.1 christos * tui/tui-layout.h (class tui_layout_base) 886 1.1 christos (class tui_layout_window, class tui_layout_split): New. 887 1.1 christos * tui/tui-layout.c (tui_get_window_by_name) 888 1.1 christos (tui_layout_window::clone, tui_layout_window::apply) 889 1.1 christos (tui_layout_window::get_sizes, tui_layout_window::add_split) 890 1.1 christos (tui_layout_split::add_window, tui_layout_split::clone) 891 1.1 christos (tui_layout_split::get_sizes) 892 1.1 christos (tui_layout_split::set_weights_from_heights) 893 1.1 christos (tui_layout_split::adjust_size, tui_layout_split::apply): New 894 1.1 christos functions. 895 1.1 christos (tui_layout_split::add_split, tui_layout_split::add_split) 896 1.1 christos (tui_layout_split::set_weights_from_heights) 897 1.1 christos (tui_layout_split::set_weights_from_heights): New functions. 898 1.1 christos 899 1.1 christos 2019-12-11 Tom Tromey <tom (a] tromey.com> 900 1.1 christos 901 1.1 christos * tui/tui-wingeneral.c (tui_gen_win_info::make_window): Update. 902 1.1 christos * tui/tui-win.c (tui_adjust_win_heights, tui_resize_all): Update. 903 1.1 christos * tui/tui-layout.c (tui_gen_win_info::resize): Update. 904 1.1 christos * tui/tui-data.h (struct tui_point): Remove. 905 1.1 christos (struct tui_gen_win_info) <origin>: Remove. 906 1.1 christos <x, y>: New fields. 907 1.1 christos * tui/tui-command.c (tui_cmd_window::resize): Update. 908 1.1 christos 909 1.1 christos 2019-12-11 Tom Tromey <tom (a] tromey.com> 910 1.1 christos 911 1.1 christos * tui/tui-stack.h (struct tui_locator_window) <min_height>: 912 1.1 christos Implement. 913 1.1 christos * tui/tui-regs.h (struct tui_data_item_window) <min_height>: 914 1.1 christos Implement. 915 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <min_height>: New 916 1.1 christos method. 917 1.1 christos (struct tui_win_info) <min_height>: Implement. 918 1.1 christos 919 1.1 christos 2019-12-11 Tom Tromey <tom (a] tromey.com> 920 1.1 christos 921 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <can_box>: New method. 922 1.1 christos (struct tui_win_info) <can_box>: Update. 923 1.1 christos 924 1.1 christos 2019-12-11 Tom Tromey <tom (a] tromey.com> 925 1.1 christos 926 1.1 christos * tui/tui-stack.h (struct tui_locator_window) <max_height>: New 927 1.1 christos method. 928 1.1 christos * tui/tui-regs.h (struct tui_data_item_window) <max_height>: New 929 1.1 christos method. 930 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <max_height>: New 931 1.1 christos method. 932 1.1 christos (struct tui_win_info) <max_height>: Now override. 933 1.1 christos 934 1.1 christos 2019-12-11 Joel Brobecker <brobecker (a] adacore.com> 935 1.1 christos 936 1.1 christos * NEWS: Create a new section for the next release branch. 937 1.1 christos Rename the section of the current branch, now that it has 938 1.1 christos been cut. 939 1.1 christos 940 1.1 christos 2019-12-11 Joel Brobecker <brobecker (a] adacore.com> 941 1.1 christos 942 1.1 christos GDB 9 branch created (27f7b2f64062ac9e52afc60509263c2702a9ebd0): 943 1.1 christos * version.in: Bump version to 10.0.50.DATE-git. 944 1.1 christos 945 1.1 christos 2019-12-11 Tom Tromey <tromey (a] adacore.com> 946 1.1 christos 947 1.1 christos PR build/25268: 948 1.1 christos * gdbsupport/thread-pool.c (set_thread_name): New function. 949 1.1 christos (thread_pool::set_thread_count): Don't call pthread_setname_np. 950 1.1 christos (thread_pool::thread_function): Call set_thread_name. 951 1.1 christos 952 1.1 christos 2019-12-11 Tom Tromey <tromey (a] adacore.com> 953 1.1 christos 954 1.1 christos * fbsd-tdep.c (fbsd_core_info_proc_status): Cast result of 955 1.1 christos bfd_get_signed_8. 956 1.1 christos 957 1.1 christos 2019-12-11 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 958 1.1 christos 959 1.1 christos * NEWS: Document -raw-values option and the related setting commands. 960 1.1 christos * printcmd.c (print_command_parse_format): Do not set opts->raw off, 961 1.1 christos only set it on when /r is given. 962 1.1 christos * valprint.c (value_print_option_defs): New element raw-values. 963 1.1 christos * Makefile.in: Add the new file. 964 1.1 christos 965 1.1 christos 2019-12-10 Christian Biesinger <cbiesinger (a] google.com> 966 1.1 christos 967 1.1 christos * gdbsupport/safe-strerror.c: Supress the unused function warning 968 1.1 christos for select_strerror_r. 969 1.1 christos 970 1.1 christos 2019-12-10 Christian Biesinger <cbiesinger (a] google.com> 971 1.1 christos 972 1.1 christos * config.in: Regenerate. 973 1.1 christos * configure: Regenerate. 974 1.1 christos * gdbsupport/agent.c (gdb_connect_sync_socket): Call 975 1.1 christos safe_strerror instead of strerror. 976 1.1 christos * gdbsupport/common.m4: Don't check for strerror. 977 1.1 christos * gdbsupport/safe-strerror.c: Support both the glibc version 978 1.1 christos of strerror_r and the XSI version. 979 1.1 christos 980 1.1 christos 2019-12-10 Tom Tromey <tromey (a] adacore.com> 981 1.1 christos 982 1.1 christos * ada-typeprint.c (print_choices): Use a single "?". 983 1.1 christos (print_variant_part): Print "?" if the discriminant name 984 1.1 christos is not known. 985 1.1 christos 986 1.1 christos 2019-12-10 George Barrett <bob (a] bob131.so> 987 1.1 christos 988 1.1 christos Fix scripted probe breakpoints. 989 1.1 christos * breakpoint.c (tracepoint_probe_breakpoint_ops): Move 990 1.1 christos declaration forward. 991 1.1 christos (breakpoint_ops_for_event_location_type) 992 1.1 christos (breakpoint_ops_for_event_location): Add function definitions. 993 1.1 christos (break_command_1, trace_command): Use 994 1.1 christos breakpoint_ops_for_event_location. 995 1.1 christos * breakpoint.h (breakpoint_ops_for_event_location): Add function 996 1.1 christos declarations. 997 1.1 christos * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Use 998 1.1 christos breakpoint_ops_for_event_location. 999 1.1 christos * python/py-breakpoint.c (bppy_init): Use 1000 1.1 christos breakpoint_ops_for_event_location. 1001 1.1 christos 1002 1.1 christos 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 1003 1.1 christos 1004 1.1 christos * gdbtypes.c (rank_one_type): Return INCOMPATIBLE_TYPE_BADNESS 1005 1.1 christos when ranking an lvalue argument for an rvalue parameter. 1006 1.1 christos 1007 1.1 christos 2019-12-08 Wataru Ashihara <wataash (a] wataash.com> 1008 1.1 christos 1009 1.1 christos * darwin-nat.c (darwin_nat_target::create_inferior): Fix 1010 1.1 christos template argument for scoped_restore_tmpl from bool to int. 1011 1.1 christos 1012 1.1 christos 2019-12-07 Keith Seitz <keiths (a] redhat.com> 1013 1.1 christos 1014 1.1 christos * build-id.c (build_id_bfd_get): Permit bfd_core, too. 1015 1.1 christos (build_id_to_debug_bfd): Make static, rewriting to use 1016 1.1 christos build_id_to_bfd_suffix. 1017 1.1 christos (build_id_to_bfd_suffix): Copy of build_id_to_debug_bfd, 1018 1.1 christos adding `suffix' parameter. Append SUFFIX to file names 1019 1.1 christos when searching for matching files. 1020 1.1 christos (build_id_to_debug_bfd): Use build_id_to_bfd_suffix. 1021 1.1 christos (build_id_to_exec_bfd): Likewise. 1022 1.1 christos * build-id.h (build_id_to_debug_bfd): Clarify that function 1023 1.1 christos searches for BFD of debug info file. 1024 1.1 christos (build_id_to_exec_bfd): Declare. 1025 1.1 christos * corelow.c: Include build-id.h. 1026 1.1 christos (locate_exec_from_corefile_build_id): New function. 1027 1.1 christos (core_target_open): If no executable BFD is found, 1028 1.1 christos search for a core file BFD using build-id. 1029 1.1 christos 1030 1.1 christos 2019-12-06 Christian Biesinger <cbiesinger (a] google.com> 1031 1.1 christos 1032 1.1 christos * bcache.c: Put in namespace gdb. 1033 1.1 christos * bcache.h: Likewise. 1034 1.1 christos * gdbtypes.c (check_types_worklist): Update. 1035 1.1 christos (types_deeply_equal): Update. 1036 1.1 christos * macrotab.c (struct macro_table) <bcache>: Update. 1037 1.1 christos (new_macro_table): Update. 1038 1.1 christos * macrotab.h (struct bcache): Put this forward declaration 1039 1.1 christos inside namespace gdb. 1040 1.1 christos (new_macro_table): Update. 1041 1.1 christos * objfiles.h (struct objfile_per_bfd_storage) <filename_cache>: 1042 1.1 christos Update. 1043 1.1 christos <macro_cache>: Update. 1044 1.1 christos * psymtab.h: (psymtab_storage) <psymbol_cache>: Update. 1045 1.1 christos 1046 1.1 christos 2019-12-06 Tom de Vries <tdevries (a] suse.de> 1047 1.1 christos 1048 1.1 christos PR symtab/24971 1049 1.1 christos * block.c (best_symbol, better_symbol): New function. 1050 1.1 christos (block_lookup_symbol_primary, block_lookup_symbol): Prefer def over 1051 1.1 christos decl. 1052 1.1 christos 1053 1.1 christos 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 1054 1.1 christos 1055 1.1 christos * gdbtypes.h: Define the REFERENCE_SEE_THROUGH_BADNESS value. 1056 1.1 christos * gdbtypes.c (rank_one_type): Use REFERENCE_SEE_THROUGH_BADNESS 1057 1.1 christos for ranking see-through reference cases. 1058 1.1 christos 1059 1.1 christos 2019-12-06 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 1060 1.1 christos * stack.c (faas_command): Check a command is provided. 1061 1.1 christos * thread.c (taas_command, tfaas_command): Likewise. 1062 1.1 christos 1063 1.1 christos 2019-12-05 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 1064 1.1 christos * inferior.c (prune_inferiors): Only call delete_inferior, 1065 1.1 christos Do not modify the inferior list. 1066 1.1 christos 1067 1.1 christos 2019-12-05 Simon Marchi <simon.marchi (a] polymtl.ca> 1068 1.1 christos 1069 1.1 christos * c-exp.y: Update calls to lookup_typename, 1070 1.1 christos lookup_signed_typename and lookup_unsigned_typename. 1071 1.1 christos * c-lang.c (evaluate_subexp_c): Likewise. 1072 1.1 christos * cp-namespace.c (cp_lookup_symbol_imports_or_template): 1073 1.1 christos Likewise. 1074 1.1 christos * eval.c (binop_promote): Likewise. 1075 1.1 christos * gdbtypes.c (lookup_typename): Remove gdbarch parameter. 1076 1.1 christos (lookup_unsigned_typename): Likewise. 1077 1.1 christos (lookup_signed_typename): Likewise. 1078 1.1 christos * gdbtypes.h (lookup_unsigned_typename): Likewise. 1079 1.1 christos (lookup_signed_typename): Likewise. 1080 1.1 christos (lookup_typename): Likewise. 1081 1.1 christos * guile/scm-type.c (tyscm_lookup_typename): Update calls to 1082 1.1 christos lookup_typename, lookup_signed_typename, 1083 1.1 christos lookup_unsigned_typename. 1084 1.1 christos * m2-exp.y: Likewise. 1085 1.1 christos * printcmd.c (printf_wide_c_string): Likewise. 1086 1.1 christos (ui_printf): Likewise. 1087 1.1 christos * python/py-type.c (typy_lookup_typename): Likewise. 1088 1.1 christos * python/py-xmethods.c (python_xmethod_worker::invoke): 1089 1.1 christos Likewise. 1090 1.1 christos * rust-exp.y: Likewise. 1091 1.1 christos 1092 1.1 christos 2019-12-04 Christian Biesinger <cbiesinger (a] google.com> 1093 1.1 christos 1094 1.1 christos * configure.nat (obsd64): Add missing files x86-nat.o and 1095 1.1 christos nat/x86-dregs.o. 1096 1.1 christos 1097 1.1 christos 2019-12-04 Tom Tromey <tom (a] tromey.com> 1098 1.1 christos 1099 1.1 christos * valprint.c (val_print_string): Use metadata_style. 1100 1.1 christos * go-valprint.c (print_go_string): Use metadata style. 1101 1.1 christos * p-valprint.c (pascal_object_print_static_field): Use metadata 1102 1.1 christos style. 1103 1.1 christos * cp-valprint.c (cp_print_static_field): Use metadata style. 1104 1.1 christos 1105 1.1 christos 2019-12-04 Andrew Burgess <andrew.burgess (a] embecosm.com> 1106 1.1 christos Chris January <chris.january (a] arm.com> 1107 1.1 christos 1108 1.1 christos * f-exp.y (COMPLEX_KEYWORD, SINGLE, DOUBLE, PRECISION): New 1109 1.1 christos tokens. 1110 1.1 christos (typebase): New patterns for complex, single/double precision, and 1111 1.1 christos single/double complex. 1112 1.1 christos (f77_keywords): Change token for complex keyword, and add single, 1113 1.1 christos double, and precision keywords. 1114 1.1 christos 1115 1.1 christos 2019-12-04 Simon Marchi <simon.marchi (a] polymtl.ca> 1116 1.1 christos 1117 1.1 christos * avr-tdep.c (_initialize_avr_tdep): Improve help of command 1118 1.1 christos "info io_registers". 1119 1.1 christos 1120 1.1 christos 2019-12-04 Simon Marchi <simon.marchi (a] polymtl.ca> 1121 1.1 christos 1122 1.1 christos * regcache.c (cooked_read_test): Initialize thread list of 1123 1.1 christos mock_inferior. 1124 1.1 christos 1125 1.1 christos 2019-12-04 Simon Marchi <simon.marchi (a] polymtl.ca> 1126 1.1 christos 1127 1.1 christos * aarch64-linux-tdep.c: Remove includes. 1128 1.1 christos 1129 1.1 christos 2019-12-04 Simon Marchi <simon.marchi (a] polymtl.ca> 1130 1.1 christos 1131 1.1 christos * aarch64-tdep.c: Remove includes. 1132 1.1 christos 1133 1.1 christos 2019-12-04 Simon Marchi <simon.marchi (a] efficios.com> 1134 1.1 christos 1135 1.1 christos * filtered-iterator.h (filtered_iterator) <operator==, 1136 1.1 christos operator!=>: Compare wrapped iterators, not wrapped pointers. 1137 1.1 christos * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add 1138 1.1 christos unittests/filtered_iterator-selftests.c. 1139 1.1 christos * unittests/filtered_iterator-selftests.c: New file. 1140 1.1 christos 1141 1.1 christos 2019-12-04 Tom Tromey <tromey (a] adacore.com> 1142 1.1 christos 1143 1.1 christos * gdbtypes.c (create_range_type): Inherit endianity 1144 1.1 christos from base type. 1145 1.1 christos 1146 1.1 christos 2019-12-04 Tom Tromey <tromey (a] adacore.com> 1147 1.1 christos 1148 1.1 christos * ada-lang.c (decode_constrained_packed_array) 1149 1.1 christos (ada_value_assign, value_assign_to_component): Update. 1150 1.1 christos * dwarf2loc.c (rw_pieced_value, access_memory) 1151 1.1 christos (dwarf2_compile_expr_to_ax): Update. 1152 1.1 christos * dwarf2read.c (dwarf2_add_field): Update. 1153 1.1 christos * eval.c (evaluate_subexp_standard): Update. 1154 1.1 christos * gdbarch.c, gdbarch.h: Rebuild. 1155 1.1 christos * gdbarch.sh (bits_big_endian): Remove. 1156 1.1 christos * gdbtypes.h (union field_location): Update comment. 1157 1.1 christos * target-descriptions.c (make_gdb_type): Update. 1158 1.1 christos * valarith.c (value_bit_index): Update. 1159 1.1 christos * value.c (struct value) <bitpos>: Update comment. 1160 1.1 christos (unpack_bits_as_long, modify_field): Update. 1161 1.1 christos * value.h (value_bitpos): Update comment. 1162 1.1 christos 1163 1.1 christos 2019-12-04 Tom Tromey <tromey (a] adacore.com> 1164 1.1 christos 1165 1.1 christos * gdbtypes.c (type_byte_order): Move earlier. Assert for unknown 1166 1.1 christos endian-ness. 1167 1.1 christos 1168 1.1 christos 2019-12-04 Tom Tromey <tromey (a] adacore.com> 1169 1.1 christos 1170 1.1 christos * dwarf2read.c (dwarf2_init_float_type) 1171 1.1 christos (dwarf2_init_complex_target_type): Add byte_order parameter. 1172 1.1 christos (read_base_type): Compute byte order earlier. 1173 1.1 christos * gdbtypes.c (init_float_type): Add byte_order parameter. 1174 1.1 christos * gdbtypes.h (init_float_type): Add byte_order parameter. 1175 1.1 christos 1176 1.1 christos 2019-12-04 Tom Tromey <tromey (a] adacore.com> 1177 1.1 christos 1178 1.1 christos * unittests/tui-selftests.c: Conditionally include tui-winsource.h. 1179 1.1 christos 1180 1.1 christos 2019-12-04 Tom Tromey <tromey (a] adacore.com> 1181 1.1 christos 1182 1.1 christos * dwarf2read.c (process_structure_scope): Initialize 1183 1.1 christos "discr_offset". 1184 1.1 christos 1185 1.1 christos 2019-12-04 Andrew Burgess <andrew.burgess (a] embecosm.com> 1186 1.1 christos 1187 1.1 christos * mi/mi-symbol-cmds.c (mi_symbol_info): Take extra parameter, and 1188 1.1 christos add it into the search spec. 1189 1.1 christos (parse_max_results_option): New function. 1190 1.1 christos (mi_info_functions_or_variables): Parse -max-results flag and pass 1191 1.1 christos it to mi_symbol_info. 1192 1.1 christos (mi_cmd_symbol_info_modules): Likewise. 1193 1.1 christos (mi_cmd_symbol_info_types): Likewise. 1194 1.1 christos * symtab.c (global_symbol_searcher::add_matching_symbols): Change 1195 1.1 christos return type to bool, change result container into a set, and don't 1196 1.1 christos add new results if we have enough already. 1197 1.1 christos (global_symbol_searcher::add_matching_msymbols): Change return 1198 1.1 christos type to bool, and don't add new results if we have enough already. 1199 1.1 christos (sort_search_symbols_remove_dups): Delete. 1200 1.1 christos (global_symbol_searcher::search): Early exit from search loop when 1201 1.1 christos we have enough results. Use a std::set to collect the results 1202 1.1 christos from calling add_matching_symbols. 1203 1.1 christos * symtab.h (global_symbol_searcher) <set_max_seach_results>: New 1204 1.1 christos member function. 1205 1.1 christos (global_symbol_searcher) <m_max_search_results>: New member 1206 1.1 christos variable. 1207 1.1 christos (global_symbol_searcher) <add_matching_symbols>: Update header 1208 1.1 christos comment and change return type to bool. 1209 1.1 christos (global_symbol_searcher) <add_matching_msymbols>: Update header 1210 1.1 christos comment and change return type to bool. 1211 1.1 christos 1212 1.1 christos 2019-12-04 Andrew Burgess <andrew.burgess (a] embecosm.com> 1213 1.1 christos 1214 1.1 christos * symtab.c (symbol_search::compare_search_syms): Update header 1215 1.1 christos comment. 1216 1.1 christos (global_symbol_searcher::is_suitable_msymbol): New function. 1217 1.1 christos (global_symbol_searcher::expand_symtabs): New function. 1218 1.1 christos (global_symbol_searcher::add_matching_symbols): New function. 1219 1.1 christos (global_symbol_searcher::add_matching_msymbols): New function. 1220 1.1 christos (global_symbol_searcher::search): Move most of the content 1221 1.1 christos into the new functions above, and call them as needed. 1222 1.1 christos * symtab.h (global_symbol_searcher) <expand_symtabs>: New member 1223 1.1 christos function. 1224 1.1 christos (global_symbol_searcher) <add_matching_symbols>: New member 1225 1.1 christos function. 1226 1.1 christos (global_symbol_searcher) <add_matching_msymbols>: New member 1227 1.1 christos function. 1228 1.1 christos (global_symbol_searcher) <is_suitable_msymbol>: New member 1229 1.1 christos function. 1230 1.1 christos 1231 1.1 christos 2019-12-04 Andrew Burgess <andrew.burgess (a] embecosm.com> 1232 1.1 christos 1233 1.1 christos * mi/mi-cmds.c (mi_cmds): Add -symbol-info-module-functions and 1234 1.1 christos -symbol-info-module-variables entries. 1235 1.1 christos * mi/mi-cmds.h (mi_cmd_symbol_info_module_functions): Declare. 1236 1.1 christos (mi_cmd_symbol_info_module_variables): Declare. 1237 1.1 christos * mi/mi-symbol-cmds.c 1238 1.1 christos (module_symbol_search_iterator): New typedef. 1239 1.1 christos (output_module_symbols_in_single_module_and_file): New function. 1240 1.1 christos (output_module_symbols_in_single_module): New function. 1241 1.1 christos (mi_info_module_functions_or_variables): New function. 1242 1.1 christos (mi_cmd_symbol_info_module_functions): New function. 1243 1.1 christos (mi_cmd_symbol_info_module_variables): New function. 1244 1.1 christos * NEWS: Mention new MI command. 1245 1.1 christos 1246 1.1 christos 2019-12-03 Christian Biesinger <cbiesinger (a] google.com> 1247 1.1 christos 1248 1.1 christos * bcache.c (hash): Remove. 1249 1.1 christos (hash_continue): Remove. 1250 1.1 christos * bcache.h (hash): Remove. 1251 1.1 christos (hash_continue): Remove. 1252 1.1 christos (struct bcache) <ctor>: Update. 1253 1.1 christos * psymtab.c (psymbol_hash): Update. 1254 1.1 christos * stabsread.c (hashname): Update. 1255 1.1 christos * utils.h (fast_hash): Add an argument for a start value, 1256 1.1 christos defaulting to zero. 1257 1.1 christos 1258 1.1 christos 2019-12-03 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 1259 1.1 christos * symtab.c (symbol_cache_clear_slot): Move close to cleared type. 1260 1.1 christos (destroy_block_symbol_cache): New function. 1261 1.1 christos (symbol_cache:~symbol_cache) Call destroy_block_symbol_cache. 1262 1.1 christos (resize_symbol_cache): Likewise. 1263 1.1 christos 1264 1.1 christos 2019-12-02 Tom Tromey <tom (a] tromey.com> 1265 1.1 christos 1266 1.1 christos * unittests/tui-selftests.c (run_tests): Make conditional. 1267 1.1 christos (_initialize_tui_selftest): Make conditional. 1268 1.1 christos 1269 1.1 christos 2019-12-02 Christian Biesinger <cbiesinger (a] google.com> 1270 1.1 christos 1271 1.1 christos * aix-thread.c (debug_aix_thread): Change type to bool. 1272 1.1 christos 1273 1.1 christos 2019-12-02 Luis Machado <luis.machado (a] linaro.org> 1274 1.1 christos 1275 1.1 christos * infrun.c (follow_fork_inferior): Remove outdated FIXME comment. 1276 1.1 christos 1277 1.1 christos 2019-12-01 Andrew Burgess <andrew.burgess (a] embecosm.com> 1278 1.1 christos 1279 1.1 christos * dwarf2read.c (read_tag_string_type): Read the fields required to 1280 1.1 christos make a dynamic string, and possibly create a dynamic range for the 1281 1.1 christos string. 1282 1.1 christos (attr_to_dynamic_prop): Setup is_reference based on the type of 1283 1.1 christos attribute being processed. 1284 1.1 christos * gdbtypes.c (is_dynamic_type_internal): Handle TYPE_CODE_STRING. 1285 1.1 christos (resolve_dynamic_array): Rename to... 1286 1.1 christos (resolve_dynamic_array_or_string): ...this, update header comment, 1287 1.1 christos and accept TYPE_CODE_STRING. 1288 1.1 christos (resolve_dynamic_type_internal): Handle TYPE_CODE_STRING. 1289 1.1 christos 1290 1.1 christos 2019-12-01 Andrew Burgess <andrew.burgess (a] embecosm.com> 1291 1.1 christos 1292 1.1 christos * dwarf2read.c (dwarf2_per_cu_int_type): New function, takes most 1293 1.1 christos of its implementation from... 1294 1.1 christos (dwarf2_per_cu_addr_sized_int_type): ...here, which now just calls 1295 1.1 christos the new function. 1296 1.1 christos 1297 1.1 christos 2019-12-01 Andrew Burgess <andrew.burgess (a] embecosm.com> 1298 1.1 christos 1299 1.1 christos * dwarf2read.c (read_subrange_type): Read bit and byte stride and 1300 1.1 christos create a range with stride where appropriate. 1301 1.1 christos * f-valprint.c: Include 'gdbarch.h'. 1302 1.1 christos (f77_print_array_1): Take the stride into account when walking the 1303 1.1 christos array. Also convert the stride into addressable units. 1304 1.1 christos * gdbtypes.c (create_range_type): Initialise the stride to 1305 1.1 christos constant zero. 1306 1.1 christos (create_range_type_with_stride): New function, initialise the 1307 1.1 christos range as normal, and then setup the stride. 1308 1.1 christos (has_static_range): Include the stride here. Also change the 1309 1.1 christos return type to bool. 1310 1.1 christos (create_array_type_with_stride): Consider the range stride if the 1311 1.1 christos array isn't given its own stride. 1312 1.1 christos (resolve_dynamic_range): Resolve the stride if needed. 1313 1.1 christos * gdbtypes.h (struct range_bounds) <stride>: New member variable. 1314 1.1 christos (struct range_bounds) <flag_is_byte_stride>: New member variable. 1315 1.1 christos (TYPE_BIT_STRIDE): Define. 1316 1.1 christos (TYPE_ARRAY_BIT_STRIDE): Define. 1317 1.1 christos (create_range_type_with_stride): Declare. 1318 1.1 christos * valarith.c (value_subscripted_rvalue): Take range stride into 1319 1.1 christos account when walking the array. 1320 1.1 christos 1321 1.1 christos 2019-12-01 Tom Tromey <tom (a] tromey.com> 1322 1.1 christos 1323 1.1 christos * tui/tui-win.c (tui_all_windows_info): Treat inactive TUI 1324 1.1 christos specially. 1325 1.1 christos 1326 1.1 christos 2019-12-01 Tom Tromey <tom (a] tromey.com> 1327 1.1 christos 1328 1.1 christos * tui/tui-winsource.c (tui_copy_source_line): Don't advance past 1329 1.1 christos \0. 1330 1.1 christos * unittests/tui-selftests.c: New file. 1331 1.1 christos * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add tui-selftests.c. 1332 1.1 christos 1333 1.1 christos 2019-12-01 Tom Tromey <tom (a] tromey.com> 1334 1.1 christos 1335 1.1 christos * tui/tui.c (tui_enable): Call tui_update_variables earlier. 1336 1.1 christos 1337 1.1 christos 2019-12-01 Tom Tromey <tom (a] tromey.com> 1338 1.1 christos 1339 1.1 christos * NEWS: Document new settings. 1340 1.1 christos * tui/tui-wingeneral.c (box_win): Apply appropriate border style. 1341 1.1 christos * tui/tui-win.c (_initialize_tui_win): Add border style 1342 1.1 christos observers. 1343 1.1 christos * tui/tui-io.h (tui_apply_style): Declare. 1344 1.1 christos * tui/tui-io.c (tui_apply_style): Rename from apply_style. No 1345 1.1 christos longer static. 1346 1.1 christos (apply_ansi_escape, tui_set_reverse_mode): Update. 1347 1.1 christos * cli/cli-style.h (class cli_style_option) <add_setshow_commands>: 1348 1.1 christos Add "skip_intensity" parameter. 1349 1.1 christos <changed>: New member. 1350 1.1 christos <do_set_value>: Declare. 1351 1.1 christos (tui_border_style, tui_active_border_style): Declare. 1352 1.1 christos * cli/cli-style.c (tui_border_style, tui_active_border_style): New 1353 1.1 christos globals. 1354 1.1 christos (cli_style_option): Initialize "changed". 1355 1.1 christos (cli_style_option::do_set_value): New function. 1356 1.1 christos (cli_style_option::add_setshow_commands): Add "skip_intensity" 1357 1.1 christos parameter. Update. 1358 1.1 christos (STYLE_ADD_SETSHOW_COMMANDS): Add "SKIP" parameter. 1359 1.1 christos (_initialize_cli_style): Update. Create TUI border style 1360 1.1 christos commands. 1361 1.1 christos 1362 1.1 christos 2019-12-01 Tom Tromey <tom (a] tromey.com> 1363 1.1 christos 1364 1.1 christos * tui/tui-winsource.h (tui_copy_source_line): Add "ndigits" 1365 1.1 christos parameter. 1366 1.1 christos * tui/tui-winsource.c (tui_copy_source_line): Add "ndigits" 1367 1.1 christos parameter. 1368 1.1 christos * tui/tui-win.h (compact_source): Declare. 1369 1.1 christos * tui/tui-win.c (compact_source): New global. 1370 1.1 christos (tui_set_compact_source, tui_show_compact_source): New functions. 1371 1.1 christos (_initialize_tui_win): Add "compact-source" setting. 1372 1.1 christos * tui/tui-source.c (tui_source_window::set_contents): Handle 1373 1.1 christos compact_source setting. 1374 1.1 christos * tui/tui-disasm.c (tui_disasm_window::set_contents): Update. 1375 1.1 christos * NEWS: Document new setting. 1376 1.1 christos 1377 1.1 christos 2019-11-30 Tom Tromey <tom (a] tromey.com> 1378 1.1 christos 1379 1.1 christos * dwarf2read.c (dwarf2_add_field): Include field offset when 1380 1.1 christos computing variant part length. 1381 1.1 christos 1382 1.1 christos 2019-11-30 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 1383 1.1 christos * NEWS: Mention define-prefix. Tell that command names can now 1384 1.1 christos contain a . character. 1385 1.1 christos 1386 1.1 christos 2019-11-30 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 1387 1.1 christos 1388 1.1 christos * command.h (valid_cmd_char_p): Declare. 1389 1.1 christos * cli/cli-decode.c (valid_cmd_char_p): New function factorizing 1390 1.1 christos the check of valid command char. 1391 1.1 christos (find_command_name_length, valid_user_defined_cmd_name_p): Use 1392 1.1 christos valid_cmd_char_p. 1393 1.1 christos * cli/cli-script.c (validate_comname): Likewise. 1394 1.1 christos * completer.c (gdb_completer_command_word_break_characters): 1395 1.1 christos Do not remove . from the word break char, update comments. 1396 1.1 christos (complete_line_internal_1): Use valid_cmd_char_p. 1397 1.1 christos * guile/scm-cmd.c (gdbscm_parse_command_name): Likewise. 1398 1.1 christos * python/py-cmd.c (gdbpy_parse_command_name): Likewise. 1399 1.1 christos 1400 1.1 christos 2019-11-30 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 1401 1.1 christos 1402 1.1 christos * cli/cli-script.c (do_define_command): Ensure a redefined 1403 1.1 christos prefix command is kept as a prefix command. 1404 1.1 christos (define_prefix_command): New function. 1405 1.1 christos (show_user_1): Report user defined prefixes. 1406 1.1 christos (_initialize_cli_script): Create the new 'define-prefix' command. 1407 1.1 christos Add completers for 'define' and 'document'. 1408 1.1 christos * top.c (execute_command): If command is a user-defined prefix only 1409 1.1 christos command, report the list of commands for this prefix command. 1410 1.1 christos 1411 1.1 christos 2019-11-29 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 1412 1.1 christos 1413 1.1 christos * valops.c (find_oload_champ): Improve debug output. 1414 1.1 christos 1415 1.1 christos 2019-11-29 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 1416 1.1 christos 1417 1.1 christos * valops.c (find_oload_champ): Print part of debug messages 1418 1.1 christos before the badness vector is std::move'd. 1419 1.1 christos 1420 1.1 christos 2019-11-28 Tom Tromey <tom (a] tromey.com> 1421 1.1 christos 1422 1.1 christos * value.c (creal_internal_fn): Fix comment. 1423 1.1 christos 1424 1.1 christos 2019-11-28 Tom Tromey <tom (a] tromey.com> 1425 1.1 christos 1426 1.1 christos * gdbtypes.h (struct range_bounds) <flag_upper_bound_is_count, 1427 1.1 christos flag_bound_evaluated>: Now unsigned. 1428 1.1 christos 1429 1.1 christos 2019-11-28 Tom Tromey <tom (a] tromey.com> 1430 1.1 christos 1431 1.1 christos * guile/guile-internal.h (vlscm_scm_from_value_unsafe): Don't 1432 1.1 christos declare. 1433 1.1 christos 1434 1.1 christos 2019-11-28 Mihails Strasuns <mihails.strasuns (a] intel.com> 1435 1.1 christos 1436 1.1 christos * jit.c (jit_bfd_try_read_symtab): Fix printed function name in the 1437 1.1 christos debug output. 1438 1.1 christos * jit.c (jit_unregister_code): Add debug print to match 1439 1.1 christos `jit_register_code`. 1440 1.1 christos 1441 1.1 christos 2019-11-27 Christian Biesinger <cbiesinger (a] google.com> 1442 1.1 christos 1443 1.1 christos * NEWS: Mention the new multithreaded symbol loading. 1444 1.1 christos 1445 1.1 christos 2019-11-27 Christian Biesinger <cbiesinger (a] google.com> 1446 1.1 christos 1447 1.1 christos * maint.c (n_worker_threads): Default to 0. 1448 1.1 christos (worker_threads_disabled): New function. 1449 1.1 christos * maint.h (worker_threads_disabled): New function. 1450 1.1 christos * minsyms.c (minimal_symbol_reader::record_full): Call symbol_set_names 1451 1.1 christos here if worker_threads_disabled () is true. 1452 1.1 christos (minimal_symbol_reader::install): Skip all threading if 1453 1.1 christos worker_threads_disabled () is true. 1454 1.1 christos 1455 1.1 christos 2019-11-27 Christian Biesinger <cbiesinger (a] google.com> 1456 1.1 christos 1457 1.1 christos * minsyms.c (add_minsym_to_hash_table): Use a previously computed 1458 1.1 christos hash code if possible. 1459 1.1 christos (add_minsym_to_demangled_hash_table): Likewise. 1460 1.1 christos (minimal_symbol_reader::install): Compute the hash codes for msymbol 1461 1.1 christos on the background thread. 1462 1.1 christos * symtab.h (struct minimal_symbol) <hash_value, demangled_hash_value>: 1463 1.1 christos Add these fields. 1464 1.1 christos 1465 1.1 christos 2019-11-27 Christian Biesinger <cbiesinger (a] google.com> 1466 1.1 christos 1467 1.1 christos * minsyms.c (minimal_symbol_reader::install): Also compute the hash 1468 1.1 christos of the mangled name on the background thread. 1469 1.1 christos * symtab.c (symbol_set_names): Allow passing in the hash of the 1470 1.1 christos linkage_name. 1471 1.1 christos * symtab.h (symbol_set_names): Likewise. 1472 1.1 christos 1473 1.1 christos 2019-11-27 Kevin Buettner <kevinb (a] redhat.com> 1474 1.1 christos 1475 1.1 christos * dwarf2read.c (inherit_abstract_dies): Ensure that delayed 1476 1.1 christos physnames are computed for inherited DIEs. 1477 1.1 christos 1478 1.1 christos 2019-11-27 Tom Tromey <tromey (a] adacore.com> 1479 1.1 christos 1480 1.1 christos * dwarf2read.h (struct dwarf2_per_objfile): Remove unnecessary 1481 1.1 christos backslashes. 1482 1.1 christos * cp-support.c: Remove unnecessary backslashes. 1483 1.1 christos 1484 1.1 christos 2019-11-27 Christian Biesinger <cbiesinger (a] google.com> 1485 1.1 christos 1486 1.1 christos * ada-exp.y (write_ambiguous_var): Replace SYMBOL_SET_LINKAGE_NAME 1487 1.1 christos with sym->set_linkage_name. 1488 1.1 christos * coffread.c (coff_read_enum_type): Likewise. 1489 1.1 christos * mdebugread.c (parse_symbol): Likewise. 1490 1.1 christos * stabsread.c (patch_block_stabs): Likewise. 1491 1.1 christos (define_symbol): Likewise. 1492 1.1 christos (read_enum_type): Likewise. 1493 1.1 christos (common_block_end): Likewise. 1494 1.1 christos * symtab.h (struct general_symbol_info) <set_linkage_name>: New 1495 1.1 christos function. 1496 1.1 christos (SYMBOL_SET_LINKAGE_NAME): Remove. 1497 1.1 christos * xcoffread.c (process_xcoff_symbol): Replace SYMBOL_SET_LINKAGE_NAME 1498 1.1 christos with sym->set_linkage_name. 1499 1.1 christos 1500 1.1 christos 2019-11-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 1501 1.1 christos 1502 1.1 christos * mi/mi-cmds.c (mi_cmds): Add 'symbol-info-modules' entry. 1503 1.1 christos * mi/mi-cmds.h (mi_cmd_symbol_info_modules): Declare. 1504 1.1 christos * mi/mi-symbol-cmds.c (mi_cmd_symbol_info_modules): New function. 1505 1.1 christos * NEWS: Mention new MI command. 1506 1.1 christos 1507 1.1 christos 2019-11-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 1508 1.1 christos 1509 1.1 christos * mi/mi-cmds.c (mi_cmds): Add '-symbol-info-functions', 1510 1.1 christos '-symbol-info-types', and '-symbol-info-variables'. 1511 1.1 christos * mi/mi-cmds.h (mi_cmd_symbol_info_functions): Declare. 1512 1.1 christos (mi_cmd_symbol_info_types): Declare. 1513 1.1 christos (mi_cmd_symbol_info_variables): Declare. 1514 1.1 christos * mi/mi-symbol-cmds.c: Add 'source.h' and 'mi-getopt.h' includes. 1515 1.1 christos (output_debug_symbol): New function. 1516 1.1 christos (output_nondebug_symbol): New function. 1517 1.1 christos (mi_symbol_info): New function. 1518 1.1 christos (mi_info_functions_or_variables): New function. 1519 1.1 christos (mi_cmd_symbol_info_functions): New function. 1520 1.1 christos (mi_cmd_symbol_info_types): New function. 1521 1.1 christos (mi_cmd_symbol_info_variables): New function. 1522 1.1 christos * NEWS: Mention new commands. 1523 1.1 christos 1524 1.1 christos 2019-11-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 1525 1.1 christos 1526 1.1 christos * symtab.c (symbol_to_info_string): New function, most content 1527 1.1 christos moved from print_symbol_info, but updated to return a std::string. 1528 1.1 christos (print_symbol_info): Update to use symbol_to_info_string and print 1529 1.1 christos returned string. 1530 1.1 christos * symtab.h (symbol_to_info_string): Declare new function. 1531 1.1 christos 1532 1.1 christos 2019-11-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 1533 1.1 christos 1534 1.1 christos * python/python.c (gdbpy_rbreak): Convert to using 1535 1.1 christos global_symbol_searcher. 1536 1.1 christos * symtab.c (file_matches): Convert return type to bool, change 1537 1.1 christos file list to std::vector, update header comment. 1538 1.1 christos (search_symbols): Rename to... 1539 1.1 christos (global_symbol_searcher::search): ...this and update now its 1540 1.1 christos a member function of global_symbol_searcher. Take account of the 1541 1.1 christos changes to file_matches. 1542 1.1 christos (symtab_symbol_info): Convert to using global_symbol_searcher. 1543 1.1 christos (rbreak_command): Likewise. 1544 1.1 christos (search_module_symbols): Likewise. 1545 1.1 christos * symtab.h (enum symbol_search): Update comment. 1546 1.1 christos (search_symbols): Remove declaration. 1547 1.1 christos (class global_symbol_searcher): New class. 1548 1.1 christos 1549 1.1 christos 2019-11-26 Tom Tromey <tromey (a] adacore.com> 1550 1.1 christos 1551 1.1 christos * cp-support.c (_initialize_cp_support): Conditionally initialize 1552 1.1 christos gdb_demangle_attempt_core_dump. 1553 1.1 christos 1554 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1555 1.1 christos 1556 1.1 christos * python/py-function.c (fnpy_init): Update. 1557 1.1 christos * value.h (add_internal_function): Adjust declaration. 1558 1.1 christos * value.c (function_destroyer): Remove. 1559 1.1 christos (do_add_internal_function): Don't set destroyer or copy name. 1560 1.1 christos (add_internal_function): Take unique_xmalloc_ptr<char> for name. 1561 1.1 christos Set name_allocated. 1562 1.1 christos * python/py-cmd.c (cmdpy_destroyer): Don't free "name". 1563 1.1 christos (cmdpy_init): Set name_allocated. 1564 1.1 christos * cli/cli-decode.h (struct cmd_list_element) <name_allocated>: New 1565 1.1 christos member. 1566 1.1 christos (~cmd_list_element): Free "name" if needed. 1567 1.1 christos 1568 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1569 1.1 christos 1570 1.1 christos * value.h (add_internal_function): Add new overload. Move 1571 1.1 christos documentation from value.h. 1572 1.1 christos * value.c (do_add_internal_function): New function. 1573 1.1 christos (add_internal_function): Use it. Add new overload. 1574 1.1 christos (function_destroyer): Don't free doc. 1575 1.1 christos * python/py-function.c (fnpy_init): Update. 1576 1.1 christos 1577 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1578 1.1 christos 1579 1.1 christos * python/py-cmd.c (cmdpy_destroyer): Don't free "doc". 1580 1.1 christos (cmdpy_init): Set "doc_allocated". 1581 1.1 christos 1582 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1583 1.1 christos 1584 1.1 christos * gdbsupport/thread-pool.c (thread_pool::set_thread_count): Set 1585 1.1 christos name of worker thread. 1586 1.1 christos * gdbsupport/common.m4 (GDB_AC_COMMON): Check for 1587 1.1 christos pthread_setname_np. 1588 1.1 christos * configure, config.in: Rebuild. 1589 1.1 christos 1590 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1591 1.1 christos 1592 1.1 christos * python/python.c (class gdbpy_gil): New. 1593 1.1 christos (struct gdbpy_event): Add constructor, destructor, operator(). 1594 1.1 christos (gdbpy_post_event): Use run_on_main_thread. 1595 1.1 christos (gdbpy_initialize_events): Remove. 1596 1.1 christos (do_start_initialization): Update. 1597 1.1 christos 1598 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1599 1.1 christos 1600 1.1 christos * NEWS: Add entry. 1601 1.1 christos * maint.c (_initialize_maint_cmds): Add "worker-threads" maint 1602 1.1 christos commands. Call update_thread_pool_size. 1603 1.1 christos (update_thread_pool_size, maintenance_set_worker_threads): New 1604 1.1 christos functions. 1605 1.1 christos (n_worker_threads): New global. 1606 1.1 christos 1607 1.1 christos 2019-11-26 Christian Biesinger <cbiesinger (a] google.com> 1608 1.1 christos Tom Tromey <tom (a] tromey.com> 1609 1.1 christos 1610 1.1 christos * minsyms.c (minimal_symbol_reader::install): Use 1611 1.1 christos parallel_for_each. 1612 1.1 christos * gdbsupport/parallel-for.h: New file. 1613 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Add gdbsupport/parallel-for.h. 1614 1.1 christos 1615 1.1 christos 2019-11-26 Christian Biesinger <cbiesinger (a] google.com> 1616 1.1 christos Tom Tromey <tom (a] tromey.com> 1617 1.1 christos 1618 1.1 christos * gdbsupport/thread-pool.h: New file. 1619 1.1 christos * gdbsupport/thread-pool.c: New file. 1620 1.1 christos * Makefile.in (COMMON_SFILES): Add thread-pool.c. 1621 1.1 christos (HFILES_NO_SRCDIR): Add thread-pool.h. 1622 1.1 christos 1623 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1624 1.1 christos 1625 1.1 christos * event-top.h (thread_local_segv_handler): Declare. 1626 1.1 christos * event-top.c (thread_local_segv_handler): New global. 1627 1.1 christos (install_handle_sigsegv, handle_sigsegv): New functions. 1628 1.1 christos (async_init_signals): Install SIGSEGV handler. 1629 1.1 christos * cp-support.c (gdb_demangle_jmp_buf): Change type. Now 1630 1.1 christos thread-local. 1631 1.1 christos (report_failed_demangle): New function. 1632 1.1 christos (gdb_demangle): Make core_dump_allowed atomic. Remove signal 1633 1.1 christos handler-setting code, instead use segv_handler. Run warning code 1634 1.1 christos on main thread. 1635 1.1 christos 1636 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1637 1.1 christos 1638 1.1 christos * run-on-main-thread.c: New file. 1639 1.1 christos * run-on-main-thread.h: New file. 1640 1.1 christos * unittests/main-thread-selftests.c: New file. 1641 1.1 christos * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add 1642 1.1 christos main-thread-selftests.c. 1643 1.1 christos (HFILES_NO_SRCDIR): Add run-on-main-thread.h. 1644 1.1 christos (COMMON_SFILES): Add run-on-main-thread.c. 1645 1.1 christos 1646 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1647 1.1 christos 1648 1.1 christos * main.c (setup_alternate_signal_stack): Remove. 1649 1.1 christos (captured_main_1): Use gdb::alternate_signal_stack. 1650 1.1 christos * gdbsupport/alt-stack.h: New file. 1651 1.1 christos 1652 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1653 1.1 christos 1654 1.1 christos * gdbsupport/signals-state-save-restore.c (original_signal_mask): 1655 1.1 christos Remove comment. 1656 1.1 christos (save_original_signals_state, restore_original_signals_state): Use 1657 1.1 christos gdb_sigmask. 1658 1.1 christos * linux-nat.c (block_child_signals, restore_child_signals_mask) 1659 1.1 christos (_initialize_linux_nat): Use gdb_sigmask. 1660 1.1 christos * guile/guile.c (_initialize_guile): Use block_signals. 1661 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Add gdb-sigmask.h. 1662 1.1 christos * gdbsupport/gdb-sigmask.h: New file. 1663 1.1 christos * event-top.c (async_sigtstp_handler): Use gdb_sigmask. 1664 1.1 christos * cp-support.c (gdb_demangle): Use gdb_sigmask. 1665 1.1 christos * gdbsupport/common.m4 (GDB_AC_COMMON): Check for 1666 1.1 christos pthread_sigmask. 1667 1.1 christos * configure, config.in: Rebuild. 1668 1.1 christos * gdbsupport/block-signals.h: New file. 1669 1.1 christos 1670 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1671 1.1 christos 1672 1.1 christos * acinclude.m4: Include ax_pthread.m4. 1673 1.1 christos * Makefile.in (PTHREAD_CFLAGS, PTHREAD_LIBS): New variables. 1674 1.1 christos (INTERNAL_CFLAGS_BASE): Use PTHREAD_CFLAGS. 1675 1.1 christos (CLIBS): Use PTHREAD_LIBS. 1676 1.1 christos (aclocal_m4_deps): Add ax_pthread.m4. 1677 1.1 christos * config.in, configure: Rebuild. 1678 1.1 christos * gdbsupport/common.m4 (GDB_AC_COMMON): Check for std::thread. 1679 1.1 christos 1680 1.1 christos 2019-11-26 Tom Tromey <tom (a] tromey.com> 1681 1.1 christos 1682 1.1 christos * symtab.h (struct minimal_symbol) <name_set>: New member. 1683 1.1 christos * minsyms.c (minimal_symbol_reader::record_full): Copy name. 1684 1.1 christos Don't call symbol_set_names. 1685 1.1 christos (minimal_symbol_reader::install): Call symbol_set_names. 1686 1.1 christos 1687 1.1 christos 2019-11-26 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 1688 1.1 christos 1689 1.1 christos * python/python.c (gdbpy_enter::~gdbpy_enter): Release GIL after 1690 1.1 christos restore_active_ext_lang, as GIL is needed for (indirectly) 1691 1.1 christos called PyOS_InterruptOccurred. 1692 1.1 christos 1693 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1694 1.1 christos 1695 1.1 christos * sparc-nat.c (sparc_xfer_wcookie): Sync declaration with 1696 1.1 christos definition. 1697 1.1 christos 1698 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1699 1.1 christos 1700 1.1 christos * remote-sim.c (simulator_command): Make static, remove 1701 1.1 christos declaration. 1702 1.1 christos 1703 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1704 1.1 christos 1705 1.1 christos * unittests/array-view-selftests.c (check_ptr_size_ctor2): Make 1706 1.1 christos static. 1707 1.1 christos * unittests/basic_string_view/capacity/1.cc (test01): Likewise. 1708 1.1 christos * unittests/basic_string_view/cons/char/1.cc (test01): Likewise. 1709 1.1 christos (main): Likewise. 1710 1.1 christos * unittests/basic_string_view/cons/char/2.cc (test03): Likewise. 1711 1.1 christos (main): Likewise. 1712 1.1 christos * unittests/basic_string_view/cons/char/3.cc (test05): Likewise. 1713 1.1 christos (main): Likewise. 1714 1.1 christos * unittests/basic_string_view/element_access/char/1.cc (test01): 1715 1.1 christos Likewise. 1716 1.1 christos (main): Likewise. 1717 1.1 christos * unittests/basic_string_view/element_access/char/empty.cc (main): 1718 1.1 christos Likewise. 1719 1.1 christos * unittests/basic_string_view/element_access/char/front_back.cc 1720 1.1 christos (test01): Likewise. 1721 1.1 christos (main): Likewise. 1722 1.1 christos * unittests/basic_string_view/inserters/char/2.cc (test05): 1723 1.1 christos Likewise. 1724 1.1 christos (main): Likewise. 1725 1.1 christos * unittests/basic_string_view/modifiers/remove_prefix/char/1.cc 1726 1.1 christos (test01): Likewise. 1727 1.1 christos (main): Likewise. 1728 1.1 christos * unittests/basic_string_view/modifiers/remove_suffix/char/1.cc 1729 1.1 christos (test01): Likewise. 1730 1.1 christos (main): Likewise. 1731 1.1 christos * unittests/basic_string_view/modifiers/swap/char/1.cc (test01): 1732 1.1 christos Likewise. 1733 1.1 christos * unittests/basic_string_view/operations/compare/char/1.cc 1734 1.1 christos (test01): Likewise. 1735 1.1 christos (main): Likewise. 1736 1.1 christos * unittests/basic_string_view/operations/compare/char/13650.cc 1737 1.1 christos (test01): Likewise. 1738 1.1 christos * unittests/basic_string_view/operations/copy/char/1.cc (test01): 1739 1.1 christos Likewise. 1740 1.1 christos (main): Likewise. 1741 1.1 christos * unittests/basic_string_view/operations/data/char/1.cc (test01): 1742 1.1 christos Likewise. 1743 1.1 christos (main): Likewise. 1744 1.1 christos * unittests/basic_string_view/operations/find/char/1.cc (test01): 1745 1.1 christos Likewise. 1746 1.1 christos (main): Likewise. 1747 1.1 christos * unittests/basic_string_view/operations/find/char/2.cc (test02): 1748 1.1 christos Likewise. 1749 1.1 christos (main): Likewise. 1750 1.1 christos * unittests/basic_string_view/operations/find/char/3.cc (test03): 1751 1.1 christos Likewise. 1752 1.1 christos (main): Likewise. 1753 1.1 christos * unittests/basic_string_view/operations/find/char/4.cc (main): 1754 1.1 christos Likewise. 1755 1.1 christos * unittests/basic_string_view/operations/rfind/char/1.cc (test01): 1756 1.1 christos Likewise. 1757 1.1 christos (main): Likewise. 1758 1.1 christos * unittests/basic_string_view/operations/rfind/char/2.cc (test02): 1759 1.1 christos Likewise. 1760 1.1 christos (main): Likewise. 1761 1.1 christos * unittests/basic_string_view/operations/rfind/char/3.cc (test03): 1762 1.1 christos Likewise. 1763 1.1 christos (main): Likewise. 1764 1.1 christos * unittests/basic_string_view/operations/substr/char/1.cc 1765 1.1 christos (test01): Likewise. 1766 1.1 christos (main): Likewise. 1767 1.1 christos * unittests/basic_string_view/operators/char/2.cc (main): 1768 1.1 christos Likewise. 1769 1.1 christos * unittests/optional/assignment/1.cc (test): Likewise. 1770 1.1 christos * unittests/optional/assignment/2.cc (test): Likewise. 1771 1.1 christos * unittests/optional/assignment/3.cc (test): Likewise. 1772 1.1 christos * unittests/optional/assignment/4.cc (test): Likewise. 1773 1.1 christos * unittests/optional/assignment/5.cc (test): Likewise. 1774 1.1 christos * unittests/optional/assignment/6.cc (test): Likewise. 1775 1.1 christos * unittests/optional/assignment/7.cc (test): Likewise. 1776 1.1 christos * unittests/optional/cons/copy.cc (test): Likewise. 1777 1.1 christos * unittests/optional/cons/default.cc (test): Likewise. 1778 1.1 christos * unittests/optional/cons/move.cc (test): Likewise. 1779 1.1 christos * unittests/optional/cons/value.cc (test): Likewise. 1780 1.1 christos * unittests/optional/in_place.cc (test): Likewise. 1781 1.1 christos * unittests/optional/observers/1.cc (test): Likewise. 1782 1.1 christos * unittests/optional/observers/2.cc (test): Likewise. 1783 1.1 christos 1784 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1785 1.1 christos 1786 1.1 christos * tui-win.h (tui_set_var_cmd): Remove. 1787 1.1 christos * tui-win.c (tui_set_var_cmd): Make static. 1788 1.1 christos 1789 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1790 1.1 christos 1791 1.1 christos * breakpoint.h (hbreak_command_wrapper, thbreak_command_wrapper, 1792 1.1 christos rbreak_command_wrapper): Remove. 1793 1.1 christos * symtab.c (rbreak_command_wrapper): Remove. 1794 1.1 christos 1795 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1796 1.1 christos 1797 1.1 christos * inferior.h (info_terminal_command): Remove declaration. 1798 1.1 christos * inflow.c (info_terminal_command): Make static. 1799 1.1 christos 1800 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1801 1.1 christos 1802 1.1 christos * inferior.c (exit_inferior_silent): Remove. 1803 1.1 christos 1804 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1805 1.1 christos 1806 1.1 christos * dictionary.c (dict_empty, mdict_empty): Remove. 1807 1.1 christos * dictionary.c (mdict_empty): Remove. 1808 1.1 christos 1809 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1810 1.1 christos 1811 1.1 christos * arc-tdep.c (arc_insn_get_memory_base_reg): Make static. 1812 1.1 christos (arc_insn_get_memory_offset): Likewise. 1813 1.1 christos (arc_insn_dump): Likewise. 1814 1.1 christos * cp-support.c (test_cp_symbol_name_matches): Likewise. 1815 1.1 christos * csky-linux-tdep.c (csky_supply_fregset): Likewise. 1816 1.1 christos * dictionary.c (dict_iterator_next): Likewise. 1817 1.1 christos (dict_iter_match_first): Likewise. 1818 1.1 christos (dict_iter_match_next): Likewise. 1819 1.1 christos * f-lang.c (evaluate_subexp_f): Likewise. 1820 1.1 christos * hppa-tdep.c (hppa_read_pc): Likewise. 1821 1.1 christos * i386-tdep.c (i386_floatformat_for_type): Likewise. 1822 1.1 christos * parse.c (write_exp_elt_msym): Likewise. 1823 1.1 christos * ppc-linux-tdep.c (ppc_floatformat_for_type): Likewise. 1824 1.1 christos * remote.c (remote_packet_size): Likewise. 1825 1.1 christos (remote_notif_stop_parse): Likewise. 1826 1.1 christos * rs6000-aix-tdep.c (aix_sighandle_frame_sniffer): Likewise. 1827 1.1 christos * s12z-tdep.c (s12z_disassemble_info): Likewise. 1828 1.1 christos * source.c (prepare_path_for_appending): Likewise. 1829 1.1 christos * sparc64-linux-tdep.c 1830 1.1 christos (sparc64_linux_handle_segmentation_fault); Likewise. 1831 1.1 christos * stack.c (frame_selection_by_function_completer): Likewise. 1832 1.1 christos 1833 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1834 1.1 christos 1835 1.1 christos * completer.c (set_gdb_completion_word_break_characters): 1836 1.1 christos Remove. 1837 1.1 christos 1838 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1839 1.1 christos 1840 1.1 christos * dwarf-index-write.c: Include dwarf-index-write.h. 1841 1.1 christos * mi/mi-interp.c: Include mi/mi-interp.h. 1842 1.1 christos 1843 1.1 christos 2019-11-26 Simon Marchi <simon.marchi (a] efficios.com> 1844 1.1 christos 1845 1.1 christos * aarch32-tdep.c: Include aarch32-tdep.h. 1846 1.1 christos * aarch32-tdep.h: Forward-declare struct target_desc. 1847 1.1 christos 1848 1.1 christos 2019-11-26 Christian Biesinger <cbiesinger (a] google.com> 1849 1.1 christos 1850 1.1 christos * linux-nat.c (detach_one_lwp): Call safe_strerror instead of 1851 1.1 christos strerror. 1852 1.1 christos * nto-procfs.c (nto_procfs_target::create_inferior): Likewise. 1853 1.1 christos * windows-nat.c (windows_nat_target::create_inferior): Likewise. 1854 1.1 christos 1855 1.1 christos 2019-11-25 Tom de Vries <tdevries (a] suse.de> 1856 1.1 christos 1857 1.1 christos * contrib/words.sh: Add -c option. 1858 1.1 christos 1859 1.1 christos 2019-11-25 Christian Biesinger <cbiesinger (a] google.com> 1860 1.1 christos 1861 1.1 christos * solib.c (solib_find_1): Change int to bool. 1862 1.1 christos (exec_file_find): Change int to bool. 1863 1.1 christos (solib_find): Change int to bool. 1864 1.1 christos (solib_read_symbols): Change int to bool. 1865 1.1 christos (solib_used): Change int to bool. 1866 1.1 christos (solib_add): Change int to bool. 1867 1.1 christos (info_sharedlibrary_command): Change int to bool. 1868 1.1 christos (solib_contains_address_p): Change int to bool. 1869 1.1 christos (solib_keep_data_in_core): Change int to bool. 1870 1.1 christos (in_solib_dynsym_resolve_code): Change int to bool. 1871 1.1 christos (reload_shared_libraries_1): Change int to bool. 1872 1.1 christos (gdb_sysroot_changed): Change int to bool. 1873 1.1 christos * solib.h (solib_read_symbols): Change int to bool. 1874 1.1 christos (solib_contains_address_p): Change int to bool. 1875 1.1 christos (solib_keep_data_in_core): Change int to bool. 1876 1.1 christos (in_solib_dynsym_resolve_code): Change int to bool. 1877 1.1 christos (libpthread_name_p): Change int to bool. 1878 1.1 christos 1879 1.1 christos 2019-11-25 Luis Machado <luis.machado (a] linaro.org> 1880 1.1 christos 1881 1.1 christos * NEWS (New Commands): Mention "set debug remote-packet-max-chars". 1882 1.1 christos * remote.c (REMOTE_DEBUG_MAX_CHAR): Remove. 1883 1.1 christos (remote_packet_max_chars): New static global. 1884 1.1 christos (show_remote_packet_max_chars): New function. 1885 1.1 christos (remote_target::putpkt_binary): Adjust to use new 1886 1.1 christos remote_packet_max_chars option. 1887 1.1 christos (remote_target::getpkt_or_notif_sane_1): Likewise. 1888 1.1 christos (_initialize_remote): Register new remote-packet-max-chars option. 1889 1.1 christos 1890 1.1 christos 2019-11-24 Simon Marchi <simon.marchi (a] efficios.com> 1891 1.1 christos 1892 1.1 christos * m68k-linux-nat.c: Include gdbarch.h. 1893 1.1 christos 1894 1.1 christos 2019-11-24 Tom Tromey <tom (a] tromey.com> 1895 1.1 christos 1896 1.1 christos * symfile.c (read_symbols): Update. 1897 1.1 christos * psymtab.c (require_partial_symbols): Change type of "verbose" to 1898 1.1 christos bool. 1899 1.1 christos (psym_map_symtabs_matching_filename, find_pc_sect_psymtab) 1900 1.1 christos (psym_lookup_symbol, psym_find_last_source_symtab) 1901 1.1 christos (psym_forget_cached_source_info, psym_print_stats) 1902 1.1 christos (psym_expand_symtabs_for_function, psym_expand_all_symtabs) 1903 1.1 christos (psym_expand_symtabs_with_fullname, psym_map_symbol_filenames) 1904 1.1 christos (psym_map_matching_symbols, psym_expand_symtabs_matching) 1905 1.1 christos (psym_find_compunit_symtab_by_address) 1906 1.1 christos (maintenance_print_psymbols, maintenance_info_psymtabs) 1907 1.1 christos (maintenance_check_psymtabs): Update. 1908 1.1 christos * psymtab.h (require_partial_symbols): Change type of "verbose" to 1909 1.1 christos bool. 1910 1.1 christos 1911 1.1 christos 2019-11-22 Tom Tromey <tom (a] tromey.com> 1912 1.1 christos 1913 1.1 christos * observable.h: Update comments. 1914 1.1 christos 1915 1.1 christos 2019-11-22 Tom Tromey <tromey (a] adacore.com> 1916 1.1 christos 1917 1.1 christos * ada-tasks.c (ada_task_is_alive): Make parameter const. 1918 1.1 christos (print_ada_task_info): Don't try to fetch thread id if task is not 1919 1.1 christos alive. 1920 1.1 christos 1921 1.1 christos 2019-11-22 Christian Biesinger <cbiesinger (a] google.com> 1922 1.1 christos 1923 1.1 christos * ada-exp.y: Update. 1924 1.1 christos * ada-lang.c (sort_choices): Update. 1925 1.1 christos (ada_print_symbol_signature): Update. 1926 1.1 christos (resolve_subexp): Update. 1927 1.1 christos (ada_parse_renaming): Update. 1928 1.1 christos (ada_read_renaming_var_value): Update. 1929 1.1 christos (lesseq_defined_than): Update. 1930 1.1 christos (remove_extra_symbols): Update. 1931 1.1 christos (remove_irrelevant_renamings): Update. 1932 1.1 christos (ada_add_block_symbols): Update. 1933 1.1 christos (ada_collect_symbol_completion_matches): Update. 1934 1.1 christos (ada_is_renaming_symbol): Update. 1935 1.1 christos (aggregate_assign_from_choices): Update. 1936 1.1 christos (ada_evaluate_subexp): Update. 1937 1.1 christos (ada_has_this_exception_support): Update. 1938 1.1 christos (ada_is_non_standard_exception_sym): Update. 1939 1.1 christos (ada_add_exceptions_from_frame): Update. 1940 1.1 christos (ada_add_global_exceptions): Update. 1941 1.1 christos (ada_print_subexp): Update. 1942 1.1 christos * ax-gdb.c (gen_var_ref): Update. 1943 1.1 christos (gen_maybe_namespace_elt): Update. 1944 1.1 christos (gen_expr_for_cast): Update. 1945 1.1 christos (gen_expr): Update. 1946 1.1 christos * block.h: Update. 1947 1.1 christos * blockframe.c (find_pc_partial_function): Update. 1948 1.1 christos * breakpoint.c (print_breakpoint_location): Update. 1949 1.1 christos (update_static_tracepoint): Update. 1950 1.1 christos * btrace.c (ftrace_print_function_name): Update. 1951 1.1 christos (ftrace_function_switched): Update. 1952 1.1 christos * buildsym.c (find_symbol_in_list): Update. 1953 1.1 christos * c-exp.y: Update. 1954 1.1 christos * c-typeprint.c (c_print_typedef): Update. 1955 1.1 christos (c_type_print_template_args): Update. 1956 1.1 christos * cli/cli-cmds.c (edit_command): Update. 1957 1.1 christos (list_command): Update. 1958 1.1 christos (print_sal_location): Update. 1959 1.1 christos * coffread.c (patch_opaque_types): Update. 1960 1.1 christos (process_coff_symbol): Update. 1961 1.1 christos (coff_read_enum_type): Update. 1962 1.1 christos * compile/compile-c-symbols.c (c_symbol_substitution_name): Update. 1963 1.1 christos (convert_one_symbol): Update. 1964 1.1 christos (hash_symname): Update. 1965 1.1 christos (eq_symname): Update. 1966 1.1 christos * compile/compile-cplus-symbols.c (convert_one_symbol): Update. 1967 1.1 christos * compile/compile-cplus-types.c (debug_print_scope): Update. 1968 1.1 christos * compile/compile-loc2c.c (do_compile_dwarf_expr_to_c): Update. 1969 1.1 christos * compile/compile-object-load.c (get_out_value_type): Update. 1970 1.1 christos * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. 1971 1.1 christos (search_symbol_list): Update. 1972 1.1 christos (cp_lookup_symbol_imports_or_template): Update. 1973 1.1 christos * cp-support.c (overload_list_add_symbol): Update. 1974 1.1 christos * ctfread.c (psymtab_to_symtab): Update. 1975 1.1 christos * dbxread.c (cp_set_block_scope): Update. 1976 1.1 christos * dictionary.c (iter_match_first_hashed): Update. 1977 1.1 christos (iter_match_next_hashed): Update. 1978 1.1 christos (insert_symbol_hashed): Update. 1979 1.1 christos (iter_match_next_linear): Update. 1980 1.1 christos * dictionary.h: Update. 1981 1.1 christos * dwarf2loc.c (func_get_frame_base_dwarf_block): Update. 1982 1.1 christos (locexpr_describe_location_piece): Update. 1983 1.1 christos (locexpr_describe_location_1): Update. 1984 1.1 christos (locexpr_generate_c_location): Update. 1985 1.1 christos (loclist_describe_location): Update. 1986 1.1 christos (loclist_generate_c_location): Update. 1987 1.1 christos * dwarf2read.c (dw2_debug_names_lookup_symbol): Update. 1988 1.1 christos (read_func_scope): Update. 1989 1.1 christos (process_enumeration_scope): Update. 1990 1.1 christos (new_symbol): Update. 1991 1.1 christos (dwarf2_const_value): Update. 1992 1.1 christos (dwarf2_symbol_mark_computed): Update. 1993 1.1 christos * eval.c (evaluate_funcall): Update. 1994 1.1 christos (evaluate_subexp_standard): Update. 1995 1.1 christos * expprint.c (print_subexp_standard): Update. 1996 1.1 christos (dump_subexp_body_standard): Update. 1997 1.1 christos * f-valprint.c (info_common_command_for_block): Update. 1998 1.1 christos * findvar.c (get_hosting_frame): Update. 1999 1.1 christos (default_read_var_value): Update. 2000 1.1 christos * go-lang.c (go_symbol_package_name): Update. 2001 1.1 christos * guile/scm-block.c (bkscm_print_block_smob): Update. 2002 1.1 christos * guile/scm-symbol.c (syscm_print_symbol_smob): Update. 2003 1.1 christos (gdbscm_symbol_name): Update. 2004 1.1 christos (gdbscm_symbol_linkage_name): Update. 2005 1.1 christos (gdbscm_symbol_print_name): Update. 2006 1.1 christos * infcall.c (get_function_name): Update. 2007 1.1 christos * infcmd.c (jump_command): Update. 2008 1.1 christos (finish_command): Update. 2009 1.1 christos * infrun.c (insert_exception_resume_breakpoint): Update. 2010 1.1 christos * linespec.c (canonicalize_linespec): Update. 2011 1.1 christos (create_sals_line_offset): Update. 2012 1.1 christos (convert_linespec_to_sals): Update. 2013 1.1 christos (complete_label): Update. 2014 1.1 christos (find_label_symbols_in_block): Update. 2015 1.1 christos * m2-typeprint.c (m2_print_typedef): Update. 2016 1.1 christos * mdebugread.c (mdebug_reg_to_regnum): Update. 2017 1.1 christos (parse_symbol): Update. 2018 1.1 christos (mylookup_symbol): Update. 2019 1.1 christos * mi/mi-cmd-stack.c (list_arg_or_local): Update. 2020 1.1 christos (list_args_or_locals): Update. 2021 1.1 christos * objc-lang.c (compare_selectors): Update. 2022 1.1 christos (info_selectors_command): Update. 2023 1.1 christos (compare_classes): Update. 2024 1.1 christos (info_classes_command): Update. 2025 1.1 christos (find_imps): Update. 2026 1.1 christos * p-typeprint.c (pascal_print_typedef): Update. 2027 1.1 christos * printcmd.c (build_address_symbolic): Update. 2028 1.1 christos (info_address_command): Update. 2029 1.1 christos (print_variable_and_value): Update. 2030 1.1 christos * python/py-framefilter.c (extract_sym): Update. 2031 1.1 christos (py_print_single_arg): Update. 2032 1.1 christos * python/py-symbol.c (sympy_str): Update. 2033 1.1 christos (sympy_get_name): Update. 2034 1.1 christos (sympy_get_linkage_name): Update. 2035 1.1 christos * python/python.c (gdbpy_rbreak): Update. 2036 1.1 christos * record-btrace.c (btrace_get_bfun_name): Update. 2037 1.1 christos (btrace_call_history): Update. 2038 1.1 christos * rust-lang.c (rust_print_typedef): Update. 2039 1.1 christos * solib-frv.c (frv_fdpic_find_canonical_descriptor): Update. 2040 1.1 christos * stabsread.c (stab_reg_to_regnum): Update. 2041 1.1 christos (define_symbol): Update. 2042 1.1 christos (read_enum_type): Update. 2043 1.1 christos (common_block_end): Update. 2044 1.1 christos (cleanup_undefined_types_1): Update. 2045 1.1 christos (scan_file_globals): Update. 2046 1.1 christos * stack.c (print_frame_arg): Update. 2047 1.1 christos (print_frame_args): Update. 2048 1.1 christos (find_frame_funname): Update. 2049 1.1 christos (info_frame_command_core): Update. 2050 1.1 christos (iterate_over_block_locals): Update. 2051 1.1 christos (print_block_frame_labels): Update. 2052 1.1 christos (do_print_variable_and_value): Update. 2053 1.1 christos (iterate_over_block_arg_vars): Update. 2054 1.1 christos (return_command): Update. 2055 1.1 christos * symmisc.c (dump_symtab_1): Update. 2056 1.1 christos (print_symbol): Update. 2057 1.1 christos * symtab.c (eq_symbol_entry): Update. 2058 1.1 christos (symbol_cache_dump): Update. 2059 1.1 christos (lookup_language_this): Update. 2060 1.1 christos (find_pc_sect_line): Update. 2061 1.1 christos (skip_prologue_sal): Update. 2062 1.1 christos (symbol_search::compare_search_syms): Update. 2063 1.1 christos (treg_matches_sym_type_name): Update. 2064 1.1 christos (search_symbols): Update. 2065 1.1 christos (print_symbol_info): Update. 2066 1.1 christos (rbreak_command): Update. 2067 1.1 christos (completion_list_add_symbol): Update. 2068 1.1 christos (find_gnu_ifunc): Update. 2069 1.1 christos (get_symbol_address): Update. 2070 1.1 christos (search_module_symbols): Update. 2071 1.1 christos (info_module_subcommand): Update. 2072 1.1 christos * symtab.h (SYMBOL_NATURAL_NAME): Remove. 2073 1.1 christos (SYMBOL_LINKAGE_NAME): Remove. 2074 1.1 christos (SYMBOL_DEMANGLED_NAME): Remove. 2075 1.1 christos (SYMBOL_PRINT_NAME): Remove. 2076 1.1 christos (SYMBOL_SEARCH_NAME): Remove. 2077 1.1 christos * tracepoint.c (set_traceframe_context): Update. 2078 1.1 christos (validate_actionline): Update. 2079 1.1 christos (collection_list::collect_symbol): Update. 2080 1.1 christos (encode_actions_1): Update. 2081 1.1 christos (info_scope_command): Update. 2082 1.1 christos (print_one_static_tracepoint_marker): Update. 2083 1.1 christos * typeprint.c (typedef_hash_table::add_template_parameters): Update. 2084 1.1 christos * valops.c (address_of_variable): Update. 2085 1.1 christos (find_overload_match): Update. 2086 1.1 christos (find_oload_champ): Update. 2087 1.1 christos 2088 1.1 christos 2019-11-22 Christian Biesinger <cbiesinger (a] google.com> 2089 1.1 christos 2090 1.1 christos * ada-lang.c (ada_lookup_simple_minsym): Update. 2091 1.1 christos (ada_collect_symbol_completion_matches): Update. 2092 1.1 christos * ada-tasks.c (read_atcb): Update. 2093 1.1 christos * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. 2094 1.1 christos (amd64_windows_skip_trampoline_code): Update. 2095 1.1 christos * arm-tdep.c (skip_prologue_function): Update. 2096 1.1 christos (arm_skip_stack_protector): Update. 2097 1.1 christos * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. 2098 1.1 christos (arm_wince_skip_main_prologue): Update. 2099 1.1 christos * ax-gdb.c (gen_expr): Update. 2100 1.1 christos * block.c (call_site_for_pc): Update. 2101 1.1 christos * blockframe.c (find_pc_partial_function): Update. 2102 1.1 christos * breakpoint.c (set_breakpoint_location_function): Update. 2103 1.1 christos * btrace.c (ftrace_print_function_name): Update. 2104 1.1 christos (ftrace_function_switched): Update. 2105 1.1 christos * c-valprint.c (print_unpacked_pointer): Update. 2106 1.1 christos * coffread.c (coff_symfile_read): Update. 2107 1.1 christos * compile/compile-c-symbols.c (convert_symbol_bmsym): Update. 2108 1.1 christos * compile/compile-cplus-symbols.c (convert_symbol_bmsym): Update. 2109 1.1 christos * dwarf-index-write.c (write_psymbols): Update. 2110 1.1 christos * dwarf2loc.c (call_site_to_target_addr): Update. 2111 1.1 christos (func_verify_no_selftailcall): Update. 2112 1.1 christos (tailcall_dump): Update. 2113 1.1 christos (call_site_find_chain_1): Update. 2114 1.1 christos (dwarf_expr_reg_to_entry_parameter): Update. 2115 1.1 christos * elfread.c (elf_gnu_ifunc_record_cache): Update. 2116 1.1 christos * eval.c (evaluate_funcall): Update. 2117 1.1 christos (evaluate_subexp_standard): Update. 2118 1.1 christos (evaluate_subexp_for_sizeof): Update. 2119 1.1 christos * expprint.c (print_subexp_standard): Update. 2120 1.1 christos (dump_subexp_body_standard): Update. 2121 1.1 christos * frame.c (get_prev_frame_always_1): Update. 2122 1.1 christos * frv-tdep.c (frv_skip_main_prologue): Update. 2123 1.1 christos * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. 2124 1.1 christos * gnu-v3-abi.c (gnuv3_rtti_type): Update. 2125 1.1 christos (gnuv3_get_typename_from_type_info): Update. 2126 1.1 christos (gnuv3_skip_trampoline): Update. 2127 1.1 christos * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Update. 2128 1.1 christos * i386-tdep.c (i386_skip_main_prologue): Update. 2129 1.1 christos (i386_pe_skip_trampoline_code): Update. 2130 1.1 christos * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. 2131 1.1 christos * infcall.c (get_function_name): Update. 2132 1.1 christos * linespec.c (minsym_found): Update. 2133 1.1 christos * linux-fork.c (info_checkpoints_command): Update. 2134 1.1 christos * m32c-tdep.c (m32c_m16c_address_to_pointer): Update. 2135 1.1 christos (m32c_m16c_pointer_to_address): Update. 2136 1.1 christos * maint.c (maintenance_translate_address): Update. 2137 1.1 christos * minsyms.c (add_minsym_to_hash_table): Update. 2138 1.1 christos (add_minsym_to_demangled_hash_table): Update. 2139 1.1 christos (lookup_minimal_symbol_mangled): Update. 2140 1.1 christos (lookup_minimal_symbol_demangled): Update. 2141 1.1 christos (lookup_minimal_symbol_linkage): Update. 2142 1.1 christos (lookup_minimal_symbol_text): Update. 2143 1.1 christos (lookup_minimal_symbol_by_pc_name): Update. 2144 1.1 christos (minimal_symbol_is_less_than): Update. 2145 1.1 christos (compact_minimal_symbols): Update. 2146 1.1 christos (build_minimal_symbol_hash_tables): Update. 2147 1.1 christos (find_solib_trampoline_target): Update. 2148 1.1 christos * mips-tdep.c (mips_stub_frame_sniffer): Update. 2149 1.1 christos (mips_skip_pic_trampoline_code): Update. 2150 1.1 christos * msp430-tdep.c (msp430_skip_trampoline_code): Update. 2151 1.1 christos * objc-lang.c (info_selectors_command): Update. 2152 1.1 christos (info_classes_command): Update. 2153 1.1 christos (find_methods): Update. 2154 1.1 christos (find_imps): Update. 2155 1.1 christos * p-valprint.c (pascal_val_print): Update. 2156 1.1 christos * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code): Update. 2157 1.1 christos * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. 2158 1.1 christos * printcmd.c (build_address_symbolic): Update. 2159 1.1 christos (info_symbol_command): Update. 2160 1.1 christos * psymtab.c (psymbol_name_matches): Update. 2161 1.1 christos (match_partial_symbol): Update. 2162 1.1 christos (lookup_partial_symbol): Update. 2163 1.1 christos (print_partial_symbols): Update. 2164 1.1 christos (sort_pst_symbols): Update. 2165 1.1 christos (maintenance_check_psymtabs): Update. 2166 1.1 christos * python/py-framefilter.c (py_print_frame): Update. 2167 1.1 christos * python/python.c (gdbpy_rbreak): Update. 2168 1.1 christos * record-btrace.c (btrace_get_bfun_name): Update. 2169 1.1 christos (btrace_call_history): Update. 2170 1.1 christos * rs6000-tdep.c (rs6000_skip_main_prologue): Update. 2171 1.1 christos (rs6000_skip_trampoline_code): Update. 2172 1.1 christos * sol-thread.c (info_cb): Update. 2173 1.1 christos * stabsread.c (scan_file_globals): Update. 2174 1.1 christos * stack.c (find_frame_funname): Update. 2175 1.1 christos (info_frame_command_core): Update. 2176 1.1 christos * symmisc.c (dump_msymbols): Update. 2177 1.1 christos * symtab.c (symbol_natural_name): Rename to.., 2178 1.1 christos (general_symbol_info::natural_name): ...this. 2179 1.1 christos (symbol_demangled_name): Rename to... 2180 1.1 christos (general_symbol_info::demangled_name): ...this. 2181 1.1 christos (symbol_search_name): Rename to... 2182 1.1 christos (general_symbol_info::search_name): ...this. 2183 1.1 christos (symbol_matches_search_name): Update. 2184 1.1 christos (find_pc_sect_line): Update. 2185 1.1 christos (skip_prologue_sal): Update. 2186 1.1 christos (search_symbols): Update. 2187 1.1 christos (print_msymbol_info): Update. 2188 1.1 christos (rbreak_command): Update. 2189 1.1 christos (completion_list_add_msymbol): Update. 2190 1.1 christos (completion_list_objc_symbol): Update. 2191 1.1 christos (get_msymbol_address): Update. 2192 1.1 christos * symtab.h (struct general_symbol_info): Add member functions 2193 1.1 christos natural_name (), linkage_name (), print_name (), demangled_name (), 2194 1.1 christos and search_name (). 2195 1.1 christos (SYMBOL_NATURAL_NAME): Update. 2196 1.1 christos (symbol_natural_name): Move to a member function on general_symbol_info. 2197 1.1 christos (SYMBOL_DEMANGLED_NAME): Update. 2198 1.1 christos (symbol_demangled_name): Move to a member function on 2199 1.1 christos general_symbol_info. 2200 1.1 christos (SYMBOL_SEARCH_NAME): Update. 2201 1.1 christos (symbol_search_name): Move to a member function on general_symbol_info. 2202 1.1 christos (MSYMBOL_NATURAL_NAME): Remove. 2203 1.1 christos (MSYMBOL_LINKAGE_NAME): Remove. 2204 1.1 christos (MSYMBOL_PRINT_NAME): Remove. 2205 1.1 christos (MSYMBOL_DEMANGLED_NAME): Remove. 2206 1.1 christos (MSYMBOL_SEARCH_NAME): Remove. 2207 1.1 christos * x86-tdep.c (x86_in_indirect_branch_thunk): Update. 2208 1.1 christos 2209 1.1 christos 2019-11-22 Christian Biesinger <cbiesinger (a] google.com> 2210 1.1 christos 2211 1.1 christos * symtab.c (create_demangled_names_hash): Use per_bfd-> 2212 1.1 christos minimal_symbol_count for computing the initial size, if greater 2213 1.1 christos than our default size. 2214 1.1 christos 2215 1.1 christos 2019-11-22 Tom de Vries <tdevries (a] suse.de> 2216 1.1 christos 2217 1.1 christos * contrib/words.sh: Improve words extraction. 2218 1.1 christos 2219 1.1 christos 2019-11-22 Tom de Vries <tdevries (a] suse.de> 2220 1.1 christos 2221 1.1 christos * contrib/words.sh: Combine sed invocations. 2222 1.1 christos 2223 1.1 christos 2019-11-21 Christian Biesinger <cbiesinger (a] google.com> 2224 1.1 christos 2225 1.1 christos * Makefile.in: Update. 2226 1.1 christos * demangle.c: Rename to... 2227 1.1 christos * gdb-demangle.c: ..this. 2228 1.1 christos (is_cplus_marker): Change return type to bool. 2229 1.1 christos (_initialize_demangler): Rename to... 2230 1.1 christos (_initialize_gdb_demangle): ...this. 2231 1.1 christos * gdb-demangle.h (is_cplus_marker): Change return type to bool. 2232 1.1 christos * symtab.h (demangle): Remove declaration; instead include 2233 1.1 christos gdb-demangle.h. 2234 1.1 christos 2235 1.1 christos 2019-11-21 Tom Tromey <tromey (a] adacore.com> 2236 1.1 christos 2237 1.1 christos * gdbsupport/format.c (format_pieces): Parse %I64d. 2238 1.1 christos * unittests/format_pieces-selftests.c (test_windows_formats): New 2239 1.1 christos function. 2240 1.1 christos (run_tests): Call it. 2241 1.1 christos 2242 1.1 christos 2019-11-21 Peeter Joot <peeter.joot (a] lzlabs.com> 2243 1.1 christos 2244 1.1 christos Byte reverse display of variables with DW_END_big, DW_END_little 2245 1.1 christos (DW_AT_endianity) dwarf attributes if different than the native 2246 1.1 christos byte order. 2247 1.1 christos * ada-lang.c (ada_value_binop): 2248 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2249 1.1 christos * ada-valprint.c (printstr): 2250 1.1 christos (ada_val_print_string): 2251 1.1 christos * ada-lang.c (value_pointer): 2252 1.1 christos (ada_value_binop): 2253 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2254 1.1 christos * c-lang.c (c_get_string): 2255 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2256 1.1 christos * c-valprint.c (c_val_print_array): 2257 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2258 1.1 christos * cp-valprint.c (cp_print_class_member): 2259 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2260 1.1 christos * dwarf2loc.c (rw_pieced_value): 2261 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2262 1.1 christos * dwarf2read.c (read_base_type): Handle DW_END_big, 2263 1.1 christos DW_END_little 2264 1.1 christos * f-lang.c (f_get_encoding): 2265 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2266 1.1 christos * findvar.c (default_read_var_value): 2267 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2268 1.1 christos * gdbtypes.c (check_types_equal): 2269 1.1 christos Require matching TYPE_ENDIANITY_NOT_DEFAULT if set. 2270 1.1 christos (recursive_dump_type): Print TYPE_ENDIANITY_BIG, 2271 1.1 christos and TYPE_ENDIANITY_LITTLE if set. 2272 1.1 christos (type_byte_order): new function. 2273 1.1 christos * gdbtypes.h (TYPE_ENDIANITY_NOT_DEFAULT): New macro. 2274 1.1 christos (struct main_type) <flag_endianity_not_default>: 2275 1.1 christos New field. 2276 1.1 christos (type_byte_order): New function. 2277 1.1 christos * infcmd.c (default_print_one_register_info): 2278 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2279 1.1 christos * p-lang.c (pascal_printstr): 2280 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2281 1.1 christos * p-valprint.c (pascal_val_print): 2282 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2283 1.1 christos * printcmd.c (print_scalar_formatted): 2284 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2285 1.1 christos * solib-darwin.c (darwin_current_sos): 2286 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2287 1.1 christos * solib-svr4.c (solib_svr4_r_ldsomap): 2288 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2289 1.1 christos * stap-probe.c (stap_modify_semaphore): 2290 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2291 1.1 christos * target-float.c (target_float_same_format_p): 2292 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2293 1.1 christos * valarith.c (scalar_binop): 2294 1.1 christos (value_bit_index): 2295 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2296 1.1 christos * valops.c (value_cast): 2297 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2298 1.1 christos * valprint.c (generic_emit_char): 2299 1.1 christos (generic_printstr): 2300 1.1 christos (val_print_string): 2301 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2302 1.1 christos * value.c (unpack_long): 2303 1.1 christos (unpack_bits_as_long): 2304 1.1 christos (unpack_value_bitfield): 2305 1.1 christos (modify_field): 2306 1.1 christos (pack_long): 2307 1.1 christos (pack_unsigned_long): 2308 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2309 1.1 christos * findvar.c (unsigned_pointer_to_address): 2310 1.1 christos (signed_pointer_to_address): 2311 1.1 christos (unsigned_address_to_pointer): 2312 1.1 christos (address_to_signed_pointer): 2313 1.1 christos (default_read_var_value): 2314 1.1 christos (default_value_from_register): 2315 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2316 1.1 christos * gnu-v3-abi.c (gnuv3_make_method_ptr): 2317 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2318 1.1 christos * riscv-tdep.c (riscv_print_one_register_info): 2319 1.1 christos Use type_byte_order instead of gdbarch_byte_order. 2320 1.1 christos 2321 1.1 christos 2019-11-21 Simon Marchi <simon.marchi (a] polymtl.ca> 2322 1.1 christos 2323 1.1 christos * top.c (current_ui_gdb_stdout_ptr): Spell out by hand. 2324 1.1 christos (current_ui_gdb_stdin_ptr): Likewise. 2325 1.1 christos (current_ui_gdb_stderr_ptr): Likewise. 2326 1.1 christos (current_ui_gdb_stdlog_ptr): Likewise. 2327 1.1 christos (current_ui_current_uiout_ptr): Likewise. 2328 1.1 christos (gen_ret_current_ui_field_ptr): Remove. 2329 1.1 christos 2330 1.1 christos 2019-11-21 Tom de Vries <tdevries (a] suse.de> 2331 1.1 christos 2332 1.1 christos PR gdb/24956 2333 1.1 christos * cli/cli-script.c (execute_control_command): Only switch to 2334 1.1 christos INTERP_CONSOLE's ui_out when INTERP_MI is active. 2335 1.1 christos 2336 1.1 christos 2019-11-19 Tom Tromey <tom (a] tromey.com> 2337 1.1 christos 2338 1.1 christos * tui/tui-win.c (tui_partial_win_by_name): Move from tui-data.c. 2339 1.1 christos Now static. Change type of "name". 2340 1.1 christos (tui_set_win_height_command): Don't copy "arg". 2341 1.1 christos * tui/tui-data.h (tui_partial_win_by_name): Don't declare. 2342 1.1 christos * tui/tui-data.c (tui_partial_win_by_name): Move to tui-win.c. 2343 1.1 christos 2344 1.1 christos 2019-11-19 Ali Tamur <tamur (a] google.com> 2345 1.1 christos 2346 1.1 christos * dwarf2read.c (dw2_get_file_names_reader): Replace "if (attr)" with 2347 1.1 christos "if (attr != nullptr)". 2348 1.1 christos (dwarf2_find_base_address): Likewise. 2349 1.1 christos (dwarf2_build_include_psymtabs): Likewise. 2350 1.1 christos (read_cutu_die_from_dwo): Likewise. 2351 1.1 christos (read_func_scope): Likewise. 2352 1.1 christos (read_call_site_scope): Likewise. 2353 1.1 christos (dwarf2_get_pc_bounds): Likewise. 2354 1.1 christos (dwarf2_record_block_ranges): Likewise. 2355 1.1 christos (dwarf2_add_field): Likewise. 2356 1.1 christos (dwarf2_add_member_fn): Likewise. 2357 1.1 christos (read_structure_type): Likewise. 2358 1.1 christos (read_enumeration_type): Likewise. 2359 1.1 christos (read_array_type): Likewise. 2360 1.1 christos (read_array_order): Likewise. 2361 1.1 christos (read_set_type): Likewise. 2362 1.1 christos (read_common_block): Likewise. 2363 1.1 christos (read_tag_reference_type): Likewise. 2364 1.1 christos (read_tag_string_type): Likewise. 2365 1.1 christos (read_subroutine_type): Likewise. 2366 1.1 christos (read_base_type): Likewise. 2367 1.1 christos (read_subrange_type): Likewise. 2368 1.1 christos (new_symbol): Likewise. 2369 1.1 christos (prepare_one_comp_unit): Likewise. 2370 1.1 christos 2371 1.1 christos 2019-11-19 Tom Tromey <tromey (a] adacore.com> 2372 1.1 christos 2373 1.1 christos * windows-nat.c (windows_nat_target::attach): Include GetLastError 2374 1.1 christos result in error when DebugActiveProcess fails. 2375 1.1 christos 2376 1.1 christos 2019-11-18 Sergio Durigan Junior <sergiodj (a] redhat.com> 2377 1.1 christos Pedro Alves <palves (a] redhat.com> 2378 1.1 christos 2379 1.1 christos https://bugzilla.redhat.com/show_bug.cgi?id=1765117 2380 1.1 christos * target.c (target_stack::push): Call 'unpush' if there's a 2381 1.1 christos target on top of the stack. 2382 1.1 christos 2383 1.1 christos 2019-11-18 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 2384 1.1 christos 2385 1.1 christos * python/py-block.c (blpy_dealloc): Call tp_free. 2386 1.1 christos (blpy_block_syms_dealloc): Likewise. 2387 1.1 christos * python/py-finishbreakpoint.c (bpfinishpy_dealloc): Likewise. 2388 1.1 christos * python/py-inferior.c (infpy_dealloc): Likewise. 2389 1.1 christos * python/py-lazy-string.c (stpy_dealloc): Likewise. 2390 1.1 christos * python/py-linetable.c (ltpy_iterator_dealloc): Likewise. 2391 1.1 christos * python/py-symbol.c (sympy_dealloc): Likewise. 2392 1.1 christos * python/py-symtab.c (stpy_dealloc): Likewise. 2393 1.1 christos * python/py-type.c (typy_iterator_dealloc): Likewise. 2394 1.1 christos 2395 1.1 christos 2019-11-18 Christian Biesinger <cbiesinger (a] google.com> 2396 1.1 christos 2397 1.1 christos * symtab.h (struct symbol) <owner>: Initialize explicitly in the 2398 1.1 christos constructor instead of using a class initializer. 2399 1.1 christos 2400 1.1 christos 2019-11-15 Christian Biesinger <cbiesinger (a] google.com> 2401 1.1 christos 2402 1.1 christos * Makefile.in: Replace {posix,mingw}-strerror.c with safe-strerror.c. 2403 1.1 christos * configure: Regenerate. 2404 1.1 christos * configure.ac: Don't source common.host. 2405 1.1 christos * gdbsupport/common.host: Remove. 2406 1.1 christos * gdbsupport/mingw-strerror.c: Remove. 2407 1.1 christos * gdbsupport/posix-strerror.c: Rename to... 2408 1.1 christos * gdbsupport/safe-strerror.c: ...this. 2409 1.1 christos 2410 1.1 christos 2019-11-15 Christian Biesinger <cbiesinger (a] google.com> 2411 1.1 christos 2412 1.1 christos * maint.c (scoped_command_stats::print_time): Use localtime_r 2413 1.1 christos instead of localtime (provided through gnulib if necessary). 2414 1.1 christos * nat/linux-osdata.c (time_from_time_t): Use ctime_r instead 2415 1.1 christos of ctime. 2416 1.1 christos 2417 1.1 christos 2019-11-15 Christian Biesinger <cbiesinger (a] google.com> 2418 1.1 christos 2419 1.1 christos * gdbsupport/common-defs.h: Include time.h before pathmax.h to 2420 1.1 christos avoid compile errors. 2421 1.1 christos 2422 1.1 christos 2019-11-15 Christian Biesinger <cbiesinger (a] google.com> 2423 1.1 christos 2424 1.1 christos * config.in: Regenerate. 2425 1.1 christos * configure: Regenerate. 2426 1.1 christos * gdbsupport/common.m4: No longer check for strerror_r. 2427 1.1 christos * gdbsupport/posix-strerror.c (safe_strerror): Always call the 2428 1.1 christos POSIX version of strerror_r, now that gnulib provides it if 2429 1.1 christos necessary. 2430 1.1 christos 2431 1.1 christos 2019-11-14 Christian Biesinger <cbiesinger (a] google.com> 2432 1.1 christos 2433 1.1 christos * README (`configure' options): Update. 2434 1.1 christos 2435 1.1 christos 2019-11-14 Tom Tromey <tromey (a] adacore.com> 2436 1.1 christos 2437 1.1 christos * eval.c (evaluate_subexp_standard) <BINOP_ASSIGN>: Do not pass an 2438 1.1 christos expected type for the RHS if the LHS is a convenience variable. 2439 1.1 christos 2440 1.1 christos 2019-11-14 Simon Marchi <simon.marchi (a] polymtl.ca> 2441 1.1 christos 2442 1.1 christos * unittests/vec-utils-selftests.c (unordered_remove_tests::obj): 2443 1.1 christos Provide explicit default and copy constructor. 2444 1.1 christos 2445 1.1 christos 2019-11-14 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 2446 1.1 christos 2447 1.1 christos * python/py-finishbreakpoint.c (gdbpy_breakpoint_created): 2448 1.1 christos only call Py_INCREF (newbp) in the bppy_pending_object case. 2449 1.1 christos 2450 1.1 christos 2019-11-13 Tom Tromey <tromey (a] adacore.com> 2451 1.1 christos 2452 1.1 christos PR build/25182: 2453 1.1 christos * psympriv.h (partial_symbol): Remove static assert. 2454 1.1 christos * symtab.h (general_symbol_info, symbol): Remove static assert. 2455 1.1 christos 2456 1.1 christos 2019-11-12 Andrew Burgess <andrew.burgess (a] embecosm.com> 2457 1.1 christos 2458 1.1 christos * gdbsupport/format.c (format_pieces::format_pieces): Support 2459 1.1 christos printf 'z' size modifier. 2460 1.1 christos * gdbsupport/format.h (enum argclass): Add size_t_arg. 2461 1.1 christos * printcmd.c (ui_printf): Handle size_t_arg. 2462 1.1 christos * ui-out.c (ui_out::vmessage): Likewise. 2463 1.1 christos * unittests/format_pieces-selftests.c (test_format_int_sizes): New 2464 1.1 christos function. 2465 1.1 christos (run_tests): Call test_format_int_sizes. 2466 1.1 christos 2467 1.1 christos 2019-11-12 Christian Biesinger <cbiesinger (a] google.com> 2468 1.1 christos 2469 1.1 christos * ada-exp.y (write_ambiguous_var): Update. 2470 1.1 christos * buildsym.c (add_symbol_to_list): Update. 2471 1.1 christos * dwarf2read.c (read_variable): Update. 2472 1.1 christos (new_symbol): Update. 2473 1.1 christos * jit.c (finalize_symtab): Update. 2474 1.1 christos * language.c (language_alloc_type_symbol): Update. 2475 1.1 christos * symtab.c (fixup_symbol_section): Update. 2476 1.1 christos (initialize_objfile_symbol_1): Move code to... 2477 1.1 christos (initialize_objfile_symbol): ...here. Remove now-unnecessary memset. 2478 1.1 christos (allocate_symbol): Update. 2479 1.1 christos (allocate_template_symbol): Update. 2480 1.1 christos (get_symbol_address): Update. 2481 1.1 christos * symtab.h (struct symbol): Inherit from general_symbol_info instead 2482 1.1 christos of having as a field, and add a constructor. 2483 1.1 christos (SYMBOL_VALUE): Update. 2484 1.1 christos (SYMBOL_VALUE_ADDRESS): Update. 2485 1.1 christos (SET_SYMBOL_VALUE_ADDRESS): Update. 2486 1.1 christos (SYMBOL_VALUE_BYTES): Update. 2487 1.1 christos (SYMBOL_VALUE_COMMON_BLOCK): Update. 2488 1.1 christos (SYMBOL_BLOCK_VALUE): Update. 2489 1.1 christos (SYMBOL_VALUE_CHAIN): Update. 2490 1.1 christos (SYMBOL_LANGUAGE): Update. 2491 1.1 christos (SYMBOL_SECTION): Update. 2492 1.1 christos (SYMBOL_OBJ_SECTION): Update. 2493 1.1 christos (SYMBOL_SET_LANGUAGE): Update. 2494 1.1 christos (SYMBOL_SET_LINKAGE_NAME): Update. 2495 1.1 christos (SYMBOL_SET_NAMES): Update. 2496 1.1 christos (SYMBOL_NATURAL_NAME): Update. 2497 1.1 christos (SYMBOL_LINKAGE_NAME): Update. 2498 1.1 christos (SYMBOL_DEMANGLED_NAME): Update. 2499 1.1 christos (SYMBOL_SEARCH_NAME): Update. 2500 1.1 christos (SYMBOL_MATCHES_SEARCH_NAME): Update. 2501 1.1 christos (struct symbol): Update. 2502 1.1 christos (struct template_symbol): Update. 2503 1.1 christos (struct rust_vtable_symbol): Update. 2504 1.1 christos * xcoffread.c (SYMBOL_DUP): Update. 2505 1.1 christos 2506 1.1 christos 2019-11-12 Tom Tromey <tom (a] tromey.com> 2507 1.1 christos 2508 1.1 christos * tui/tui-layout.c (show_layout): Set current_layout. 2509 1.1 christos (show_source_disasm_command, show_data) 2510 1.1 christos (show_source_or_disasm_and_command): Don't set current_layout. 2511 1.1 christos 2512 1.1 christos 2019-11-12 Tom Tromey <tom (a] tromey.com> 2513 1.1 christos 2514 1.1 christos * tui/tui-layout.c (_initialize_tui_layout): Move to end. 2515 1.1 christos 2516 1.1 christos 2019-11-12 Tom Tromey <tom (a] tromey.com> 2517 1.1 christos 2518 1.1 christos * tui/tui-win.c (resize_message): New global. 2519 1.1 christos (show_tui_resize_message): New function. 2520 1.1 christos (tui_async_resize_screen): Print message if requested. 2521 1.1 christos (_initialize_tui_win): Add tui-resize-message setting. 2522 1.1 christos * NEWS: Add entry for new commands. 2523 1.1 christos 2524 1.1 christos 2019-11-11 Tom Tromey <tom (a] tromey.com> 2525 1.1 christos 2526 1.1 christos * tui/tui.c (tui_initialize_readline): Add new bindable readline 2527 1.1 christos functions. 2528 1.1 christos 2529 1.1 christos 2019-11-11 Christian Biesinger <cbiesinger (a] google.com> 2530 1.1 christos 2531 1.1 christos * nat/linux-osdata.c (user_from_uid): Use getpwuid_r. 2532 1.1 christos 2533 1.1 christos 2019-11-10 Andrew Burgess <andrew.burgess (a] embecosm.com> 2534 1.1 christos 2535 1.1 christos * python/py-symbol.c (gdbpy_lookup_static_symbols): New 2536 1.1 christos function. 2537 1.1 christos * python/python-internal.h (gdbpy_lookup_static_symbols): 2538 1.1 christos Declare new function. 2539 1.1 christos * python/python.c (python_GdbMethods): Add 2540 1.1 christos gdb.lookup_static_symbols method. 2541 1.1 christos * NEWS: Mention gdb.lookup_static_symbols. 2542 1.1 christos 2543 1.1 christos 2019-11-10 Andrew Burgess <andrew.burgess (a] embecosm.com> 2544 1.1 christos 2545 1.1 christos * python/py-symbol.c (gdbpy_lookup_static_symbol): Lookup in 2546 1.1 christos static block of current object file first. Also fix typo in 2547 1.1 christos header comment. 2548 1.1 christos 2549 1.1 christos 2019-11-10 Andrew Burgess <andrew.burgess (a] embecosm.com> 2550 1.1 christos 2551 1.1 christos * stack.c (set_last_displayed_sal): Delete. 2552 1.1 christos (last_displayed_sal_valid): Delete. 2553 1.1 christos (last_displayed_pspace): Delete. 2554 1.1 christos (last_displayed_addr): Delete. 2555 1.1 christos (last_displayed_symtab): Delete. 2556 1.1 christos (last_displayed_line): Delete. 2557 1.1 christos (class last_displayed_symtab_info_type): New. 2558 1.1 christos (last_displayed_symtab_info): New static global variable. 2559 1.1 christos (print_frame_info): Call methods on last_displayed_symtab_info. 2560 1.1 christos (clear_last_displayed_sal): Update header comment, and make use of 2561 1.1 christos last_displayed_symtab_info. 2562 1.1 christos (last_displayed_sal_is_valid): Likewise. 2563 1.1 christos (get_last_displayed_pspace): Likewise. 2564 1.1 christos (get_last_displayed_addr): Likewise. 2565 1.1 christos (get_last_displayed_symtab): Likewise. 2566 1.1 christos (get_last_displayed_line): Likewise. 2567 1.1 christos (get_last_displayed_sal): Likewise. 2568 1.1 christos * stack.h (clear_last_displayed_sal): Update header comment. 2569 1.1 christos (last_displayed_sal_is_valid): Likewise. 2570 1.1 christos (get_last_displayed_pspace): Likewise. 2571 1.1 christos (get_last_displayed_addr): Likewise. 2572 1.1 christos (get_last_displayed_symtab): Likewise. 2573 1.1 christos (get_last_displayed_line): Likewise. 2574 1.1 christos (get_last_displayed_sal): Likewise. 2575 1.1 christos 2576 1.1 christos 2019-11-10 Andrew Burgess <andrew.burgess (a] embecosm.com> 2577 1.1 christos 2578 1.1 christos * stack.c (frame_show_address): Convert return type to bool. 2579 1.1 christos * stack.h (frame_show_address): Likewise, and update header 2580 1.1 christos comment. 2581 1.1 christos 2582 1.1 christos 2019-11-10 Andrew Burgess <andrew.burgess (a] embecosm.com> 2583 1.1 christos 2584 1.1 christos * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add new file to the list. 2585 1.1 christos * unittests/vec-utils-selftests.c: New file. 2586 1.1 christos * gdbsupport/gdb_vecs.h (unordered_remove): Avoid self move assign. 2587 1.1 christos 2588 1.1 christos 2019-11-10 Tom Tromey <tom (a] tromey.com> 2589 1.1 christos 2590 1.1 christos * tui/tui-wingeneral.c (tui_unhighlight_win): Use can_box. 2591 1.1 christos (tui_highlight_win): Likewise. 2592 1.1 christos (tui_win_info::check_and_display_highlight_if_needed): Likewise. 2593 1.1 christos * tui/tui-data.h (struct tui_win_info) <can_highlight>: Remove. 2594 1.1 christos * tui/tui-command.h (struct tui_cmd_window) <tui_cmd_window>: 2595 1.1 christos Don't set can_highlight. 2596 1.1 christos 2597 1.1 christos 2019-11-10 Tom Tromey <tom (a] tromey.com> 2598 1.1 christos 2599 1.1 christos * cli/cli-style.h (class cli_style_option) <cli_style_option>: 2600 1.1 christos Remove unused declaration. 2601 1.1 christos 2602 1.1 christos 2019-11-08 Tom Tromey <tromey (a] adacore.com> 2603 1.1 christos 2604 1.1 christos * top.c (read_command_file): Update. 2605 1.1 christos (command_line_input): Make return type const. 2606 1.1 christos * python/py-gdb-readline.c: Update. 2607 1.1 christos * linespec.c (decode_line_2): Update. 2608 1.1 christos * defs.h (command_line_input): Make return type const. 2609 1.1 christos * cli/cli-script.c (read_next_line): Make return type const. 2610 1.1 christos * ada-lang.c (get_selections): Update. 2611 1.1 christos 2612 1.1 christos 2019-11-06 Christian Biesinger <cbiesinger (a] google.com> 2613 1.1 christos 2614 1.1 christos * linux-tdep.c (linux_info_proc): Use strtok_r instead of strtok. 2615 1.1 christos * mi/mi-main.c (output_cores): Likewise. 2616 1.1 christos * nat/linux-osdata.c (linux_xfer_osdata_cpus): Likewise. 2617 1.1 christos (linux_xfer_osdata_modules): Likewise. 2618 1.1 christos * remote.c (register_remote_support_xml): Likewise. 2619 1.1 christos * sparc64-tdep.c (adi_is_addr_mapped): Likewise. 2620 1.1 christos * xml-syscall.c (syscall_create_syscall_desc): Likewise. 2621 1.1 christos 2622 1.1 christos 2019-11-06 Tom Tromey <tom (a] tromey.com> 2623 1.1 christos 2624 1.1 christos * tui/tui-interp.c: Don't include readline.h. 2625 1.1 christos * tui/tui-hooks.c: Don't include readline.h. 2626 1.1 christos * symmisc.c: Include tilde.h, not readline.h. 2627 1.1 christos * symfile.c: Include tilde.h, not readline.h. 2628 1.1 christos * source.c: Include tilde.h, not readline.h. 2629 1.1 christos * solib.c: Include tilde.h, not readline.h. 2630 1.1 christos * psymtab.c: Include tilde.h, not readline.h. 2631 1.1 christos * exec.c: Include tilde.h, not readline.h. 2632 1.1 christos * corelow.c: Include tilde.h, not readline.h. 2633 1.1 christos * cli/cli-dump.c: Include tilde.h, not readline.h. 2634 1.1 christos * cli/cli-cmds.c: Don't include readline.h. 2635 1.1 christos 2636 1.1 christos 2019-11-05 Tom Tromey <tom (a] tromey.com> 2637 1.1 christos 2638 1.1 christos * tui/tui-disasm.c (struct tui_asm_line) <addr_size>: New member. 2639 1.1 christos (tui_disassemble): Set addr_size. 2640 1.1 christos (tui_disasm_window::set_contents): Use addr_size. 2641 1.1 christos 2642 1.1 christos 2019-11-05 Tom Tromey <tom (a] tromey.com> 2643 1.1 christos 2644 1.1 christos * rust-lang.c (rust_language_defn): Update. 2645 1.1 christos * python/py-value.c (valpy_string): Call c_get_string. 2646 1.1 christos * p-lang.c (pascal_language_defn): Update. 2647 1.1 christos * opencl-lang.c (opencl_language_defn): Update. 2648 1.1 christos * objc-lang.c (objc_language_defn): Update. 2649 1.1 christos * m2-lang.c (m2_language_defn): Update. 2650 1.1 christos * language.c (unknown_language_defn, auto_language_defn): Update. 2651 1.1 christos (default_get_string): Remove. 2652 1.1 christos * guile/scm-value.c (gdbscm_value_to_string): Use c_get_string. 2653 1.1 christos * go-lang.c (go_language_defn): Update. 2654 1.1 christos * f-lang.c (f_language_defn): Update. 2655 1.1 christos * d-lang.c (d_language_defn): Update. 2656 1.1 christos * c-lang.c (c_language_defn, cplus_language_defn) 2657 1.1 christos (asm_language_defn, minimal_language_defn): Update. 2658 1.1 christos * ada-lang.c (ada_language_defn): Update. 2659 1.1 christos * language.h (struct language_defn) <la_get_string>: Remove. 2660 1.1 christos (LA_GET_STRING): Remove. 2661 1.1 christos (default_get_string): Don't declare. 2662 1.1 christos 2663 1.1 christos 2019-11-05 Tom Tromey <tom (a] tromey.com> 2664 1.1 christos 2665 1.1 christos * tui/tui-source.h (struct tui_source_window): Inline 2666 1.1 christos constructor. Remove destructor. 2667 1.1 christos <style_changed, m_observable>: Move to superclass. 2668 1.1 christos * tui/tui-winsource.h (tui_copy_source_line): Declare. 2669 1.1 christos (struct tui_source_window_base): Move private members to end. 2670 1.1 christos <style_changed, m_observable>: Move from tui_source_window. 2671 1.1 christos * tui/tui-winsource.c (tui_copy_source_line): Move from 2672 1.1 christos tui-source.c. Rename from copy_source_line. Add special handling 2673 1.1 christos for negative line number. 2674 1.1 christos (tui_source_window_base::style_changed): Move from 2675 1.1 christos tui_source_window. 2676 1.1 christos (tui_source_window_base): Register observer. 2677 1.1 christos (~tui_source_window_base): New. 2678 1.1 christos * tui/tui-source.c (copy_source_line): Move to tui-winsource.c; 2679 1.1 christos rename. 2680 1.1 christos (tui_source_window::set_contents): Use tui_copy_source_line. 2681 1.1 christos (tui_source_window::tui_source_window): Move to tui-source.h. 2682 1.1 christos (tui_source_window::~tui_source_window): Remove. 2683 1.1 christos (tui_source_window::style_changed): Move to superclass. 2684 1.1 christos * tui/tui-disasm.c (tui_disassemble): Create string file with 2685 1.1 christos styling, when possible. Add "addr_size" parameter. 2686 1.1 christos (tui_disasm_window::set_contents): Use tui_copy_source_line. 2687 1.1 christos Don't compute maximum size. 2688 1.1 christos (len_without_escapes): New function 2689 1.1 christos 2690 1.1 christos 2019-11-05 Tom Tromey <tom (a] tromey.com> 2691 1.1 christos 2692 1.1 christos * tui/tui-winsource.h (struct tui_source_element) <line>: Now a 2693 1.1 christos std::string. 2694 1.1 christos * tui/tui-winsource.c (tui_show_source_line): Update. 2695 1.1 christos * tui/tui-source.c (tui_source_window::set_contents): Update. 2696 1.1 christos * tui/tui-disasm.c (tui_disasm_window::set_contents): Update. 2697 1.1 christos 2698 1.1 christos 2019-11-05 Christian Biesinger <cbiesinger (a] google.com> 2699 1.1 christos 2700 1.1 christos * symtab.h (gdb_static_assert): Put && operator at the beginning 2701 1.1 christos of the line instead of the end. 2702 1.1 christos 2703 1.1 christos 2019-11-04 Christian Biesinger <cbiesinger (a] google.com> 2704 1.1 christos 2705 1.1 christos * psympriv.h: Add static_asserts for sizeof (general_symbol_info) 2706 1.1 christos and sizeof (symbol). 2707 1.1 christos * symtab.h: Add a static_assert for sizeof (partial_symbol). 2708 1.1 christos 2709 1.1 christos 2019-11-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 2710 1.1 christos 2711 1.1 christos * NEWS (Changes since GDB 8.3): Document Solaris 10 removal. 2712 1.1 christos * configure.host: Mark *-*-solaris2.10* obsolete. 2713 1.1 christos * configure.tgt: Mark Solaris < 11 obsolete. 2714 1.1 christos * MAINTAINERS (Target Instruction Set Architectures) <sparc>: 2715 1.1 christos Update target triplet. 2716 1.1 christos 2717 1.1 christos 2019-11-01 Tom Tromey <tromey (a] adacore.com> 2718 1.1 christos 2719 1.1 christos * utils.c (print_sys_errmsg): Simplify. 2720 1.1 christos 2721 1.1 christos 2019-11-01 Tom Tromey <tromey (a] adacore.com> 2722 1.1 christos 2723 1.1 christos * gdbsupport/mingw-strerror.c (safe_strerror): Constify result. 2724 1.1 christos 2725 1.1 christos 2019-11-01 Christian Biesinger <cbiesinger (a] google.com> 2726 1.1 christos 2727 1.1 christos * configure: Regenerate. 2728 1.1 christos * configure.ac: Remove check for strerror_r. 2729 1.1 christos * gdbsupport/common.m4: Check for strerror_r. 2730 1.1 christos 2731 1.1 christos 2019-11-01 Luis Machado <luis.machado (a] linaro.org> 2732 1.1 christos 2733 1.1 christos PR gdb/25124 2734 1.1 christos 2735 1.1 christos * arm-tdep.c (arm_per_objfile): Rename to ... 2736 1.1 christos (arm_per_bfd): ... this. 2737 1.1 christos (arm_objfile_data_key): Rename to ... 2738 1.1 christos (arm_bfd_data_key): ... this. 2739 1.1 christos (arm_find_mapping_symbol): Adjust access to new bfd_key-based 2740 1.1 christos data. 2741 1.1 christos (arm_record_special_symbol): Likewise. 2742 1.1 christos 2743 1.1 christos 2019-10-31 Andrew Burgess <andrew.burgess (a] embecosm.com> 2744 1.1 christos 2745 1.1 christos * ada-typeprint.c (ada_print_typedef): Don't print newline at the 2746 1.1 christos end. 2747 1.1 christos * c-typeprint.c (c_print_typedef): Likewise. 2748 1.1 christos * f-typeprint.c (f_print_typedef): Likewise. 2749 1.1 christos * m2-typeprint.c (m2_print_typedef): Likewise. 2750 1.1 christos * p-typeprint.c (pascal_print_typedef): Likewise. 2751 1.1 christos * rust-lang.c (rust_print_typedef): Likewise. 2752 1.1 christos * symtab.c (print_symbol_info): Print a newline after calling 2753 1.1 christos typedef_print. 2754 1.1 christos 2755 1.1 christos 2019-10-31 Andrew Burgess <andrew.burgess (a] embecosm.com> 2756 1.1 christos 2757 1.1 christos * symtab.c (info_module_cmdlist): New variable. 2758 1.1 christos (info_module_command): New function. 2759 1.1 christos (search_module_symbols): New function. 2760 1.1 christos (info_module_subcommand): New function. 2761 1.1 christos (struct info_modules_var_func_options): New struct. 2762 1.1 christos (info_modules_var_func_options_defs): New variable. 2763 1.1 christos (make_info_modules_var_func_options_def_group): New function. 2764 1.1 christos (info_module_functions_command): New function. 2765 1.1 christos (info_module_variables_command): New function. 2766 1.1 christos (info_module_var_func_command_completer): New function. 2767 1.1 christos (_initialize_symtab): Register new 'info module functions' and 2768 1.1 christos 'info module variables' commands. 2769 1.1 christos * symtab.h (typedef symbol_search_in_module): New typedef. 2770 1.1 christos (search_module_symbols): Declare new function. 2771 1.1 christos * NEWS: Mention new commands. 2772 1.1 christos 2773 1.1 christos 2019-10-31 Andrew Burgess <andrew.burgess (a] embecosm.com> 2774 1.1 christos 2775 1.1 christos * dwarf2read.c (dw2_symtab_iter_next): Handle MODULE_DOMAIN. 2776 1.1 christos (dw2_expand_marked_cus): Handle MODULES_DOMAIN. 2777 1.1 christos (dw2_debug_names_iterator::next): Handle MODULE_DOMAIN and 2778 1.1 christos MODULES_DOMAIN. 2779 1.1 christos (scan_partial_symbols): Only create partial module symbols for non 2780 1.1 christos declarations. 2781 1.1 christos * psymtab.c (recursively_search_psymtabs): Handle MODULE_DOMAIN 2782 1.1 christos and MODULES_DOMAIN. 2783 1.1 christos * symtab.c (search_domain_name): Likewise. 2784 1.1 christos (search_symbols): Likewise. 2785 1.1 christos (print_symbol_info): Likewise. 2786 1.1 christos (symtab_symbol_info): Likewise. 2787 1.1 christos (info_modules_command): New function. 2788 1.1 christos (_initialize_symtab): Register 'info modules' command. 2789 1.1 christos * symtab.h (enum search_domain): Add MODULES_DOMAIN. 2790 1.1 christos * NEWS: Mention new 'info modules' command. 2791 1.1 christos 2792 1.1 christos 2019-10-31 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 2793 1.1 christos 2794 1.1 christos * NEWS: Mention $_gdb_setting, $_gdb_setting_str, $_gdb_maint_setting 2795 1.1 christos and $_gdb_maint_setting_str. 2796 1.1 christos 2797 1.1 christos 2019-10-31 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 2798 1.1 christos 2799 1.1 christos * cli/cli-cmds.c (setting_cmd, value_from_setting) 2800 1.1 christos (gdb_setting_internal_fn, gdb_maint_setting_internal_fn) 2801 1.1 christos (str_value_from_setting, gdb_setting_str_internal_fn) 2802 1.1 christos (gdb_maint_setting_str_internal_fn): New functions. 2803 1.1 christos (_initialize_cli_cmds): Define the new convenience functions. 2804 1.1 christos * cli/cli-setshow.h (get_setshow_command_value_string): Constify. 2805 1.1 christos * cli/cli-setshow.c (get_setshow_command_value_string): Constify. 2806 1.1 christos 2807 1.1 christos 2019-10-31 Christian Biesinger <cbiesinger (a] google.com> 2808 1.1 christos 2809 1.1 christos * agent.c (set_can_use_agent): When the setting is turned on, 2810 1.1 christos look up agent symbols if we don't have them yet. 2811 1.1 christos (agent_new_objfile): Don't look up agent symbols when the agent 2812 1.1 christos setting is off. 2813 1.1 christos 2814 1.1 christos 2019-10-31 Christian Biesinger <cbiesinger (a] google.com> 2815 1.1 christos 2816 1.1 christos * config.in: Regenerate. 2817 1.1 christos 2818 1.1 christos 2019-10-31 Christian Biesinger <cbiesinger (a] google.com> 2819 1.1 christos 2820 1.1 christos * configure: Regenerate. 2821 1.1 christos * configure.ac: Check for strerror_r. 2822 1.1 christos * gdbsupport/common-utils.h (safe_strerror): Change return value 2823 1.1 christos to const char * and document that this function is now threadsafe. 2824 1.1 christos * gdbsupport/posix-strerror.c (safe_strerror): Make buf 2825 1.1 christos thread_local and call strerror_r, if available. 2826 1.1 christos * utils.c (perror_string): Update. 2827 1.1 christos (print_sys_errmsg): Update. 2828 1.1 christos 2829 1.1 christos 2019-10-31 Luis Machado <luis.machado (a] linaro.org> 2830 1.1 christos 2831 1.1 christos * arm-tdep.c (arm_exidx_data_key): Use bfd_key instead of 2832 1.1 christos objfile_key. 2833 1.1 christos (arm_exidx_new_objfile): Adjust to use objfile->obfd instead of 2834 1.1 christos objfile to fetch per-bfd data. 2835 1.1 christos (arm_find_exidx_entry): Likewise. 2836 1.1 christos 2837 1.1 christos 2019-10-31 Christian Biesinger <cbiesinger (a] google.com> 2838 1.1 christos 2839 1.1 christos * gdbsupport/agent.c (debug_agent): Change type to bool. 2840 1.1 christos (use_agent): Likewise. 2841 1.1 christos (all_agent_symbols_look_up): Likewise. 2842 1.1 christos (agent_loaded_p): Change return value to bool. 2843 1.1 christos (agent_look_up_symbols): Update. 2844 1.1 christos (agent_capability_check): Change return value to bool. 2845 1.1 christos * gdbsupport/agent.h (agent_loaded_p): Likewise. 2846 1.1 christos (debug_agent): Change type to bool. 2847 1.1 christos (use_agent): Likewise. 2848 1.1 christos (agent_capability_check): Change return value to bool. 2849 1.1 christos 2850 1.1 christos 2019-10-30 Christian Biesinger <cbiesinger (a] google.com> 2851 1.1 christos 2852 1.1 christos * minsyms.c (clear_minimal_symbol_hash_tables): New function. 2853 1.1 christos (build_minimal_symbol_hash_tables): Code to clear the table moved 2854 1.1 christos to clear_minimal_symbol_hash_tables. 2855 1.1 christos (minimal_symbol_reader::install): Call clear_minimal_symbol_hash_tables 2856 1.1 christos when needed. 2857 1.1 christos 2858 1.1 christos 2019-10-29 Simon Marchi <simon.marchi (a] polymtl.ca> 2859 1.1 christos 2860 1.1 christos * infcmd.c: Remove includes. 2861 1.1 christos * infrun.c: Remove includes. 2862 1.1 christos 2863 1.1 christos 2019-10-29 Simon Marchi <simon.marchi (a] polymtl.ca> 2864 1.1 christos 2865 1.1 christos * ada-lang.h (GROW_VECT): Move to ada-lang.c. 2866 1.1 christos (grow_vect): Remove declaration. 2867 1.1 christos (ada_type_of_array): Remove declaration. 2868 1.1 christos (ada_update_initial_language): Remove declaration. 2869 1.1 christos (ada_fold_name): Remove declaration. 2870 1.1 christos (ada_fill_in_ada_prototype): Remove declaration. 2871 1.1 christos (user_select_syms): Remove declaration. 2872 1.1 christos (get_selections): Remove declaration. 2873 1.1 christos (ada_tag_type): Remove declaration. 2874 1.1 christos (ada_value_tag): Remove declaration. 2875 1.1 christos (ada_is_others_clause): Remove declaration. 2876 1.1 christos (ada_in_variant): Remove declaration. 2877 1.1 christos (ada_value_struct_elt): Remove declaration. 2878 1.1 christos (ada_attribute_name): Remove declaration. 2879 1.1 christos (ada_system_address_type): Remove declaration. 2880 1.1 christos * ada-lang.c (ada_watch_location_expression): Make static. 2881 1.1 christos (GROW_VECT): Move here from ada-lang.h. 2882 1.1 christos (grow_vect): Make static. 2883 1.1 christos (ada_update_initial_language): Make static. 2884 1.1 christos (ada_fold_name): Make static. 2885 1.1 christos (ada_type_of_array): Make static. 2886 1.1 christos (encoded_ordered_before): Move up. 2887 1.1 christos (sort_choices): Move up. 2888 1.1 christos (print_signatures): Move up. 2889 1.1 christos (ada_print_symbol_signature): Move up. 2890 1.1 christos (get_selections): Move up and make static. 2891 1.1 christos (user_select_syms): Move up and make static. 2892 1.1 christos (ada_value_struct_elt): Move up and make static. 2893 1.1 christos (ada_tag_type): Make static. 2894 1.1 christos (ada_value_tag): Make static. 2895 1.1 christos (ada_is_others_clause): Make static. 2896 1.1 christos (ada_in_variant): Make static. 2897 1.1 christos (ada_attribute_name): Make static. 2898 1.1 christos 2899 1.1 christos 2019-10-29 Simon Marchi <simon.marchi (a] polymtl.ca> 2900 1.1 christos 2901 1.1 christos * ada-lang.c: Remove includes. 2902 1.1 christos * ada-typeprint.c: Remove includes. 2903 1.1 christos * ada-valprint.c: Remove includes. 2904 1.1 christos 2905 1.1 christos 2019-10-29 Simon Marchi <simon.marchi (a] efficios.com> 2906 1.1 christos 2907 1.1 christos * addrmap.c: Add static assertions of type size, moved from 2908 1.1 christos _initialize_addrmap. 2909 1.1 christos (_initialize_addrmap): Remove. 2910 1.1 christos 2911 1.1 christos 2019-10-29 Christian Biesinger <cbiesinger (a] google.com> 2912 1.1 christos 2913 1.1 christos * coffread.c (record_minimal_symbol): Update. 2914 1.1 christos (process_coff_symbol): Update. 2915 1.1 christos * dbxread.c (read_dbx_symtab): Update. 2916 1.1 christos * dwarf2read.c (add_partial_symbol): Update. 2917 1.1 christos (fixup_go_packaging): Update. 2918 1.1 christos (load_partial_dies): Update. 2919 1.1 christos (new_symbol): Update. 2920 1.1 christos * elfread.c (record_minimal_symbol): Change signature to use 2921 1.1 christos gdb::string_view instead of name+len. 2922 1.1 christos (elf_symtab_read): Update. 2923 1.1 christos (elf_rel_plt_read): Update. 2924 1.1 christos * mdebugread.c (parse_partial_symbols): Update. 2925 1.1 christos (handle_psymbol_enumerators): Update. 2926 1.1 christos (new_symbol): Update. 2927 1.1 christos * minsyms.c (minimal_symbol_reader::record_full): Change signature 2928 1.1 christos to use gdb::string_view instead of name+len. 2929 1.1 christos * minsyms.h (class minimal_symbol_reader) <record_full>: Likewise. 2930 1.1 christos * psympriv.h (add_psymbol_to_list): Likewise. 2931 1.1 christos * psymtab.c (add_psymbol_to_bcache): Likewise. 2932 1.1 christos (add_psymbol_to_list): Likewise. 2933 1.1 christos * stabsread.c (define_symbol): Update. 2934 1.1 christos * symtab.c (symbol_set_names): Change signature to use gdb::string_view. 2935 1.1 christos * symtab.h (SYMBOL_SET_NAMES): Likewise. 2936 1.1 christos (symbol_set_names): Likewise. 2937 1.1 christos * xcoffread.c (scan_xcoff_symtab): Update. 2938 1.1 christos 2939 1.1 christos 2019-10-29 Christian Biesinger <cbiesinger (a] google.com> 2940 1.1 christos 2941 1.1 christos * symtab.h (symbol_set_names): Document that copy_name must be 2942 1.1 christos set to true for non-nullterminated strings. 2943 1.1 christos * symtab.c (symbol_set_names): Only make a nullterminated copy of 2944 1.1 christos linkage_name if the entry was not found and we need to demangle. 2945 1.1 christos 2946 1.1 christos 2019-10-29 Christian Biesinger <cbiesinger (a] google.com> 2947 1.1 christos 2948 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Add gdb_binary_search.h. 2949 1.1 christos * dwarf2-frame.c (bsearch_fde_cmp): Update. 2950 1.1 christos (dwarf2_frame_find_fde): Replace bsearch with gdb::binary_search. 2951 1.1 christos * gdbsupport/gdb_binary_search.h: New file. 2952 1.1 christos 2953 1.1 christos 2019-10-29 Christian Biesinger <cbiesinger (a] google.com> 2954 1.1 christos 2955 1.1 christos * NEWS: Mention new --with-system-gdbinit-dir option. 2956 1.1 christos * config.in: Regenerate. 2957 1.1 christos * configure: Regenerate. 2958 1.1 christos * configure.ac: Add new option --with-system-gdbinit-dir. 2959 1.1 christos * extension.c (get_ext_lang_of_file): Return extension_language_gdb 2960 1.1 christos for a ".gdb" suffix. 2961 1.1 christos * main.c (get_init_files): Change system_gdbinit argument to 2962 1.1 christos a vector and return the files in SYSTEM_GDBINIT_DIR in 2963 1.1 christos addition to SYSTEM_GDBINIT. 2964 1.1 christos (captured_main_1): Update. 2965 1.1 christos (print_gdb_help): Update. 2966 1.1 christos * top.c (print_gdb_configuration): Also print the value of 2967 1.1 christos SYSTEM_GDBINIT_DIR. 2968 1.1 christos 2969 1.1 christos 2019-10-28 Christian Biesinger <cbiesinger (a] google.com> 2970 1.1 christos 2971 1.1 christos * gdbsupport/common-utils.h (startswith): Add an overloaded version 2972 1.1 christos that takes gdb::string_view arguments. 2973 1.1 christos 2974 1.1 christos 2019-10-26 Tom de Vries <tdevries (a] suse.de> 2975 1.1 christos 2976 1.1 christos * aarch64-linux-tdep.c: Fix typos in comments. 2977 1.1 christos * aarch64-tdep.c: Same. 2978 1.1 christos * ada-lang.c: Same. 2979 1.1 christos * amd64-nat.c: Same. 2980 1.1 christos * arc-tdep.c: Same. 2981 1.1 christos * arch/aarch64-insn.c: Same. 2982 1.1 christos * block.c: Same. 2983 1.1 christos * breakpoint.h: Same. 2984 1.1 christos * btrace.h: Same. 2985 1.1 christos * c-varobj.c: Same. 2986 1.1 christos * cli/cli-decode.c: Same. 2987 1.1 christos * cli/cli-script.c: Same. 2988 1.1 christos * cli/cli-utils.h: Same. 2989 1.1 christos * coff-pe-read.c: Same. 2990 1.1 christos * coffread.c: Same. 2991 1.1 christos * compile/compile-cplus-symbols.c: Same. 2992 1.1 christos * compile/compile-object-run.c: Same. 2993 1.1 christos * completer.c: Same. 2994 1.1 christos * corelow.c: Same. 2995 1.1 christos * cp-support.c: Same. 2996 1.1 christos * demangle.c: Same. 2997 1.1 christos * dwarf-index-write.c: Same. 2998 1.1 christos * dwarf2-frame.c: Same. 2999 1.1 christos * dwarf2-frame.h: Same. 3000 1.1 christos * eval.c: Same. 3001 1.1 christos * frame-base.h: Same. 3002 1.1 christos * frame.h: Same. 3003 1.1 christos * gdbcmd.h: Same. 3004 1.1 christos * gdbtypes.h: Same. 3005 1.1 christos * gnu-nat.c: Same. 3006 1.1 christos * guile/scm-objfile.c: Same. 3007 1.1 christos * i386-tdep.c: Same. 3008 1.1 christos * i386-tdep.h: Same. 3009 1.1 christos * infcall.c: Same. 3010 1.1 christos * infcall.h: Same. 3011 1.1 christos * linux-nat.c: Same. 3012 1.1 christos * m68k-tdep.c: Same. 3013 1.1 christos * macroexp.c: Same. 3014 1.1 christos * memattr.c: Same. 3015 1.1 christos * mi/mi-cmd-disas.c: Same. 3016 1.1 christos * mi/mi-getopt.h: Same. 3017 1.1 christos * mi/mi-main.c: Same. 3018 1.1 christos * minsyms.c: Same. 3019 1.1 christos * nat/aarch64-sve-linux-sigcontext.h: Same. 3020 1.1 christos * objfiles.h: Same. 3021 1.1 christos * ppc-linux-nat.c: Same. 3022 1.1 christos * ppc-linux-tdep.c: Same. 3023 1.1 christos * ppc-tdep.h: Same. 3024 1.1 christos * progspace.h: Same. 3025 1.1 christos * prologue-value.h: Same. 3026 1.1 christos * python/py-evtregistry.c: Same. 3027 1.1 christos * python/py-instruction.h: Same. 3028 1.1 christos * record-btrace.c: Same. 3029 1.1 christos * record-full.c: Same. 3030 1.1 christos * remote.c: Same. 3031 1.1 christos * rs6000-tdep.c: Same. 3032 1.1 christos * ser-tcp.c: Same. 3033 1.1 christos * sol-thread.c: Same. 3034 1.1 christos * sparc-sol2-tdep.c: Same. 3035 1.1 christos * sparc64-tdep.c: Same. 3036 1.1 christos * stabsread.c: Same. 3037 1.1 christos * symfile.c: Same. 3038 1.1 christos * symtab.h: Same. 3039 1.1 christos * target.c: Same. 3040 1.1 christos * tracepoint.c: Same. 3041 1.1 christos * tui/tui-data.h: Same. 3042 1.1 christos * tui/tui-io.c: Same. 3043 1.1 christos * tui/tui-win.c: Same. 3044 1.1 christos * tui/tui.c: Same. 3045 1.1 christos * unittests/rsp-low-selftests.c: Same. 3046 1.1 christos * user-regs.h: Same. 3047 1.1 christos * utils.c: Same. 3048 1.1 christos * utils.h: Same. 3049 1.1 christos * valarith.c: Same. 3050 1.1 christos * valops.c: Same. 3051 1.1 christos * valprint.c: Same. 3052 1.1 christos * valprint.h: Same. 3053 1.1 christos * value.c: Same. 3054 1.1 christos * value.h: Same. 3055 1.1 christos * varobj.c: Same. 3056 1.1 christos * x86-nat.h: Same. 3057 1.1 christos * xtensa-tdep.c: Same. 3058 1.1 christos 3059 1.1 christos 2019-10-25 Ali Tamur <tamur (a] google.com> 3060 1.1 christos 3061 1.1 christos * charset.c (find_charset_names): Reflect API change. 3062 1.1 christos 3063 1.1 christos 2019-10-25 Christian Biesinger <cbiesinger (a] google.com> 3064 1.1 christos 3065 1.1 christos * symtab.c (struct demangled_name_entry): Change demangled name 3066 1.1 christos to a unique_xmalloc_ptr<char>, now that we don't allocate it as 3067 1.1 christos part of the struct anymore. 3068 1.1 christos (symbol_set_names): No longer obstack allocate + copy the demangled 3069 1.1 christos name, just store the allocated name from bfd. 3070 1.1 christos 3071 1.1 christos 2019-10-25 Tom Tromey <tromey (a] adacore.com> 3072 1.1 christos 3073 1.1 christos * dwarf2-frame.c (dwarf2_cie_table): Now a typedef. 3074 1.1 christos (bsearch_cie_cmp, add_cie): Remove. 3075 1.1 christos (find_cie): Reimplement. 3076 1.1 christos (decode_frame_entry_1, decode_frame_entry): Change type. Update. 3077 1.1 christos (dwarf2_build_frame_info): Update. 3078 1.1 christos 3079 1.1 christos 2019-10-24 H.J. Lu <hongjiu.lu (a] intel.com> 3080 1.1 christos 3081 1.1 christos PR gdb/25126 3082 1.1 christos * symfile.c (reread_symbols): Call forget_cached_source_info to 3083 1.1 christos clear the stale source cache. 3084 1.1 christos 3085 1.1 christos 2019-10-24 Christian Biesinger <cbiesinger (a] google.com> 3086 1.1 christos 3087 1.1 christos * configure: Regenerate. 3088 1.1 christos * configure.ac: Remove code that sets python_has_threads. 3089 1.1 christos 3090 1.1 christos 2019-10-24 Christian Biesinger <cbiesinger (a] google.com> 3091 1.1 christos 3092 1.1 christos * config.in: Regenerate. 3093 1.1 christos * configure: Regenerate. 3094 1.1 christos * configure.ac: Remove the code that uses sed to get the python 3095 1.1 christos version and defines HAVE_LIBPYTHON2_6 / HAVE_LIBPYTHON2_7. 3096 1.1 christos 3097 1.1 christos 2019-10-24 Andrew Burgess <andrew.burgess (a] embecosm.com> 3098 1.1 christos 3099 1.1 christos * python/py-progspace.c (pspy_block_for_pc): Return None for all 3100 1.1 christos error paths. 3101 1.1 christos 3102 1.1 christos 2019-10-23 Tom Tromey <tom (a] tromey.com> 3103 1.1 christos 3104 1.1 christos * arc-tdep.c: Remove ".." from include. 3105 1.1 christos * frv-tdep.c: Remove ".." from include. 3106 1.1 christos * lm32-tdep.c: Remove ".." from include. 3107 1.1 christos * microblaze-tdep.c: Remove ".." from include. 3108 1.1 christos * or1k-tdep.h: Remove ".." from include. 3109 1.1 christos * s12z-tdep.c: Remove ".." from include. 3110 1.1 christos * Makefile.in (OPCODES_CFLAGS): Add comment. 3111 1.1 christos (TOP_CFLAGS): New variable. 3112 1.1 christos (INTERNAL_CFLAGS_BASE): Add TOP_CFLAGS. 3113 1.1 christos 3114 1.1 christos 2019-10-23 Tom Tromey <tom (a] tromey.com> 3115 1.1 christos 3116 1.1 christos * Makefile.in (READLINE_DIR): Update. 3117 1.1 christos 3118 1.1 christos 2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 3119 1.1 christos 3120 1.1 christos * infcall.c (call_function_by_hand_dummy): Fix the function 3121 1.1 christos comment. And extract out a code section into... 3122 1.1 christos (reserve_stack_space): ...this new function. 3123 1.1 christos 3124 1.1 christos 2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 3125 1.1 christos 3126 1.1 christos * infcall.c (value_arg_coerce): Remove an unused parameter. 3127 1.1 christos (call_function_by_hand_dummy): Update the call to 3128 1.1 christos 'value_arg_coerce'. 3129 1.1 christos 3130 1.1 christos 2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 3131 1.1 christos 3132 1.1 christos * infcall.c (call_function_by_hand_dummy): Refactor. 3133 1.1 christos 3134 1.1 christos 2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur (a] intel.com> 3135 1.1 christos 3136 1.1 christos * MAINTAINERS (Write After Approval): Add Tankut Baris Aktemur. 3137 1.1 christos 3138 1.1 christos 2019-10-23 Tom Tromey <tom (a] tromey.com> 3139 1.1 christos 3140 1.1 christos * configure: Rebuild. 3141 1.1 christos * configure.ac: Don't check for sigprocmask. 3142 1.1 christos * gdbsupport/common.m4 (GDB_AC_COMMON): Check for sigprocmask. 3143 1.1 christos 3144 1.1 christos 2019-10-23 Tom Tromey <tom (a] tromey.com> 3145 1.1 christos 3146 1.1 christos * configure: Rebuild. 3147 1.1 christos * acinclude.m4: Use m4_include, not sinclude. 3148 1.1 christos 3149 1.1 christos 2019-10-23 Tom de Vries <tdevries (a] suse.de> 3150 1.1 christos 3151 1.1 christos PR breakpoints/24687 3152 1.1 christos * symtab.c (iterate_over_some_symtabs): Apply gdb_realpath on fullname. 3153 1.1 christos 3154 1.1 christos 2019-10-22 Christian Biesinger <cbiesinger (a] google.com> 3155 1.1 christos 3156 1.1 christos * symtab.c (struct demangled_name_entry) <language>: Change from 3157 1.1 christos bitfield to regular variable. 3158 1.1 christos 3159 1.1 christos 2019-10-22 Christian Biesinger <cbiesinger (a] google.com> 3160 1.1 christos 3161 1.1 christos * symtab.c (struct demangled_name_entry): Add a constructor. 3162 1.1 christos (free_demangled_name_entry): New function to call the destructor 3163 1.1 christos for demangled_name_entry. 3164 1.1 christos (create_demangled_names_hash): Pass free_demangled_name_entry to 3165 1.1 christos htab_create_alloc. 3166 1.1 christos (symbol_set_names): Call placement new for demangled_name_entry. 3167 1.1 christos * utils.c: No longer include xxhash.h here, now that fast_hash 3168 1.1 christos is inlined in the header. 3169 1.1 christos * utils.h: Instead, include it here. 3170 1.1 christos 3171 1.1 christos 2019-10-22 Christian Biesinger <cbiesinger (a] google.com> 3172 1.1 christos 3173 1.1 christos * Makefile.in: Link with libxxhash. 3174 1.1 christos * config.in: Regenerate. 3175 1.1 christos * configure: Regenerate. 3176 1.1 christos * configure.ac: Search for libxxhash. 3177 1.1 christos * utils.c (fast_hash): Use xxhash if present. 3178 1.1 christos 3179 1.1 christos 2019-10-22 Christian Biesinger <cbiesinger (a] google.com> 3180 1.1 christos 3181 1.1 christos * utils.h (fast_hash): New function. 3182 1.1 christos * symtab.c (hash_demangled_name_entry): Call new function 3183 1.1 christos fast_hash. 3184 1.1 christos 3185 1.1 christos 2019-10-22 Christian Biesinger <cbiesinger (a] google.com> 3186 1.1 christos 3187 1.1 christos * symtab.c (struct demangled_name_entry): Change type of mangled 3188 1.1 christos to gdb::string_view. Also adds a constructor that takes the 3189 1.1 christos mangled name. 3190 1.1 christos (hash_demangled_name_entry): Update. 3191 1.1 christos (eq_demangled_name_entry): Update. 3192 1.1 christos (free_demangled_name_entry): New function to call the destructor 3193 1.1 christos now that this is not a POD anymore. 3194 1.1 christos (create_demangled_names_hash): Pass free_demangled_name_entry to 3195 1.1 christos htab_create_alloc. 3196 1.1 christos (symbol_set_names): Update. 3197 1.1 christos 3198 1.1 christos 2019-10-21 Ali Tamur <tamu (a] google.com> 3199 1.1 christos 3200 1.1 christos * dwarf2read.c (dir_index): Change type. 3201 1.1 christos (file_name_index): Likewise. 3202 1.1 christos (line_header::include_dir_at): Change comment and implementation on 3203 1.1 christos whether it is DWARF 5. 3204 1.1 christos (line_header::is_valid_file_index): New function. 3205 1.1 christos (line_header::file_name_at): Change comment and implementation on 3206 1.1 christos whether it is DWARF 5. 3207 1.1 christos (line_header::file_names): Change to private field renamed as 3208 1.1 christos m_file_names and introduce a new accessor method. 3209 1.1 christos (line_header::file_names_size): New method. 3210 1.1 christos (line_header::include_dirs): Change to private field and rename as 3211 1.1 christos m_include_dirs. 3212 1.1 christos (dw2_get_file_names_reader): Define local var at a smaller scope and 3213 1.1 christos reflect API change. 3214 1.1 christos (dwarf2_cu::setup_type_unit_groups): Reflect API change. 3215 1.1 christos (process_structure_scope): Likewise. 3216 1.1 christos (line_header::add_include_dir): Change message and reflect renaming. 3217 1.1 christos (line_header::add_file_name): Likewise. 3218 1.1 christos (read_formatted_entries): Handle DW_FORM_data16. 3219 1.1 christos (dwarf_decode_line_header): Fix line header length calculation. 3220 1.1 christos (psymtab_include_file_name): Change comment and API. 3221 1.1 christos (lnp_state_machine::m_file): Update comment and reflect type change. 3222 1.1 christos (lnp_state_machine::record_line): Reflect type change. 3223 1.1 christos (dwarf_decode_lines): Reflect API change. 3224 1.1 christos (file_file_name): Likewise. 3225 1.1 christos (file_full_name): Likewise. 3226 1.1 christos 3227 1.1 christos 2019-10-21 Andrew Burgess <andrew.burgess (a] embecosm.com> 3228 1.1 christos 3229 1.1 christos * objfiles.c (sort_cmp): Ensure that !(a < a) holds true. 3230 1.1 christos 3231 1.1 christos 2019-10-21 Tom Tromey <tom (a] tromey.com> 3232 1.1 christos 3233 1.1 christos * tui/tui-winsource.h (tui_exec_info_content): Remove typedef. 3234 1.1 christos 3235 1.1 christos 2019-10-21 Tom Tromey <tom (a] tromey.com> 3236 1.1 christos 3237 1.1 christos * configure.ac (nm.h): Conditionally create nm.h link. Subst 3238 1.1 christos NM_H. Use AC_CONFIG_LINKS. 3239 1.1 christos * configure: Rebuild. 3240 1.1 christos * Makefile.in (NM_H): New variable. 3241 1.1 christos (generated_files): Add NM_H. Remove gcore. 3242 1.1 christos (nm.h, stamp-nmh): New targets. 3243 1.1 christos 3244 1.1 christos 2019-10-20 Tom Tromey <tom (a] tromey.com> 3245 1.1 christos 3246 1.1 christos * objfiles.h (unlink_objfile, put_objfile_before): Don't declare. 3247 1.1 christos * objfiles.c (unlink_objfile): Move earlier. Now static. Remove 3248 1.1 christos obsolete comment. 3249 1.1 christos (put_objfile_before): Now static. 3250 1.1 christos 3251 1.1 christos 2019-10-19 Simon Marchi <simon.marchi (a] polymtl.ca> 3252 1.1 christos 3253 1.1 christos * gdbsupport/common-utils.h (startswith): Change return type to 3254 1.1 christos bool. 3255 1.1 christos 3256 1.1 christos 2019-10-19 Christian Biesinger <cbiesinger (a] google.com> 3257 1.1 christos 3258 1.1 christos * bcache.c (bcache::print_statistics): Use std::sort instead of qsort. 3259 1.1 christos * breakpoint.c (bp_locations_compare): Rename to... 3260 1.1 christos (bp_location_is_less_than): ...this, and change to std::sort semantics. 3261 1.1 christos (update_global_location_list): Use std::sort instead of qsort. 3262 1.1 christos * buildsym.c (compare_line_numbers): Rename to... 3263 1.1 christos (lte_is_less_than): ...this, and change to std::sort semantics. 3264 1.1 christos (buildsym_compunit::end_symtab_with_blockvector): Use std::sort 3265 1.1 christos instead of qsort. 3266 1.1 christos * disasm.c (compare_lines): Rename to... 3267 1.1 christos (line_is_less_than): ...this, and change to std::sort semantics. 3268 1.1 christos (do_mixed_source_and_assembly_deprecated): Call std::sort instead 3269 1.1 christos of qsort. 3270 1.1 christos * dwarf2-frame.c (qsort_fde_cmp): Rename to... 3271 1.1 christos (fde_is_less_than): ...this, and change to std::sort semantics. 3272 1.1 christos (dwarf2_build_frame_info): Call std::sort instead of qsort. 3273 1.1 christos * mdebugread.c (compare_blocks): 3274 1.1 christos (block_is_less_than): ...this, and change to std::sort semantics. 3275 1.1 christos (sort_blocks): Call std::sort instead of qsort. 3276 1.1 christos * objfiles.c (qsort_cmp): Rename to... 3277 1.1 christos (sort_cmp): ...this, and change to std::sort semantics. 3278 1.1 christos (update_section_map): Call std::sort instead of qsort. 3279 1.1 christos * remote.c (compare_pnums): Remove. 3280 1.1 christos (map_regcache_remote_table): Call std::sort instead of qsort. 3281 1.1 christos * utils.c (compare_positive_ints): Remove. 3282 1.1 christos * utils.h (compare_positive_ints): Remove. 3283 1.1 christos * xcoffread.c (compare_lte): Remove. 3284 1.1 christos (arrange_linetable): Call std::sort instead of qsort. 3285 1.1 christos 3286 1.1 christos 2019-10-19 Sergio Durigan Junior <sergiodj (a] redhat.com> 3287 1.1 christos 3288 1.1 christos * symfile.c (init_entry_point_info): Fix typo. 3289 1.1 christos * i386-darwin-tdep.c (darwin_dwarf_signal_frame_p): Fix typo. 3290 1.1 christos 3291 1.1 christos 2019-10-18 Tom de Vries <tdevries (a] suse.de> 3292 1.1 christos 3293 1.1 christos * aarch64-tdep.c: Fix typos in comments. 3294 1.1 christos * ada-lang.c: Same. 3295 1.1 christos * ada-tasks.c: Same. 3296 1.1 christos * alpha-tdep.c: Same. 3297 1.1 christos * alpha-tdep.h: Same. 3298 1.1 christos * amd64-nat.c: Same. 3299 1.1 christos * amd64-windows-tdep.c: Same. 3300 1.1 christos * arc-tdep.c: Same. 3301 1.1 christos * arc-tdep.h: Same. 3302 1.1 christos * arch-utils.c: Same. 3303 1.1 christos * arm-nbsd-tdep.c: Same. 3304 1.1 christos * arm-tdep.c: Same. 3305 1.1 christos * ax-gdb.c: Same. 3306 1.1 christos * blockframe.c: Same. 3307 1.1 christos * btrace.c: Same. 3308 1.1 christos * c-varobj.c: Same. 3309 1.1 christos * coff-pe-read.c: Same. 3310 1.1 christos * coffread.c: Same. 3311 1.1 christos * cris-tdep.c: Same. 3312 1.1 christos * darwin-nat.c: Same. 3313 1.1 christos * dbxread.c: Same. 3314 1.1 christos * dcache.c: Same. 3315 1.1 christos * disasm.c: Same. 3316 1.1 christos * dtrace-probe.c: Same. 3317 1.1 christos * dwarf-index-write.c: Same. 3318 1.1 christos * dwarf2-frame-tailcall.c: Same. 3319 1.1 christos * dwarf2-frame.c: Same. 3320 1.1 christos * dwarf2read.c: Same. 3321 1.1 christos * eval.c: Same. 3322 1.1 christos * exceptions.c: Same. 3323 1.1 christos * fbsd-tdep.c: Same. 3324 1.1 christos * findvar.c: Same. 3325 1.1 christos * frame.c: Same. 3326 1.1 christos * frv-tdep.c: Same. 3327 1.1 christos * gnu-v3-abi.c: Same. 3328 1.1 christos * go32-nat.c: Same. 3329 1.1 christos * h8300-tdep.c: Same. 3330 1.1 christos * hppa-tdep.c: Same. 3331 1.1 christos * i386-linux-tdep.c: Same. 3332 1.1 christos * i386-tdep.c: Same. 3333 1.1 christos * ia64-libunwind-tdep.c: Same. 3334 1.1 christos * ia64-tdep.c: Same. 3335 1.1 christos * infcmd.c: Same. 3336 1.1 christos * infrun.c: Same. 3337 1.1 christos * linespec.c: Same. 3338 1.1 christos * linux-nat.c: Same. 3339 1.1 christos * linux-thread-db.c: Same. 3340 1.1 christos * machoread.c: Same. 3341 1.1 christos * mdebugread.c: Same. 3342 1.1 christos * mep-tdep.c: Same. 3343 1.1 christos * mn10300-tdep.c: Same. 3344 1.1 christos * namespace.c: Same. 3345 1.1 christos * objfiles.c: Same. 3346 1.1 christos * opencl-lang.c: Same. 3347 1.1 christos * or1k-tdep.c: Same. 3348 1.1 christos * osabi.c: Same. 3349 1.1 christos * ppc-linux-nat.c: Same. 3350 1.1 christos * ppc-linux-tdep.c: Same. 3351 1.1 christos * ppc-sysv-tdep.c: Same. 3352 1.1 christos * printcmd.c: Same. 3353 1.1 christos * procfs.c: Same. 3354 1.1 christos * record-btrace.c: Same. 3355 1.1 christos * record-full.c: Same. 3356 1.1 christos * remote-fileio.c: Same. 3357 1.1 christos * remote.c: Same. 3358 1.1 christos * rs6000-tdep.c: Same. 3359 1.1 christos * s12z-tdep.c: Same. 3360 1.1 christos * score-tdep.c: Same. 3361 1.1 christos * ser-base.c: Same. 3362 1.1 christos * ser-go32.c: Same. 3363 1.1 christos * skip.c: Same. 3364 1.1 christos * sol-thread.c: Same. 3365 1.1 christos * solib-svr4.c: Same. 3366 1.1 christos * solib.c: Same. 3367 1.1 christos * source.c: Same. 3368 1.1 christos * sparc-nat.c: Same. 3369 1.1 christos * sparc-sol2-tdep.c: Same. 3370 1.1 christos * sparc-tdep.c: Same. 3371 1.1 christos * sparc64-tdep.c: Same. 3372 1.1 christos * stabsread.c: Same. 3373 1.1 christos * stack.c: Same. 3374 1.1 christos * symfile.c: Same. 3375 1.1 christos * symtab.c: Same. 3376 1.1 christos * target-descriptions.c: Same. 3377 1.1 christos * target-float.c: Same. 3378 1.1 christos * thread.c: Same. 3379 1.1 christos * utils.c: Same. 3380 1.1 christos * valops.c: Same. 3381 1.1 christos * valprint.c: Same. 3382 1.1 christos * value.c: Same. 3383 1.1 christos * varobj.c: Same. 3384 1.1 christos * windows-nat.c: Same. 3385 1.1 christos * xcoffread.c: Same. 3386 1.1 christos * xstormy16-tdep.c: Same. 3387 1.1 christos * xtensa-tdep.c: Same. 3388 1.1 christos 3389 1.1 christos 2019-10-17 Tom Tromey <tromey (a] adacore.com> 3390 1.1 christos 3391 1.1 christos * configure: Rebuild. 3392 1.1 christos * configure.ac: Use AC_CONFIG_HEADERS. Create stamp-h there, not 3393 1.1 christos in AC_CONFIG_FILES invocation. 3394 1.1 christos * Makefile.in (Makefile, data-directory/Makefile, stamp-h): Use 3395 1.1 christos new-style config.status invocation. 3396 1.1 christos 3397 1.1 christos 2019-10-17 Tom de Vries <tdevries (a] suse.de> 3398 1.1 christos 3399 1.1 christos * arm-nbsd-nat.c: Fix typos in comments. 3400 1.1 christos * arm-tdep.c: Same. 3401 1.1 christos * darwin-nat-info.c: Same. 3402 1.1 christos * dwarf2read.c: Same. 3403 1.1 christos * elfread.c: Same. 3404 1.1 christos * event-top.c: Same. 3405 1.1 christos * findvar.c: Same. 3406 1.1 christos * gdbtypes.c: Same. 3407 1.1 christos * hppa-tdep.c: Same. 3408 1.1 christos * i386-tdep.c: Same. 3409 1.1 christos * jit.c: Same. 3410 1.1 christos * main.c: Same. 3411 1.1 christos * mdebugread.c: Same. 3412 1.1 christos * moxie-tdep.c: Same. 3413 1.1 christos * nto-procfs.c: Same. 3414 1.1 christos * osabi.c: Same. 3415 1.1 christos * ppc-linux-tdep.c: Same. 3416 1.1 christos * remote.c: Same. 3417 1.1 christos * riscv-tdep.c: Same. 3418 1.1 christos * s390-tdep.c: Same. 3419 1.1 christos * sh-tdep.c: Same. 3420 1.1 christos * sparc-linux-tdep.c: Same. 3421 1.1 christos * sparc-nat.c: Same. 3422 1.1 christos * stack.c: Same. 3423 1.1 christos * target-descriptions.c: Same. 3424 1.1 christos * top.c: Same. 3425 1.1 christos * varobj.c: Same. 3426 1.1 christos 3427 1.1 christos 2019-10-16 Tom Tromey <tom (a] tromey.com> 3428 1.1 christos 3429 1.1 christos * objfiles.h (struct objfile) <original_name>: Now const. 3430 1.1 christos 3431 1.1 christos 2019-10-16 Christian Biesinger <cbiesinger (a] google.com> 3432 1.1 christos 3433 1.1 christos * gdbsupport/gdb_setjmp.h (SIGSETJMP): Allow passing in the value to 3434 1.1 christos pass on to sigsetjmp's second argument. 3435 1.1 christos * cp-support.c (gdb_demangle): Unblock SIGSEGV if we caught a crash. 3436 1.1 christos 3437 1.1 christos 2019-10-16 Keith Seitz <keiths (a] redhat.com> 3438 1.1 christos 3439 1.1 christos PR gdb/23567 3440 1.1 christos * dwarf2read.c (dwarf2_per_objfile::locate_sections): Discard 3441 1.1 christos sections whose size is greater than the file size. 3442 1.1 christos 3443 1.1 christos 2019-10-16 Jim Wilson <jimw (a] sifive.com> 3444 1.1 christos 3445 1.1 christos * riscv-tdep.c (riscv_gcc_target_options): New. 3446 1.1 christos (riscv_gnu_triplet_regexp): New. 3447 1.1 christos (riscv_gdbarch_init): Call set_gdbarch_gcc_triplet_options and 3448 1.1 christos set_gdbarch_gnu_triplet_regexp. 3449 1.1 christos 3450 1.1 christos 2019-10-16 Christian Biesinger <cbiesinger (a] google.com> 3451 1.1 christos 3452 1.1 christos * Makefile.in: Add xml-builtin.h. 3453 1.1 christos * features/feature_to_c.sh: Add an include for xml-builtin.h 3454 1.1 christos to ensure that the compiler checks that the types match. 3455 1.1 christos * xml-builtin.h: New file. 3456 1.1 christos * xml-support.c (fetch_xml_builtin): Add missing const. 3457 1.1 christos * xml-support.h: Remove declaration of xml_builtins. 3458 1.1 christos 3459 1.1 christos 2019-10-16 Tom de Vries <tdevries (a] suse.de> 3460 1.1 christos 3461 1.1 christos PR tdep/25096 3462 1.1 christos * amd64-tdep.c (amd64_classify_aggregate_field): Factor out of ... 3463 1.1 christos (amd64_classify_aggregate): ... here. 3464 1.1 christos (amd64_classify_aggregate_field): Handled fiels of nested structs 3465 1.1 christos recursively. 3466 1.1 christos 3467 1.1 christos 2019-10-16 Tom de Vries <tdevries (a] suse.de> 3468 1.1 christos 3469 1.1 christos PR tdep/24104 3470 1.1 christos * amd64-tdep.c (amd64_push_arguments): Handle AMD64_NO_CLASS in loop 3471 1.1 christos that handles 'theclass'. 3472 1.1 christos 3473 1.1 christos 2019-10-15 Andrew Burgess <andrew.burgess (a] embecosm.com> 3474 1.1 christos 3475 1.1 christos * linespec.c (decode_digits_ordinary): Update comment. 3476 1.1 christos * make-target-delegates: No longer need to handle VEC case. 3477 1.1 christos * memrange.c (normalize_mem_ranges): Update comment. 3478 1.1 christos * namespace.c (add_using_directive): Update comment. 3479 1.1 christos * objc-lang.c (uniquify_strings): Update comment. 3480 1.1 christos * ppc-linux-nat.c (struct thread_points): Update comment. 3481 1.1 christos * probe.h (find_probes_in_objfile): Update comment. 3482 1.1 christos * target.h (enum flash_preserve_mode): Update comment. 3483 1.1 christos * varobj.c (varobj_restrict_range): Update comment. 3484 1.1 christos * varobj.h (varobj_list_children): Update comment. 3485 1.1 christos 3486 1.1 christos 2019-10-15 Andrew Burgess <andrew.burgess (a] embecosm.com> 3487 1.1 christos 3488 1.1 christos * Makefile.in: Remove references to vec.h and vec.c. 3489 1.1 christos * aarch64-tdep.c: No longer include vec.h. 3490 1.1 christos * ada-lang.c: Likewise. 3491 1.1 christos * ada-lang.h: Likewise. 3492 1.1 christos * arm-tdep.c: Likewise. 3493 1.1 christos * ax.h: Likewise. 3494 1.1 christos * breakpoint.h: Likewise. 3495 1.1 christos * charset.c: Likewise. 3496 1.1 christos * cp-support.h: Likewise. 3497 1.1 christos * dtrace-probe.c: Likewise. 3498 1.1 christos * dwarf2read.c: Likewise. 3499 1.1 christos * extension.h: Likewise. 3500 1.1 christos * gdb_bfd.c: Likewise. 3501 1.1 christos * gdbsupport/gdb_vecs.h: Likewise. 3502 1.1 christos * gdbsupport/vec.c: Remove. 3503 1.1 christos * gdbsupport/vec.h: Remove. 3504 1.1 christos * gdbthread.h: Likewise. 3505 1.1 christos * guile/scm-type.c: Likewise. 3506 1.1 christos * inline-frame.c: Likewise. 3507 1.1 christos * machoread.c: Likewise. 3508 1.1 christos * memattr.c: Likewise. 3509 1.1 christos * memrange.h: Likewise. 3510 1.1 christos * namespace.h: Likewise. 3511 1.1 christos * nat/linux-btrace.h: Likewise. 3512 1.1 christos * osdata.c: Likewise. 3513 1.1 christos * parser-defs.h: Likewise. 3514 1.1 christos * progspace.h: Likewise. 3515 1.1 christos * python/py-type.c: Likewise. 3516 1.1 christos * record-btrace.c: Likewise. 3517 1.1 christos * rust-exp.y: Likewise. 3518 1.1 christos * solib-target.c: Likewise. 3519 1.1 christos * stap-probe.c: Likewise. 3520 1.1 christos * target-descriptions.c: Likewise. 3521 1.1 christos * target-memory.c: Likewise. 3522 1.1 christos * target.h: Likewise. 3523 1.1 christos * varobj.c: Likewise. 3524 1.1 christos * varobj.h: Likewise. 3525 1.1 christos * xml-support.h: Likewise. 3526 1.1 christos 3527 1.1 christos 2019-10-15 Andrew Burgess <andrew.burgess (a] embecosm.com> 3528 1.1 christos 3529 1.1 christos * dwarf2read.c (dwarf2_per_objfile::~dwarf2_per_objfile): 3530 1.1 christos Update for new std::vector based implementation. 3531 1.1 christos (process_psymtab_comp_unit_reader): Likewise. 3532 1.1 christos (scan_partial_symbols): Likewise. 3533 1.1 christos (recursively_compute_inclusions): Likewise. 3534 1.1 christos (compute_compunit_symtab_includes): Likewise. 3535 1.1 christos (process_imported_unit_die): Likewise. 3536 1.1 christos (queue_and_load_dwo_tu): Likewise. 3537 1.1 christos (follow_die_sig_1): Likewise. 3538 1.1 christos * dwarf2read.h: Remove DEF_VEC_P. 3539 1.1 christos (typedef dwarf2_per_cu_ptr): Remove. 3540 1.1 christos (struct dwarf2_per_cu_data) <imported_symtabs_empty>: New 3541 1.1 christos function. 3542 1.1 christos (struct dwarf2_per_cu_data) <imported_symtabs_push>: New function. 3543 1.1 christos (struct dwarf2_per_cu_data) <imported_symtabs_size>: New function. 3544 1.1 christos (struct dwarf2_per_cu_data) <imported_symtabs_free>: New function. 3545 1.1 christos (struct dwarf2_per_cu_data) <imported_symtabs>: Change to 3546 1.1 christos std::vector. 3547 1.1 christos 3548 1.1 christos 2019-10-15 Tom Tromey <tromey (a] adacore.com> 3549 1.1 christos 3550 1.1 christos * windows-nat.c (windows_nat_target::resume): Use %x when logging 3551 1.1 christos TID. 3552 1.1 christos 3553 1.1 christos 2019-10-15 Tom Tromey <tromey (a] adacore.com> 3554 1.1 christos 3555 1.1 christos * windows-nat.c (windows_nat_target::fetch_registers) 3556 1.1 christos (windows_nat_target::store_registers): Rename "pid" to "tid". 3557 1.1 christos 3558 1.1 christos 2019-10-15 Tom Tromey <tromey (a] adacore.com> 3559 1.1 christos 3560 1.1 christos * gdbarch.h, gdbarch.c: Rebuild. 3561 1.1 christos * gdbarch.sh (gcc_target_options): Change return type to 3562 1.1 christos std::string. 3563 1.1 christos * compile/compile.c (get_args): Update. 3564 1.1 christos * nios2-tdep.c (nios2_gcc_target_options): Return std::string. 3565 1.1 christos * arm-linux-tdep.c (arm_linux_gcc_target_options): Return 3566 1.1 christos std::string. 3567 1.1 christos * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): Return 3568 1.1 christos std::string. 3569 1.1 christos * arch-utils.c (default_gcc_target_options): Return std::string. 3570 1.1 christos * arch-utils.h (default_gcc_target_options): Return std::string. 3571 1.1 christos * s390-tdep.c (s390_gcc_target_options): Return std::string. 3572 1.1 christos 3573 1.1 christos 2019-10-15 Christian Biesinger <cbiesinger (a] google.com> 3574 1.1 christos 3575 1.1 christos * breakpoint.c (breakpoint_chain): Make static. 3576 1.1 christos * tui/tui-winsource.c: Call iterate_over_breakpoints instead 3577 1.1 christos of accessing breakpoint_chain. 3578 1.1 christos 3579 1.1 christos 2019-10-15 Christian Biesinger <cbiesinger (a] google.com> 3580 1.1 christos 3581 1.1 christos * breakpoint.c (iterate_over_breakpoints): Change function pointer 3582 1.1 christos to a gdb::function_view and return value to bool. 3583 1.1 christos * breakpoint.h (iterate_over_breakpoints): Likewise. 3584 1.1 christos * dummy-frame.c (pop_dummy_frame_bpt): Update. 3585 1.1 christos (pop_dummy_frame): Update. 3586 1.1 christos * guile/scm-breakpoint.c (bpscm_build_bp_list): Update. 3587 1.1 christos (gdbscm_breakpoints): Update. 3588 1.1 christos * python/py-breakpoint.c (build_bp_list): Update. 3589 1.1 christos (gdbpy_breakpoints): Update. 3590 1.1 christos * python/py-finishbreakpoint.c (bpfinishpy_detect_out_scope_cb): 3591 1.1 christos Update. 3592 1.1 christos (bpfinishpy_handle_stop): Update. 3593 1.1 christos (bpfinishpy_handle_exit): Update. 3594 1.1 christos * solib-svr4.c (svr4_update_solib_event_breakpoint): Update. 3595 1.1 christos (svr4_update_solib_event_breakpoints): Update. 3596 1.1 christos 3597 1.1 christos 2019-10-15 Andreas Arnez <arnez (a] linux.ibm.com> 3598 1.1 christos 3599 1.1 christos * s390-tdep.c (s390_effective_inner_type): Ignore static fields 3600 1.1 christos when unwrapping single-field structs. 3601 1.1 christos 3602 1.1 christos 2019-10-14 Simon Marchi <simon.marchi (a] polymtl.ca> 3603 1.1 christos 3604 1.1 christos * dwarf2read.c: Remove includes. 3605 1.1 christos 3606 1.1 christos 2019-10-13 Simon Marchi <simon.marchi (a] polymtl.ca> 3607 1.1 christos 3608 1.1 christos * ui-out.c (ui_out::call_do_message): Silence 3609 1.1 christos -Wformat-nonliteral warning. 3610 1.1 christos 3611 1.1 christos 2019-10-12 Simon Marchi <simon.marchi (a] polymtl.ca> 3612 1.1 christos 3613 1.1 christos * breakpoint.c: Remove some includes: continuations.h, skip.h, 3614 1.1 christos mi/mi-main.h, readline/readline.h, readline/history.h. Add 3615 1.1 christos include: readline/tilde.h. 3616 1.1 christos 3617 1.1 christos 2019-10-12 Christian Biesinger <cbiesinger (a] google.com> 3618 1.1 christos 3619 1.1 christos * remote.c (remote_target::get_trace_status): Remove declaration of 3620 1.1 christos trace_regblock_size. 3621 1.1 christos 3622 1.1 christos 2019-10-12 Christian Biesinger <cbiesinger (a] google.com> 3623 1.1 christos 3624 1.1 christos * cli/cli-cmds.c (max_user_call_depth): Move comment to header. 3625 1.1 christos (show_user): Remove declaration of cmdlist. 3626 1.1 christos * cli/cli-cmds.h (max_user_call_depth): Declare. 3627 1.1 christos * cli/cli-script.c (execute_user_command): Remove declaration 3628 1.1 christos of max_user_call_depth. 3629 1.1 christos 3630 1.1 christos 2019-10-11 Jim Wilson <jimw (a] sifive.com> 3631 1.1 christos 3632 1.1 christos * gdbsupport/print-utils.h (pulongest): Fix comment. 3633 1.1 christos (plongest): Likewise. 3634 1.1 christos (phex): Add missing comment, mention leading zeros. 3635 1.1 christos (phex_nz): Add mention of no leading zeros to comment. 3636 1.1 christos 3637 1.1 christos * riscv-tdep.c (riscv_push_dummy_code): Change %lld to %s and use 3638 1.1 christos plongest instead of unsigned long long cast. 3639 1.1 christos 3640 1.1 christos 2019-10-10 Christian Biesinger <cbiesinger (a] google.com> 3641 1.1 christos 3642 1.1 christos * main.c (captured_main_1): Include gdbtk.h and remove declarations 3643 1.1 christos for external_editor_command and gdbtk_test. 3644 1.1 christos 3645 1.1 christos 2019-10-10 Christian Biesinger <cbiesinger (a] google.com> 3646 1.1 christos 3647 1.1 christos * mi/mi-cmd-var.c (varobjdebug): Remove declaration. 3648 1.1 christos * varobj.c (varobjdebug): Move comment to... 3649 1.1 christos * varobj.h (varobjdebug): ...here, and declare. 3650 1.1 christos 3651 1.1 christos 2019-10-09 Tom Tromey <tom (a] tromey.com> 3652 1.1 christos 3653 1.1 christos * tui/tui-regs.c (tui_data_window::show_registers): Don't call 3654 1.1 christos erase_data_content. 3655 1.1 christos 3656 1.1 christos 2019-10-09 Tom Tromey <tom (a] tromey.com> 3657 1.1 christos 3658 1.1 christos * tui/tui-wingeneral.h (tui_delete_win): Don't declare. 3659 1.1 christos * tui/tui-stack.c (tui_locator_window::rerender): Update. 3660 1.1 christos * tui/tui-command.c (tui_cmd_window::resize) 3661 1.1 christos (tui_refresh_cmd_win): Update. 3662 1.1 christos * tui/tui-win.c (tui_resize_all, tui_set_focus_command): Update. 3663 1.1 christos * tui/tui.c (tui_rl_other_window, tui_enable): Update. 3664 1.1 christos * tui/tui-data.c (~tui_gen_win_info): Remove. 3665 1.1 christos * tui/tui-layout.c (tui_gen_win_info::resize): Update. 3666 1.1 christos * tui/tui-io.c (update_cmdwin_start_line, tui_putc, tui_puts) 3667 1.1 christos (tui_redisplay_readline, tui_mld_flush) 3668 1.1 christos (tui_mld_erase_entire_line, tui_mld_getc, tui_getc): Update. 3669 1.1 christos * tui/tui-regs.c (tui_data_window::delete_data_content_windows) 3670 1.1 christos (tui_data_window::erase_data_content) 3671 1.1 christos (tui_data_item_window::rerender) 3672 1.1 christos (tui_data_item_window::refresh_window): Update. 3673 1.1 christos * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window) 3674 1.1 christos (box_win, tui_gen_win_info::make_window) 3675 1.1 christos (tui_gen_win_info::make_visible): Update. 3676 1.1 christos (tui_delete_win): Remove. 3677 1.1 christos * tui/tui-winsource.c 3678 1.1 christos (tui_source_window_base::do_erase_source_content): Update. 3679 1.1 christos (tui_show_source_line, tui_source_window_base::update_tab_width) 3680 1.1 christos (tui_source_window_base::update_exec_info): Update. 3681 1.1 christos * tui/tui-data.h (struct curses_deleter): New. 3682 1.1 christos (struct tui_gen_win_info) <handle>: Now a unique_ptr. 3683 1.1 christos (struct tui_gen_win_info) <~tui_gen_win_info>: Define. 3684 1.1 christos 3685 1.1 christos 2019-10-09 Tom Tromey <tom (a] tromey.com> 3686 1.1 christos 3687 1.1 christos * tui/tui-wingeneral.h (struct tui_gen_win_info): Don't declare. 3688 1.1 christos 3689 1.1 christos 2019-10-09 Tom Tromey <tom (a] tromey.com> 3690 1.1 christos 3691 1.1 christos * tui/tui-data.c (tui_win_is_auxiliary): Remove. 3692 1.1 christos * tui/tui-data.h (tui_win_is_auxiliary): Don't declare. 3693 1.1 christos 3694 1.1 christos 2019-10-09 Tom Tromey <tom (a] tromey.com> 3695 1.1 christos 3696 1.1 christos * tui/tui-disasm.c (tui_get_low_disassembly_address): Compute 3697 1.1 christos window height directly. 3698 1.1 christos * tui/tui-layout.h (tui_default_win_viewport_height): Don't 3699 1.1 christos declare. 3700 1.1 christos * tui/tui-layout.c (tui_default_win_height): Remove. 3701 1.1 christos (tui_default_win_viewport_height): Remove. 3702 1.1 christos 3703 1.1 christos 2019-10-09 Tom Tromey <tom (a] tromey.com> 3704 1.1 christos 3705 1.1 christos * tui/tui.h: Remove comments. 3706 1.1 christos 3707 1.1 christos 2019-10-09 Tom de Vries <tdevries (a] suse.de> 3708 1.1 christos 3709 1.1 christos * python/lib/gdb/printer/bound_registers.py: Use 3710 1.1 christos '^builtin_type_bound128' as regexp argument for 3711 1.1 christos add_builtin_pretty_printer. 3712 1.1 christos 3713 1.1 christos 2019-10-09 Christian Biesinger <cbiesinger (a] google.com> 3714 1.1 christos 3715 1.1 christos * guile/guile.c (guile_extension_script_ops): Remove forward 3716 1.1 christos declaration and mark as static. 3717 1.1 christos (guile_script_ops): Likewise. 3718 1.1 christos (extension_language_guile): Move further down in the file so 3719 1.1 christos it can reference the definitions for guile_{extension_,}script_ops. 3720 1.1 christos 3721 1.1 christos 2019-10-09 Andreas Arnez <arnez (a] linux.ibm.com> 3722 1.1 christos 3723 1.1 christos * s390-tdep.c (390_process_record): Handle new arch13 instructions 3724 1.1 christos except SORTL, DFLTCC, and KDSA. 3725 1.1 christos 3726 1.1 christos 2019-10-08 Tom Tromey <tromey (a] adacore.com> 3727 1.1 christos 3728 1.1 christos * windows-nat.c (struct windows_thread_info_struct) <sf>: Remove. 3729 1.1 christos (struct safe_symbol_file_add_args): Remove. 3730 1.1 christos 3731 1.1 christos 2019-10-08 Tom Tromey <tromey (a] adacore.com> 3732 1.1 christos 3733 1.1 christos * windows-nat.c: Don't include buildsym-legacy.h. 3734 1.1 christos 3735 1.1 christos 2019-10-08 Tom Tromey <tromey (a] adacore.com> 3736 1.1 christos 3737 1.1 christos * contrib/ari/gdb_ari.sh (%p): Allow gdb-specific %p extensions. 3738 1.1 christos 3739 1.1 christos 2019-10-08 Christian Biesinger <cbiesinger (a] google.com> 3740 1.1 christos 3741 1.1 christos * gdbtypes.c (overload_debug): Move comment to header. 3742 1.1 christos * gdbtypes.h (overload_debug): Declare. 3743 1.1 christos * valops.c: Remove declaration of overload_debug, instead 3744 1.1 christos include gdbtypes.h. 3745 1.1 christos 3746 1.1 christos 2019-10-08 Christian Biesinger <cbiesinger (a] google.com> 3747 1.1 christos 3748 1.1 christos * language.c (show_language_command): Pass lang_frame_mismatch_warn 3749 1.1 christos through _(). 3750 1.1 christos (lang_frame_mismatch_warn): Make const, mark with N_(), and 3751 1.1 christos move comment... 3752 1.1 christos * language.h (lang_frame_mismatch_warn): ... here. Also add 3753 1.1 christos declaration. 3754 1.1 christos * top.c (lang_frame_mismatch_warn): Remove declaration. 3755 1.1 christos (check_frame_language_change): Pass lang_frame_mismatch_warn 3756 1.1 christos through _(). 3757 1.1 christos 3758 1.1 christos 2019-10-07 Christian Biesinger <cbiesinger (a] google.com> 3759 1.1 christos 3760 1.1 christos * c-lang.h (vtbl_ptr_name): Declare. 3761 1.1 christos * cp-valprint.c (vtbl_ptr_name): Remove "extern" now that we get 3762 1.1 christos it from the header. 3763 1.1 christos * stabsread.c (define_symbol): Remove declaration of vtbl_ptr_name. 3764 1.1 christos 3765 1.1 christos 2019-10-07 Christian Biesinger <cbiesinger (a] google.com> 3766 1.1 christos 3767 1.1 christos * charset.c (your_gdb_wchar_t_is_bogus): Replace with a 3768 1.1 christos gdb_static_assert. 3769 1.1 christos 3770 1.1 christos 2019-10-07 Weimin Pan <weimin.pan (a] oracle.com> 3771 1.1 christos 3772 1.1 christos * ../Makefile.def (dependencies): Add all-libctf to all-gdb 3773 1.1 christos * ../Makefile.in: Add "all-gdb: maybe-all-libctf" 3774 1.1 christos * ctfread.c: New file. 3775 1.1 christos * ctfread.h: New file. 3776 1.1 christos * elfread.c: Include ctfread.h. 3777 1.1 christos (struct elfinfo text_p): New member ctfsect. 3778 1.1 christos (elf_locate_sections): Mark CTF section. 3779 1.1 christos (elf_symfile_read): Call elfctf_build_psymtabs. 3780 1.1 christos * Makefile.in (LIBCTF): Add. 3781 1.1 christos (CLIBS): Use it. 3782 1.1 christos (CDEPS): Likewise. 3783 1.1 christos (DIST): Add ctfread.c. 3784 1.1 christos 3785 1.1 christos 2019-10-07 Andrew Burgess <andrew.burgess (a] embecosm.com> 3786 1.1 christos 3787 1.1 christos * ctfread.c (struct nextfield): Renamed to ... 3788 1.1 christos (struct ctf_nextfield): ... this. 3789 1.1 christos (struct field_info): Renamed to ... 3790 1.1 christos (strut ctf_field_info): ... this. 3791 1.1 christos (attach_fields_to_type): Update for renamed structures. 3792 1.1 christos (ctf_add_member_cb): Likewise. 3793 1.1 christos (ctf_add_enum_member_cb): Likewise. 3794 1.1 christos (process_struct_members): Likewise. 3795 1.1 christos (process_enum_type): Likewise. 3796 1.1 christos 3797 1.1 christos 2019-10-07 Weimin Pan <weimin.pan (a] oracle.com> 3798 1.1 christos 3799 1.1 christos * tracectf.h: Rename, was ctf.h. 3800 1.1 christos * tracectf.c: Rename, was ctf.c, replace ctf.h with tracectf.h. 3801 1.1 christos * tracefile.c: Likewise. 3802 1.1 christos * tracepoint.c: Remove unused include ctf.h. 3803 1.1 christos * mi/mi-main.c: Likewise. 3804 1.1 christos * Makefile.in Replace ctf.c with tracectf.c. 3805 1.1 christos 3806 1.1 christos 2019-10-06 Joel Brobecker <brobecker (a] adacore.com> 3807 1.1 christos 3808 1.1 christos * version.in: Change version number to "9.0.50.DATE-git". 3809 1.1 christos 3810 1.1 christos 2019-10-03 Tom Tromey <tom (a] tromey.com> 3811 1.1 christos 3812 1.1 christos PR rust/24976: 3813 1.1 christos * dwarf2read.c (quirk_rust_enum): Handle single-element unions. 3814 1.1 christos 3815 1.1 christos 2019-10-03 Andrew Burgess <andrew.burgess (a] embecosm.com> 3816 1.1 christos 3817 1.1 christos * f-lang.c (f_language_defn): Use cp_get_symbol_name_matcher and 3818 1.1 christos cp_search_name_hash. 3819 1.1 christos * NEWS: Add entry about nested function support. 3820 1.1 christos 3821 1.1 christos 2019-10-03 Bernhard Heckel <bernhard.heckel (a] intel.com> 3822 1.1 christos Andrew Burgess <andrew.burgess (a] embecosm.com> 3823 1.1 christos 3824 1.1 christos * cp-namespace.c (cp_search_static_and_baseclasses): Only search 3825 1.1 christos for nested static variables when searchin VAR_DOMAIN. 3826 1.1 christos * dwarf2read.c (add_partial_symbol): Add nested subroutines to the 3827 1.1 christos global scope, update comment. 3828 1.1 christos (add_partial_subprogram): Call add_partial_subprogram recursively 3829 1.1 christos for nested subroutines when processinng Fortran. 3830 1.1 christos (load_partial_dies): Process the child entities of a subprogram 3831 1.1 christos when processing Fortran. 3832 1.1 christos (partial_die_parent_scope): Handle building scope 3833 1.1 christos for Fortran nested functions. 3834 1.1 christos (process_die): Record that nested functions have a scope. 3835 1.1 christos (new_symbol): Always record Fortran subprograms on the global 3836 1.1 christos symbol list. 3837 1.1 christos (determine_prefix): How to build the prefix for Fortran 3838 1.1 christos subprograms. 3839 1.1 christos 3840 1.1 christos 2019-10-03 Andrew Burgess <andrew.burgess (a] embecosm.com> 3841 1.1 christos 3842 1.1 christos * linux-nat.c (linux_nat_filter_event): Don't ignore SIGSTOP if we 3843 1.1 christos have just sent the thread a SIGSTOP and are waiting for it to 3844 1.1 christos arrive. 3845 1.1 christos 3846 1.1 christos 2019-10-03 Andrew Burgess <andrew.burgess (a] embecosm.com> 3847 1.1 christos 3848 1.1 christos * btrace.c (btrace_add_pc): Remove whitespace before the template 3849 1.1 christos parameter in 'std::vector <...>'. 3850 1.1 christos (parse_xml_btrace_block): Likewise. 3851 1.1 christos (btrace_maint_decode_pt): Likewise. 3852 1.1 christos (btrace_maint_update_packets): Likewise. 3853 1.1 christos (btrace_maint_print_packets): Likewise. 3854 1.1 christos * btrace.h (struct btrace_maint_info): Likewise. 3855 1.1 christos * dwarf2read.c (struct type_unit_group): Likewise. 3856 1.1 christos (build_type_psymtabs_reader): Likewise. 3857 1.1 christos * gdbsupport/btrace-common.c (btrace_data_append): Likewise. 3858 1.1 christos * gdbsupport/btrace-common.h (struct btrace_data_bts): Likewise. 3859 1.1 christos * nat/linux-btrace.c (perf_event_read_bts): Likewise. 3860 1.1 christos 3861 1.1 christos 2019-10-03 Tom de Vries <tdevries (a] suse.de> 3862 1.1 christos 3863 1.1 christos * cli/cli-style.c (_initialize_cli_style): Adding a '.' at the end of 3864 1.1 christos the first line of the help text for set/show style metadata. 3865 1.1 christos 3866 1.1 christos 2019-10-02 Tom Tromey <tromey (a] adacore.com> 3867 1.1 christos 3868 1.1 christos * Makefile.in (COMMON_SFILES): Add common-inferior.c. 3869 1.1 christos * gdbsupport/common-inferior.c: New file. 3870 1.1 christos * infcmd.c (startup_with_shell): Don't define. 3871 1.1 christos * nat/fork-inferior.h (startup_with_shell): Don't declare. 3872 1.1 christos * gdbsupport/common-inferior.h (startup_with_shell): Declare. 3873 1.1 christos * inferior.h (startup_with_shell): Don't declare. 3874 1.1 christos 3875 1.1 christos 2019-10-02 Christian Biesinger <cbiesinger (a] google.com> 3876 1.1 christos 3877 1.1 christos * gdbsupport/gdb_assert.h: Include errors.h. 3878 1.1 christos * gdbsupport/gdb_string_view.h: Include gdb_assert.h. 3879 1.1 christos 3880 1.1 christos 2019-10-02 Tom Tromey <tromey (a] adacore.com> 3881 1.1 christos 3882 1.1 christos * NEWS: Add $_ada_exception entry. 3883 1.1 christos * ada-lang.c (struct ada_catchpoint): Add constructor. 3884 1.1 christos <m_kind>: New member. 3885 1.1 christos (allocate_location_exception, re_set_exception): Remove 3886 1.1 christos "ex" parameter. 3887 1.1 christos (should_stop_exception): Compute $_ada_exception. 3888 1.1 christos (check_status_exception, print_it_exception) 3889 1.1 christos (print_one_exception, print_mention_exception): Remove 3890 1.1 christos "ex" parameter. 3891 1.1 christos (allocate_location_catch_exception, re_set_catch_exception) 3892 1.1 christos (check_status_exception, print_it_catch_exception) 3893 1.1 christos (print_one_catch_exception, print_mention_catch_exception) 3894 1.1 christos (print_recreate_catch_exception) 3895 1.1 christos (allocate_location_catch_exception_unhandled) 3896 1.1 christos (re_set_catch_exception_unhandled) 3897 1.1 christos (check_status_exception, print_it_catch_exception_unhandled) 3898 1.1 christos (print_one_catch_exception_unhandled) 3899 1.1 christos (print_mention_catch_exception_unhandled) 3900 1.1 christos (print_recreate_catch_exception_unhandled) 3901 1.1 christos (allocate_location_catch_assert, re_set_catch_assert) 3902 1.1 christos (check_status_assert, print_it_catch_assert) 3903 1.1 christos (print_one_catch_assert, print_mention_catch_assert) 3904 1.1 christos (print_recreate_catch_assert) 3905 1.1 christos (allocate_location_catch_handlers, re_set_catch_handlers) 3906 1.1 christos (check_status_handlers, print_it_catch_handlers) 3907 1.1 christos (print_one_catch_handlers, print_mention_catch_handlers) 3908 1.1 christos (print_recreate_catch_handlers): Remove. 3909 1.1 christos (create_ada_exception_catchpoint): Update. 3910 1.1 christos (initialize_ada_catchpoint_ops): Update. 3911 1.1 christos 3912 1.1 christos 2019-10-02 Tom Tromey <tromey (a] adacore.com> 3913 1.1 christos 3914 1.1 christos * ada-lang.c (ada_lookup_simple_minsyms): Remove. 3915 1.1 christos (create_excep_cond_exprs): Simplify exception string computation. 3916 1.1 christos (ada_exception_catchpoint_cond_string): Likewise. 3917 1.1 christos 3918 1.1 christos 2019-10-02 Tom Tromey <tromey (a] adacore.com> 3919 1.1 christos 3920 1.1 christos * symmisc.c (dump_msymbols): Don't use MSYMBOL_VALUE_ADDRESS. 3921 1.1 christos * ada-lang.c (lesseq_defined_than): Handle 3922 1.1 christos LOC_STATIC. 3923 1.1 christos * dwarf2read.c (dwarf2_per_objfile): Add can_copy 3924 1.1 christos parameter. 3925 1.1 christos (dwarf2_has_info): Likewise. 3926 1.1 christos (new_symbol): Set maybe_copied on symbol when 3927 1.1 christos appropriate. 3928 1.1 christos * dwarf2read.h (dwarf2_per_objfile): Add can_copy 3929 1.1 christos parameter. 3930 1.1 christos <can_copy>: New member. 3931 1.1 christos * elfread.c (record_minimal_symbol): Set maybe_copied 3932 1.1 christos on symbol when appropriate. 3933 1.1 christos (elf_symfile_read): Update call to dwarf2_has_info. 3934 1.1 christos * minsyms.c (lookup_minimal_symbol_linkage): New 3935 1.1 christos function. 3936 1.1 christos * minsyms.h (lookup_minimal_symbol_linkage): Declare. 3937 1.1 christos * symtab.c (get_symbol_address, get_msymbol_address): 3938 1.1 christos New functions. 3939 1.1 christos * symtab.h (get_symbol_address, get_msymbol_address): 3940 1.1 christos Declare. 3941 1.1 christos (SYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_ADDRESS): Handle 3942 1.1 christos maybe_copied. 3943 1.1 christos (struct symbol, struct minimal_symbol) <maybe_copied>: 3944 1.1 christos New member. 3945 1.1 christos 3946 1.1 christos 2019-10-02 Tom Tromey <tromey (a] adacore.com> 3947 1.1 christos 3948 1.1 christos * source.c (struct current_source_location): New. 3949 1.1 christos (current_source_key): New global. 3950 1.1 christos (current_source_symtab, current_source_line) 3951 1.1 christos (current_source_pspace): Remove. 3952 1.1 christos (get_source_location): New function. 3953 1.1 christos (get_current_source_symtab_and_line) 3954 1.1 christos (set_default_source_symtab_and_line) 3955 1.1 christos (set_current_source_symtab_and_line) 3956 1.1 christos (clear_current_source_symtab_and_line, select_source_symtab) 3957 1.1 christos (info_source_command, print_source_lines_base) 3958 1.1 christos (info_line_command, search_command_helper, _initialize_source): 3959 1.1 christos Update. 3960 1.1 christos 3961 1.1 christos 2019-10-02 Tom Tromey <tromey (a] adacore.com> 3962 1.1 christos 3963 1.1 christos * source.c (select_source_symtab): Don't call 3964 1.1 christos decode_line_with_current_source. 3965 1.1 christos 3966 1.1 christos 2019-10-02 Andrew Burgess <andrew.burgess (a] embecosm.com> 3967 1.1 christos 3968 1.1 christos * symtab.c (lookup_global_symbol): Search global block. 3969 1.1 christos 3970 1.1 christos 2019-10-02 Tom Tromey <tromey (a] adacore.com> 3971 1.1 christos 3972 1.1 christos * coffread.c (process_coff_symbol): Update. 3973 1.1 christos * dwarf2read.c (var_decode_location, new_symbol): Update. 3974 1.1 christos * mdebugread.c (parse_symbol): Update. 3975 1.1 christos * objfiles.c (relocate_one_symbol): Update. 3976 1.1 christos * stabsread.c (define_symbol, fix_common_block) 3977 1.1 christos (scan_file_globals): Update. 3978 1.1 christos * symtab.h (SYMBOL_VALUE_ADDRESS): Expand to an rvalue. 3979 1.1 christos (SET_SYMBOL_VALUE_ADDRESS): New macro. 3980 1.1 christos * xcoffread.c (process_xcoff_symbol): Update. 3981 1.1 christos 3982 1.1 christos 2019-10-02 Andreas Arnez <arnez (a] linux.ibm.com> 3983 1.1 christos 3984 1.1 christos * MAINTAINERS: Update my email address. 3985 1.1 christos 3986 1.1 christos 2019-10-02 Andrew Burgess <andrew.burgess (a] embecosm.com> 3987 1.1 christos 3988 1.1 christos * dwarf2read.c (struct type_unit_group) <tus>: Convert to 3989 1.1 christos std::vector. 3990 1.1 christos (build_type_psymtabs_reader): Update for std::vector. 3991 1.1 christos (build_type_psymtab_dependencies): Likewise. 3992 1.1 christos * dwarf2read.h: Remove use of DEF_VEC_P. 3993 1.1 christos (typedef sig_type_ptr): Delete. 3994 1.1 christos 3995 1.1 christos 2019-10-02 Andrew Burgess <andrew.burgess (a] embecosm.com> 3996 1.1 christos 3997 1.1 christos * btrace.c (btrace_maint_clear): Update to handle change from VEC 3998 1.1 christos to std::vector. 3999 1.1 christos (btrace_maint_decode_pt): Likewise, and move allocation of the 4000 1.1 christos vector outside of the loop. 4001 1.1 christos (btrace_maint_update_packets): Update to handle change from VEC to 4002 1.1 christos std::vector. 4003 1.1 christos (btrace_maint_print_packets): Likewise. 4004 1.1 christos (maint_info_btrace_cmd): Likewise. 4005 1.1 christos * btrace.h: Remove use of DEF_VEC_O. 4006 1.1 christos (typedef btrace_pt_packet_s): Delete. 4007 1.1 christos (struct btrace_maint_info) <packets>: Change fromm VEC to 4008 1.1 christos std::vector. 4009 1.1 christos * gdbsupport/btrace-common.h: Remove 'vec.h' include. 4010 1.1 christos 4011 1.1 christos 2019-10-02 Andrew Burgess <andrew.burgess (a] embecosm.com> 4012 1.1 christos 4013 1.1 christos * btrace.c (btrace_compute_ftrace_bts): Update for std::vector, 4014 1.1 christos make accesses into the vector constant references. 4015 1.1 christos (btrace_add_pc): Update for std::vector. 4016 1.1 christos (btrace_stitch_bts): Likewise. 4017 1.1 christos (parse_xml_btrace_block): Likewise. 4018 1.1 christos (btrace_maint_update_packets): Likewise. 4019 1.1 christos (btrace_maint_print_packets): Likewise. 4020 1.1 christos (maint_info_btrace_cmd): Likewise. 4021 1.1 christos * gdbsupport/btrace-common.c (btrace_data::fini): Update for 4022 1.1 christos std::vector. 4023 1.1 christos (btrace_data::empty): Likewise. 4024 1.1 christos (btrace_data_append): Likewise. 4025 1.1 christos * gdbsupport/btrace-common.h: Remove use of DEF_VEC_O. 4026 1.1 christos (typedef btrace_block_s): Delete. 4027 1.1 christos (struct btrace_block): Add constructor. 4028 1.1 christos (struct btrace_data_bts) <blocks>: Change to std::vector. 4029 1.1 christos * nat/linux-btrace.c (perf_event_read_bts): Update for 4030 1.1 christos std::vector. 4031 1.1 christos (linux_read_bts): Likewise. 4032 1.1 christos 4033 1.1 christos 2019-10-01 Tom Tromey <tom (a] tromey.com> 4034 1.1 christos 4035 1.1 christos * cli/cli-logging.c (show_logging_filename): Use styled_string. 4036 1.1 christos 4037 1.1 christos 2019-10-01 Tom Tromey <tom (a] tromey.com> 4038 1.1 christos 4039 1.1 christos * stack.c (print_frame, info_frame_command_core): Use 4040 1.1 christos styled_string. 4041 1.1 christos * linux-thread-db.c (try_thread_db_load_1) 4042 1.1 christos (try_thread_db_load_from_pdir_1): Use styled_string. 4043 1.1 christos * auto-load.c (file_is_auto_load_safe, execute_script_contents) 4044 1.1 christos (auto_load_section_scripts, info_auto_load_local_gdbinit) 4045 1.1 christos (maybe_print_unsupported_script_warning) 4046 1.1 christos (maybe_print_script_not_found_warning): Use styled_string. 4047 1.1 christos * ada-lang.c (user_select_syms): Use styled_string. 4048 1.1 christos 4049 1.1 christos 2019-10-01 Tom Tromey <tom (a] tromey.com> 4050 1.1 christos 4051 1.1 christos * p-lang.c (pascal_printstr): Use metadata style. 4052 1.1 christos * value.c (show_convenience): Use metadata style. 4053 1.1 christos * valprint.c (valprint_check_validity, val_print_optimized_out) 4054 1.1 christos (val_print_not_saved, val_print_unavailable) 4055 1.1 christos (val_print_invalid_address, generic_val_print, val_print) 4056 1.1 christos (value_check_printable, val_print_array_elements): Use metadata 4057 1.1 christos style. 4058 1.1 christos * ui-out.h (class ui_out) <field_fmt>: New overload. 4059 1.1 christos <do_field_fmt>: Add style parameter. 4060 1.1 christos * ui-out.c (ui_out::field_fmt): New overload. 4061 1.1 christos * typeprint.c (type_print_unknown_return_type) 4062 1.1 christos (val_print_not_allocated, val_print_not_associated): Use metadata 4063 1.1 christos style. 4064 1.1 christos * tui/tui-out.h (class tui_ui_out) <do_field_fmt>: Add style 4065 1.1 christos parameter. 4066 1.1 christos * tui/tui-out.c (tui_ui_out::do_field_fmt): Update. 4067 1.1 christos * tracepoint.c (tvariables_info_1): Use metadata style. 4068 1.1 christos * stack.c (print_frame_arg, print_frame_info, print_frame) 4069 1.1 christos (info_frame_command_core): Use metadata style. 4070 1.1 christos * skip.c (info_skip_command): Use metadata style. 4071 1.1 christos * rust-lang.c (rust_print_enum): Use metadata style. 4072 1.1 christos * python/py-prettyprint.c (print_stack_unless_memory_error): Use 4073 1.1 christos metadata style. 4074 1.1 christos * python/py-framefilter.c (py_print_single_arg): Use metadata 4075 1.1 christos style. 4076 1.1 christos * printcmd.c (do_one_display, print_variable_and_value): Use 4077 1.1 christos metadata style. 4078 1.1 christos * p-valprint.c (pascal_val_print) 4079 1.1 christos (pascal_object_print_value_fields): Use metadata style. 4080 1.1 christos * p-typeprint.c (pascal_type_print_base): Use metadata style. 4081 1.1 christos * mi/mi-out.h (class mi_ui_out) <do_field_fmt>: Add style 4082 1.1 christos parameter. 4083 1.1 christos * mi/mi-out.c (mi_ui_out::do_field_fmt): Update. 4084 1.1 christos * m2-valprint.c (m2_print_long_set): Use metadata style. 4085 1.1 christos * m2-typeprint.c (m2_print_type): Use metadata style. 4086 1.1 christos * infcmd.c (print_return_value_1): Use metadata style. 4087 1.1 christos * gnu-v3-abi.c (print_one_vtable): Use metadata style. 4088 1.1 christos * f-valprint.c (info_common_command_for_block): Use metadata 4089 1.1 christos style. 4090 1.1 christos * f-typeprint.c (f_type_print_base): Use metadata style. 4091 1.1 christos * expprint.c (print_subexp_standard): Use metadata style. 4092 1.1 christos * cp-valprint.c (cp_print_value_fields): Use metadata style. 4093 1.1 christos * cli/cli-style.h (class cli_style_option): Add constructor. 4094 1.1 christos (metadata_style): Declare. 4095 1.1 christos * cli/cli-style.c (metadata_style): New global. 4096 1.1 christos (_initialize_cli_style): Register metadata style. 4097 1.1 christos * cli-out.h (class cli_ui_out) <do_field_fmt>: Add style 4098 1.1 christos parameter. 4099 1.1 christos * cli-out.c (cli_ui_out::do_field_fmt): Update. 4100 1.1 christos * c-typeprint.c (c_type_print_base_struct_union) 4101 1.1 christos (c_type_print_base_1): Use metadata style. 4102 1.1 christos * breakpoint.c (watchpoint_value_print) 4103 1.1 christos (print_one_breakpoint_location): Use metadata style. 4104 1.1 christos * break-catch-syscall.c (print_one_catch_syscall): Use metadata 4105 1.1 christos style. 4106 1.1 christos * break-catch-sig.c (signal_catchpoint_print_one): Use metadata 4107 1.1 christos style. 4108 1.1 christos * ada-valprint.c (val_print_packed_array_elements, printstr) 4109 1.1 christos (print_field_values, ada_val_print_ref, ada_val_print): Use 4110 1.1 christos metadata style. 4111 1.1 christos * ada-typeprint.c (print_array_type, ada_print_type): Use metadata 4112 1.1 christos style. 4113 1.1 christos * ada-tasks.c (print_ada_task_info, info_task): Use metadata 4114 1.1 christos style. 4115 1.1 christos * ada-lang.c (user_select_syms): Use metadata style. 4116 1.1 christos 4117 1.1 christos 2019-10-01 Tom Tromey <tom (a] tromey.com> 4118 1.1 christos 4119 1.1 christos * cli/cli-cmds.c (pwd_command): Style output. 4120 1.1 christos 4121 1.1 christos 2019-10-01 Pedro Alves <palves (a] redhat.com> 4122 1.1 christos Tom Tromey <tom (a] tromey.com> 4123 1.1 christos 4124 1.1 christos * symtab.c (print_symbol_info): Use %ps. 4125 1.1 christos (print_msymbol_info): Use %ps. 4126 1.1 christos * symfile.c (symbol_file_add_with_addrs): Use %ps. 4127 1.1 christos * printcmd.c (print_variable_and_value): Use %ps. 4128 1.1 christos * macrocmd.c (show_pp_source_pos): Use %ps. 4129 1.1 christos * infrun.c (print_exited_reason): Use ui_out::message. 4130 1.1 christos * breakpoint.c (watchpoint_check, print_one_breakpoint_location) 4131 1.1 christos (describe_other_breakpoints): Use ui_out::message and new 4132 1.1 christos formats. 4133 1.1 christos (say_where): Use new formats. 4134 1.1 christos (bkpt_print_it, tracepoint_print_one_detail): Use ui_out::message 4135 1.1 christos and new formats. 4136 1.1 christos 4137 1.1 christos 2019-10-01 Pedro Alves <palves (a] redhat.com> 4138 1.1 christos Tom Tromey <tom (a] tromey.com> 4139 1.1 christos 4140 1.1 christos * unittests/format_pieces-selftests.c: Add gdb_format parameter. 4141 1.1 christos (test_gdb_formats): New function. 4142 1.1 christos (run_tests): Call it. 4143 1.1 christos (test_format_specifier): Update. 4144 1.1 christos * utils.h (fputs_filtered): Update comment. 4145 1.1 christos (vfprintf_styled, vfprintf_styled_no_gdbfmt) 4146 1.1 christos (fputs_styled_unfiltered): Declare. 4147 1.1 christos * utils.c (fputs_styled_unfiltered): New function. 4148 1.1 christos (vfprintf_maybe_filtered): Add gdbfmt parameter. 4149 1.1 christos (vfprintf_filtered): Update. 4150 1.1 christos (vfprintf_unfiltered, vprintf_filtered): Update. 4151 1.1 christos (vfprintf_styled, vfprintf_styled_no_gdbfmt): New functions. 4152 1.1 christos * ui-out.h (enum ui_out_flag) <unfiltered_output, 4153 1.1 christos disallow_ui_out_field>: New constants. 4154 1.1 christos (enum class field_kind): New. 4155 1.1 christos (struct base_field_s, struct signed_field_s): New. 4156 1.1 christos (signed_field): New function. 4157 1.1 christos (struct string_field_s): New. 4158 1.1 christos (string_field): New function. 4159 1.1 christos (struct styled_string_s): New. 4160 1.1 christos (styled_string): New function. 4161 1.1 christos (class ui_out) <message>: Add comment. 4162 1.1 christos <vmessage, call_do_message>: New methods. 4163 1.1 christos <do_message>: Add style parameter. 4164 1.1 christos * ui-out.c (ui_out::call_do_message, ui_out::vmessage): New 4165 1.1 christos methods. 4166 1.1 christos (ui_out::message): Rewrite. 4167 1.1 christos * mi/mi-out.h (class mi_ui_out) <do_message>: Add style 4168 1.1 christos parameter. 4169 1.1 christos * mi/mi-out.c (mi_ui_out::do_message): Add style parameter. 4170 1.1 christos * gdbsupport/format.h (class format_pieces) <format_pieces>: Add 4171 1.1 christos gdb_extensions parameter. 4172 1.1 christos (class format_piece): Add parameter to constructor. 4173 1.1 christos (n_int_args): New field. 4174 1.1 christos * gdbsupport/format.c (format_pieces::format_pieces): Add 4175 1.1 christos gdb_extensions parameter. Handle '*'. 4176 1.1 christos * cli-out.h (class cli_ui_out) <do_message>: Add style parameter. 4177 1.1 christos * cli-out.c (cli_ui_out::do_message): Add style parameter. Call 4178 1.1 christos vfprintf_styled_no_gdbfmt. 4179 1.1 christos (cli_ui_out::do_field_string, cli_ui_out::do_spaces) 4180 1.1 christos (cli_ui_out::do_text, cli_ui_out::field_separator): Allow 4181 1.1 christos unfiltered output. 4182 1.1 christos * ui-style.h (struct ui_file_style) <ptr>: New method. 4183 1.1 christos 4184 1.1 christos 2019-10-01 Tom Tromey <tom (a] tromey.com> 4185 1.1 christos 4186 1.1 christos * unittests/format_pieces-selftests.c: Update. Add final format. 4187 1.1 christos * gdbsupport/format.c (format_pieces::format_pieces): Don't add 4188 1.1 christos empty literal pieces. 4189 1.1 christos 4190 1.1 christos 2019-10-01 Tom Tromey <tom (a] tromey.com> 4191 1.1 christos 4192 1.1 christos * ui-out.h (enum class ui_out_style_kind): Remove. 4193 1.1 christos (class ui_out) <field_string, field_stsream, do_field_string>: 4194 1.1 christos Change type of "style". 4195 1.1 christos * ui-out.c (ui_out::field_core_addr, ui_out::field_stream) 4196 1.1 christos (ui_out::field_string): Update. 4197 1.1 christos * tui/tui-out.h (class tui_ui_out) <do_field_string>: Change type 4198 1.1 christos of "style". 4199 1.1 christos * tui/tui-out.c (tui_ui_out::do_field_string): Update. 4200 1.1 christos * tracepoint.c (print_one_static_tracepoint_marker): Update. 4201 1.1 christos * stack.c (print_frame_arg, print_frame_info, print_frame): 4202 1.1 christos Update. 4203 1.1 christos * source.c (print_source_lines_base): Update. 4204 1.1 christos * solib.c (info_sharedlibrary_command): Update. 4205 1.1 christos * skip.c (info_skip_command): Update. 4206 1.1 christos * record-btrace.c (btrace_call_history_src_line) 4207 1.1 christos (btrace_call_history): Update. 4208 1.1 christos * python/py-framefilter.c (py_print_frame): Update. 4209 1.1 christos * mi/mi-out.h (class mi_ui_out) <do_field_string>: Change type of 4210 1.1 christos "style". 4211 1.1 christos * mi/mi-out.c (mi_ui_out::do_table_header) 4212 1.1 christos (mi_ui_out::do_field_signed, mi_ui_out::do_field_unsigned) 4213 1.1 christos (mi_ui_out::do_field_string): Update. 4214 1.1 christos * disasm.c (gdb_pretty_print_disassembler::pretty_print_insn): 4215 1.1 christos Update. 4216 1.1 christos * cli-out.h (class cli_ui_out) <do_field_string>: Change type of 4217 1.1 christos "style". 4218 1.1 christos * cli-out.c (cli_ui_out::do_table_header) 4219 1.1 christos (cli_ui_out::do_field_signed, cli_ui_out::do_field_unsigned) 4220 1.1 christos (cli_ui_out::do_field_skip, cli_ui_out::do_field_string) 4221 1.1 christos (cli_ui_out::do_field_fmt): Update. 4222 1.1 christos * breakpoint.c (print_breakpoint_location): Update. 4223 1.1 christos (update_static_tracepoint): Update. 4224 1.1 christos 4225 1.1 christos 2019-10-01 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 4226 1.1 christos 4227 1.1 christos * main.c (relocate_gdbinit_path_maybe_in_datadir): Remove std::string 4228 1.1 christos conversion of gdb_datadir. 4229 1.1 christos (captured_main_1): Remove xstrdup when assigning to gdb_datadir, 4230 1.1 christos remove not needed c_str (). 4231 1.1 christos 4232 1.1 christos 2019-09-30 Ali Tamur <tamur (a] google.com> 4233 1.1 christos 4234 1.1 christos * dwarf2read.c (skip_one_die): Handle DW_FORM_strx forms. 4235 1.1 christos (dwarf2_string_attr): Likewise. 4236 1.1 christos 4237 1.1 christos 2019-09-30 Ali Tamur <tamur (a] google.com> 4238 1.1 christos 4239 1.1 christos * dwarf2read.c (process_full_comp_unit): Remove whitespace at the EOL. 4240 1.1 christos (process_full_type_unit): Likewise. 4241 1.1 christos (dump_die_shallow): Likewise. 4242 1.1 christos (cu_debug_loc_section): Likewise. 4243 1.1 christos 4244 1.1 christos 2019-09-28 Christian Biesinger <cbiesinger (a] google.com> 4245 1.1 christos 4246 1.1 christos * minsyms.c (compare_minimal_symbols): Rename to... 4247 1.1 christos (minimal_symbol_is_less_than): ...this, and adjust to STL 4248 1.1 christos conventions (return bool, take arguments as references) 4249 1.1 christos (minimal_symbol_reader::install): Call std::sort instead 4250 1.1 christos of qsort. 4251 1.1 christos 4252 1.1 christos 2019-09-29 Christian Biesinger <cbiesinger (a] google.com> 4253 1.1 christos 4254 1.1 christos * minsyms.h (msymbol_hash): Document that this is a case-insensitive 4255 1.1 christos hash and why. 4256 1.1 christos * objfiles.h (struct objfile_per_bfd_storage) <demangled_names_hash, 4257 1.1 christos msymbol_hash, msymbol_demangled_hash>: Improve comments. 4258 1.1 christos 4259 1.1 christos 2019-09-30 Simon Marchi <simon.marchi (a] polymtl.ca> 4260 1.1 christos 4261 1.1 christos * psymtab.c (add_psymbol_to_list): Move comment to psympriv.h. 4262 1.1 christos * psympriv.h (add_psymbol_to_list): Move comment here and update 4263 1.1 christos it. 4264 1.1 christos 4265 1.1 christos 2019-09-29 Tom de Vries <tdevries (a] suse.de> 4266 1.1 christos 4267 1.1 christos * contrib/cc-with-tweaks.sh (get_tmpdir): New function. 4268 1.1 christos Use $tmpdir/$(basename "$output_file").dwz instead of 4269 1.1 christos "${output_file}.dwz". 4270 1.1 christos 4271 1.1 christos 2019-09-28 Simon Marchi <simon.marchi (a] polymtl.ca> 4272 1.1 christos 4273 1.1 christos PR gdb/25045 4274 1.1 christos * hppa-linux-nat.c: Include gdbarch.h. 4275 1.1 christos 4276 1.1 christos 2019-09-26 Christian Biesinger <cbiesinger (a] google.com> 4277 1.1 christos 4278 1.1 christos * blockframe.c (find_pc_partial_function): Change return type to bool. 4279 1.1 christos * elfread.c (elf_gnu_ifunc_resolve_name): Likewise. 4280 1.1 christos * minsyms.c (in_gnu_ifunc_stub): Likewise. 4281 1.1 christos (stub_gnu_ifunc_resolve_name): Likewise. 4282 1.1 christos * symtab.c (compare_filenames_for_search): Likewise. 4283 1.1 christos (compare_glob_filenames_for_search): Likewise. 4284 1.1 christos (matching_obj_sections): Likewise. 4285 1.1 christos (symbol_matches_domain): Likewise. 4286 1.1 christos (find_line_symtab): Change out param EXACT_MATCH to bool *. 4287 1.1 christos (find_line_pc): Change return type to bool. 4288 1.1 christos (find_line_pc_range): Likewise. 4289 1.1 christos (producer_is_realview): Likewise. 4290 1.1 christos * symtab.h (symbol_matches_domain): Likewise. 4291 1.1 christos (find_pc_partial_function): Likewise. 4292 1.1 christos (find_pc_line_pc_range): Likewise. 4293 1.1 christos (in_gnu_ifunc_stub): Likewise. 4294 1.1 christos (struct gnu_ifunc_fns) <gnu_ifunc_resolve_name>: Likewise. 4295 1.1 christos (find_line_pc): Likewise. 4296 1.1 christos (find_line_pc_range): Likewise. 4297 1.1 christos (matching_obj_sections): Likewise. 4298 1.1 christos (find_line_symtab): Change out parameter to bool. 4299 1.1 christos (producer_is_realview): Change return type to bool. 4300 1.1 christos (compare_filenames_for_search): Likewise. 4301 1.1 christos (compare_glob_filenames_for_search): Likewise. 4302 1.1 christos 4303 1.1 christos 2019-09-26 Tom Tromey <tom (a] tromey.com> 4304 1.1 christos 4305 1.1 christos * Makefile.in (COMMON_SFILES): Remove gdb_usleep.c. 4306 1.1 christos (HFILES_NO_SRCDIR): Remove gdb_usleep.h. 4307 1.1 christos * gdb_usleep.h: Remove. 4308 1.1 christos * gdb_usleep.c: Remove. 4309 1.1 christos * utils.c: Don't include gdb_usleep.h. 4310 1.1 christos 4311 1.1 christos 2019-09-26 Tom Tromey <tromey (a] adacore.com> 4312 1.1 christos 4313 1.1 christos * python/py-type.c (type_to_type_object): Call check_typedef 4314 1.1 christos for stub types. 4315 1.1 christos 4316 1.1 christos 2019-09-26 Tom Tromey <tom (a] tromey.com> 4317 1.1 christos 4318 1.1 christos * utils.h (initialize_utils): Don't declare. 4319 1.1 christos * top.c (gdb_init): Don't call initialize_utils. 4320 1.1 christos * utils.c (initialize_utils): Remove. Move contents... 4321 1.1 christos (_initialize_utils): ... here. 4322 1.1 christos 4323 1.1 christos 2019-09-25 Tom Tromey <tom (a] tromey.com> 4324 1.1 christos 4325 1.1 christos * python/py-objfile.c (objfpy_get_build_id): Use bin2hex. 4326 1.1 christos * utils.h (make_hex_string): Don't declare. 4327 1.1 christos * utils.c (make_hex_string): Remove. 4328 1.1 christos 4329 1.1 christos 2019-09-24 Tom de Vries <tdevries (a] suse.de> 4330 1.1 christos 4331 1.1 christos PR gdb/23815 4332 1.1 christos * amd64-linux-nat.c (amd64_linux_nat_target::fetch_registers): 4333 1.1 christos Initialize xstateregs before ptrace PTRACE_GETREGSET call. 4334 1.1 christos 4335 1.1 christos 2019-09-23 Dimitar Dimitrov <dimitar (a] dinux.eu> 4336 1.1 christos 4337 1.1 christos * NEWS: Mention new simulator port for PRU. 4338 1.1 christos 4339 1.1 christos 2019-09-23 Christian Biesinger <cbiesinger (a] google.com> 4340 1.1 christos 4341 1.1 christos * ada-exp.y (write_object_remaining): Update. 4342 1.1 christos * ada-lang.c (ada_decode): Return a std::string instead of a char* 4343 1.1 christos and eliminate the static buffer. 4344 1.1 christos (ada_decode_symbol): Update. 4345 1.1 christos (ada_la_decode): Update. 4346 1.1 christos (ada_sniff_from_mangled_name): Update. 4347 1.1 christos (is_valid_name_for_wild_match): Update. 4348 1.1 christos (ada_lookup_name_info::matches): Update and simplify. 4349 1.1 christos (name_matches_regex): Update. 4350 1.1 christos (ada_add_global_exceptions): Update. 4351 1.1 christos * ada-lang.h (ada_decode): Update signature. 4352 1.1 christos * ada-varobj.c (ada_varobj_describe_simple_array_child): Update. 4353 1.1 christos * dwarf-index-write.c (debug_names::insert): Update. 4354 1.1 christos 4355 1.1 christos 2019-09-21 Simon Marchi <simon.marchi (a] polymtl.ca> 4356 1.1 christos 4357 1.1 christos * solib-svr4.c (svr4_iterate_over_objfiles_in_search_order): Fix 4358 1.1 christos formatting. 4359 1.1 christos 4360 1.1 christos 2019-09-21 Simon Marchi <simon.marchi (a] polymtl.ca> 4361 1.1 christos 4362 1.1 christos * breakpoint.h (bp_location) <inserted, permanent, duplicate>: 4363 1.1 christos Change "nonzero" to "true" in documentation. 4364 1.1 christos 4365 1.1 christos 2019-09-20 Christian Biesinger <cbiesinger (a] google.com> 4366 1.1 christos 4367 1.1 christos * solib-darwin.c (darwin_lookup_lib_symbol): Remove. 4368 1.1 christos (_initialize_darwin_solib): Don't set 4369 1.1 christos darwin_so_ops.lookup_lib_global_symbol. 4370 1.1 christos * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): Call 4371 1.1 christos set_gdbarch_iterate_over_objfiles_in_search_order. 4372 1.1 christos (elf_lookup_lib_symbol): Rename to... 4373 1.1 christos (svr4_iterate_over_objfiles_in_search_order): this, and update 4374 1.1 christos to iterate semantics. 4375 1.1 christos (_initialize_svr4_solib): Don't set lookup_lib_global_symbol. 4376 1.1 christos * solib.c (solib_global_lookup): Remove. 4377 1.1 christos * solist.h (struct target_so_ops): Remove lookup_lib_global_symbol. 4378 1.1 christos (solib_global_lookup): Remove. 4379 1.1 christos * symtab.c (lookup_global_or_static_symbol): Remove call to 4380 1.1 christos solib_global_lookup. 4381 1.1 christos 4382 1.1 christos 2019-09-20 Joel Brobecker <brobecker (a] adacore.com> 4383 1.1 christos 4384 1.1 christos * NEWS: Move entries about default MI version now being 4385 1.1 christos version 3, and about the GDB/MI fix for multi-location 4386 1.1 christos breakpoints to the "since GDB 8.3" section. 4387 1.1 christos 4388 1.1 christos 2019-09-20 Joel Brobecker <brobecker (a] adacore.com> 4389 1.1 christos 4390 1.1 christos GDB 8.3.1 released. 4391 1.1 christos 4392 1.1 christos 2019-09-20 Ulrich Weigand <uweigand (a] de.ibm.com> 4393 1.1 christos 4394 1.1 christos * NEWS: Mention that Cell/B.E. debugging support was removed. 4395 1.1 christos * MAINTAINERS: Remove spu target. 4396 1.1 christos 4397 1.1 christos * config/djgpp/fnchange.lst: Remove entries for removed files. 4398 1.1 christos 4399 1.1 christos * Makefile.in (ALL_TARGET_OBS): Remove solib-spu.o, 4400 1.1 christos spu-multiarch.o, and spu-tdep.o. 4401 1.1 christos (HFILES_NO_SRCDIR): Remove solib-spu.h and spu-tdep.h. 4402 1.1 christos (ALLDEPFILES): Remove solib-spu.c, spu-linux-nat.c, 4403 1.1 christos spu-multiarch.c, and spu-tdep.c. 4404 1.1 christos * spu-linux-nat.c: Remove file. 4405 1.1 christos * spu-multiarch.c: Remove file. 4406 1.1 christos * spu-tdep.c: Remove file. 4407 1.1 christos * spu-tdep.h: Remove file. 4408 1.1 christos * solib-spu.c: Remove file. 4409 1.1 christos * solib-spu.h: Remove file. 4410 1.1 christos 4411 1.1 christos * configure.host (powerpc64*-*-linux*): Remove Cell/B.E. support. 4412 1.1 christos * configure.nat (spu-linux): Remove. 4413 1.1 christos * configure.tgt (powerpc*-*-linux*): Remove solib-spu.o and 4414 1.1 christos solib-multiarch.o from gdb_target_obs. 4415 1.1 christos (spu*-*-*): Remove. 4416 1.1 christos 4417 1.1 christos * arch/ppc-linux-common.h (struct ppc_linux_features): Remove "cell" 4418 1.1 christos feature flag. 4419 1.1 christos (ppc_linux_no_features): Update. 4420 1.1 christos * arch/ppc-linux-common.c (ppc_linux_match_description): Remove 4421 1.1 christos Cell/B.E. support. 4422 1.1 christos * arch/ppc-linux-tdesc.h (tdesc_powerpc_cell32l): Remove declaration. 4423 1.1 christos (tdesc_powerpc_cell64l): Likewise. 4424 1.1 christos * nat/ppc-linux.h (PPC_FEATURE_CELL): Remove. 4425 1.1 christos * ppc-linux-nat.c (ppc_linux_nat_target::read_description): Remove 4426 1.1 christos Cell/B.E. support. 4427 1.1 christos * ppc-linux-tdep.h: Do not include "solib-spu.h" or "spu-tdep.h". 4428 1.1 christos Do not include "features/rs6000/powerpc-cell32l.c" or 4429 1.1 christos "features/rs6000/powerpc-cell64l.c". 4430 1.1 christos (ppc_linux_spu_section): Remove. 4431 1.1 christos (ppc_linux_core_read_description): Remove Cell/B.E. support. 4432 1.1 christos (spe_context_objfile, spe_context_lm_addr, spe_context_offset, 4433 1.1 christos spe_context_cache_ptid, spe_context_cache_ptid): Remove. 4434 1.1 christos (ppc_linux_spe_context_lookup): Remove. 4435 1.1 christos (ppc_linux_spe_context_inferior_created): Remove. 4436 1.1 christos (ppc_linux_spe_context_solib_loaded): Remove. 4437 1.1 christos (ppc_linux_spe_context_solib_unloaded): Remove. 4438 1.1 christos (ppc_linux_spe_context): Remove. 4439 1.1 christos (struct ppu2spu_cache): Remove. 4440 1.1 christos (ppu2spu_prev_arch, ppu2spu_this_id, ppu2spu_prev_register): Remove. 4441 1.1 christos (struct ppu2spu_data): Remove. 4442 1.1 christos (ppu2spu_unwind_register, ppu2spu_sniffer, ppu2spu_dealloc_cache, 4443 1.1 christos ppu2spu_unwind): Remove. 4444 1.1 christos (ppc_linux_init_abi): Remove Cell/B.E. support. 4445 1.1 christos * rs6000-tdep.h (rs6000_gdbarch_init): Remove Cell/B.E. support. 4446 1.1 christos 4447 1.1 christos * features/Makefile (rs6000/powerpc-cell32l-expedite): Remove. 4448 1.1 christos (rs6000/powerpc-cell64l-expedite): Likewise 4449 1.1 christos (WHICH): Remove rs6000/powerpc-cell32l and rs6000/powerpc-cell64l. 4450 1.1 christos (XMLTOC): Remove rs6000/powerpc-cell32l.xml and 4451 1.1 christos rs6000/powerpc-cell64l.xml. 4452 1.1 christos * features/rs6000/powerpc-cell32l.xml: Remove. 4453 1.1 christos * features/rs6000/powerpc-cell64l.xml: Likewise. 4454 1.1 christos * features/rs6000/powerpc-cell32l.c: Remove generated file. 4455 1.1 christos * features/rs6000/powerpc-cell64l.c: Likewise. 4456 1.1 christos * regformats/rs6000/powerpc-cell32l.dat: Remove generated file. 4457 1.1 christos * regformats/rs6000/powerpc-cell64l.dat: Likewise. 4458 1.1 christos * regformats/reg-spu.dat: Remove. 4459 1.1 christos 4460 1.1 christos * target.h (enum target_object): Remove TARGET_OBJECT_SPU. 4461 1.1 christos * corelow.c (struct spuid_list): Remove. 4462 1.1 christos (add_to_spuid_list): Remove. 4463 1.1 christos (core_target::xfer_partial): Remove support for TARGET_OBJECT_SPU. 4464 1.1 christos * remote.c (PACKET_qXfer_spu_read, PACKET_qXfer_spu_write): Remove. 4465 1.1 christos (remote_protocol_features): Remove associated entries. 4466 1.1 christos (_initialize_remote): No longer initialize them. 4467 1.1 christos (remote_target::xfer_partial): Remove support for TARGET_OBJECT_SPU. 4468 1.1 christos * linux-nat.c (SPUFS_MAGIC): Remove. 4469 1.1 christos (linux_proc_xfer_spu): Remove. 4470 1.1 christos (spu_enumerate_spu_ids): Remove. 4471 1.1 christos (linux_nat_target::xfer_partial): Remove support for TARGET_OBJECT_SPU. 4472 1.1 christos * linux-tdep.c (-linux_spu_make_corefile_notes): Remove. 4473 1.1 christos (linux_make_corefile_notes): No longer call it. 4474 1.1 christos 4475 1.1 christos * regcache.c (cooked_read_test): Remove bfd_arch_spu special case. 4476 1.1 christos (cooked_write_test): Likewise. 4477 1.1 christos 4478 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4479 1.1 christos 4480 1.1 christos * NEWS: Mention case-sensitivity of TUI commands. 4481 1.1 christos * tui/tui-win.c (tui_set_focus_command): Now case-sensitive. 4482 1.1 christos (tui_set_win_height_command, parse_scrolling_args): Likewise. 4483 1.1 christos * tui/tui-layout.c (tui_layout_command): Now case-sensitive. 4484 1.1 christos 4485 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4486 1.1 christos 4487 1.1 christos * tui/tui-source.c (tui_source_window::set_contents): Use 4488 1.1 christos make_unique_xstrdup. 4489 1.1 christos * tui/tui-disasm.c (tui_disasm_window::set_contents): Use 4490 1.1 christos make_unique_xstrdup. 4491 1.1 christos 4492 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4493 1.1 christos 4494 1.1 christos * tui/tui-data.c: Remove separator comments. 4495 1.1 christos * tui/tui-layout.c: Remove separator comments. 4496 1.1 christos * tui/tui-win.c: Remove separator comments. 4497 1.1 christos * tui/tui-wingeneral.c: Remove separator comments. 4498 1.1 christos 4499 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4500 1.1 christos 4501 1.1 christos * tui/tui.h (strcat_to_buf): Don't declare. 4502 1.1 christos * tui/tui.c (strcat_to_buf): Remove. 4503 1.1 christos 4504 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4505 1.1 christos 4506 1.1 christos * tui/tui-source.h (struct tui_source_window) <m_fullname>: Rename 4507 1.1 christos from "fullname". 4508 1.1 christos * tui/tui-source.c (tui_source_window::set_contents) 4509 1.1 christos (tui_source_window::location_matches_p) 4510 1.1 christos (tui_source_window::maybe_update): Update. 4511 1.1 christos 4512 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4513 1.1 christos 4514 1.1 christos * tui/tui-regs.h (struct tui_data_window) <get_current_group>: 4515 1.1 christos Update. 4516 1.1 christos <m_regs_content, m_regs_column_count, m_current_group>: Add "m_" 4517 1.1 christos prefix. 4518 1.1 christos * tui/tui-regs.c (tui_data_window::last_regs_line_no) 4519 1.1 christos (tui_data_window::line_from_reg_element_no) 4520 1.1 christos (tui_data_window::first_reg_element_no_inline) 4521 1.1 christos (tui_data_window::show_registers) 4522 1.1 christos (tui_data_window::show_register_group) 4523 1.1 christos (tui_data_window::display_registers_from) 4524 1.1 christos (tui_data_window::display_registers_from_line) 4525 1.1 christos (tui_data_window::first_data_item_displayed) 4526 1.1 christos (tui_data_window::delete_data_content_windows) 4527 1.1 christos (tui_data_window::erase_data_content) 4528 1.1 christos (tui_data_window::do_scroll_vertical) 4529 1.1 christos (tui_data_window::refresh_window) 4530 1.1 christos (tui_data_window::check_register_values): Update. 4531 1.1 christos 4532 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4533 1.1 christos 4534 1.1 christos * tui/tui-stack.h (MAX_LOCATOR_ELEMENT_LEN): Remove define. 4535 1.1 christos (struct tui_locator_window) <full_name, proc_name>: Now 4536 1.1 christos std::string. 4537 1.1 christos * tui/tui-stack.c (tui_locator_window::make_status_line) 4538 1.1 christos (tui_locator_window::set_locator_fullname) 4539 1.1 christos (tui_locator_window::set_locator_info): Update. 4540 1.1 christos * tui/tui-source.c (tui_source_window::set_contents) 4541 1.1 christos (tui_source_window::showing_source_p): Update. 4542 1.1 christos 4543 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4544 1.1 christos 4545 1.1 christos * tui/tui-stack.c (tui_locator_window::set_locator_fullname): 4546 1.1 christos Don't call tui_locator_win_info_ptr. 4547 1.1 christos 4548 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4549 1.1 christos 4550 1.1 christos * tui/tui-win.c (tui_resize_all): Don't call refresh. 4551 1.1 christos 4552 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4553 1.1 christos 4554 1.1 christos * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights): Use 1 as 4555 1.1 christos height for locator. 4556 1.1 christos * tui/tui-stack.c (tui_locator_window::rerender): Call scrollok. 4557 1.1 christos * tui/tui-layout.c (show_source_disasm_command, show_data) 4558 1.1 christos (show_source_or_disasm_and_command): Use 1 as height for locator. 4559 1.1 christos 4560 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4561 1.1 christos 4562 1.1 christos * tui/tui.c (tui_enable): Update. 4563 1.1 christos * tui/tui-win.c (tui_sigwinch_handler, tui_async_resize_screen): 4564 1.1 christos Update. 4565 1.1 christos * tui/tui-data.h (tui_win_resized, tui_set_win_resized_to): 4566 1.1 christos Update. 4567 1.1 christos * tui/tui-data.c (win_resized): Now bool. 4568 1.1 christos (tui_win_resized): Return bool. 4569 1.1 christos (tui_set_win_resized_to): Accept a bool. 4570 1.1 christos 4571 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4572 1.1 christos 4573 1.1 christos * tui/tui-regs.h (struct tui_data_window) <show_register_group>: 4574 1.1 christos Change type of "refresh_values_only". 4575 1.1 christos * tui/tui-regs.c (tui_data_window::show_register_group): Change 4576 1.1 christos type of "refresh_values_only". 4577 1.1 christos 4578 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4579 1.1 christos 4580 1.1 christos * tui/tui-disasm.c (struct tui_asm_line) <addr_string, insn>: Now 4581 1.1 christos std::string. 4582 1.1 christos (tui_disassemble): Add "pos" parameter. 4583 1.1 christos (tui_disasm_window::set_contents): Simplify. 4584 1.1 christos 4585 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4586 1.1 christos 4587 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 4588 1.1 christos <show_source_content>: Now private. 4589 1.1 christos * tui/tui-winsource.c 4590 1.1 christos (tui_source_window_base::show_source_content): Don't handle empty 4591 1.1 christos content case. 4592 1.1 christos 4593 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4594 1.1 christos 4595 1.1 christos * tui/tui-layout.c (show_source_disasm_command) 4596 1.1 christos (show_source_or_disasm_and_command): Don't call 4597 1.1 christos show_source_content. 4598 1.1 christos 4599 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4600 1.1 christos 4601 1.1 christos * tui/tui-stack.h (struct tui_locator_window) <make_status_line>: 4602 1.1 christos Declare. 4603 1.1 christos * tui/tui-stack.c (tui_locator_window::make_status_line): Rename 4604 1.1 christos from tui_make_status_line. 4605 1.1 christos (tui_locator_window::rerender): Update. 4606 1.1 christos 4607 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4608 1.1 christos 4609 1.1 christos * tui/tui-stack.c (tui_make_status_line): Return std::string. 4610 1.1 christos (tui_locator_window::rerender): Update. 4611 1.1 christos 4612 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4613 1.1 christos 4614 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 4615 1.1 christos <~tui_source_window_base>: Don't declare. 4616 1.1 christos <fullname>: Remove. 4617 1.1 christos * tui/tui-winsource.c (~tui_source_window_base): Remove. 4618 1.1 christos * tui/tui-source.h (struct tui_source_window) <fullname>: New 4619 1.1 christos member. 4620 1.1 christos * tui/tui-source.c (tui_source_window::set_contents): Update. 4621 1.1 christos (tui_source_window::location_matches_p) 4622 1.1 christos (tui_source_window::maybe_update): Update. 4623 1.1 christos 4624 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4625 1.1 christos 4626 1.1 christos * tui/tui-winsource.h (~tui_source_element): Remove. 4627 1.1 christos (tui_source_element): Update. 4628 1.1 christos (struct tui_source_element) <line>: Now a unique_xmalloc_ptr. 4629 1.1 christos * tui/tui-winsource.c (tui_show_source_line): Update. 4630 1.1 christos * tui/tui-source.c (tui_source_window::set_contents): Update. 4631 1.1 christos * tui/tui-disasm.c (tui_disasm_window::set_contents): Update. 4632 1.1 christos 4633 1.1 christos 2019-09-20 Tom Tromey <tom (a] tromey.com> 4634 1.1 christos 4635 1.1 christos * tui/tui-data.h (tui_clear_source_windows_detail): Don't 4636 1.1 christos declare. 4637 1.1 christos * tui/tui-layout.c (tui_add_win_to_layout): Don't call 4638 1.1 christos tui_clear_source_windows_detail. 4639 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 4640 1.1 christos <clear_detail>: Don't declare. 4641 1.1 christos * tui/tui-winsource.c (tui_source_window_base::clear_detail): 4642 1.1 christos Remove. 4643 1.1 christos * tui/tui-data.c (tui_clear_source_windows_detail): Remove. 4644 1.1 christos 4645 1.1 christos 2019-09-20 Tom Tromey <tromey (a] adacore.com> 4646 1.1 christos 4647 1.1 christos PR ada/24919: 4648 1.1 christos * block.c (contained_in): Fix final return value. 4649 1.1 christos 4650 1.1 christos 2019-09-20 Alan Modra <amodra (a] gmail.com> 4651 1.1 christos 4652 1.1 christos * gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Use bfd_set_usrdata. 4653 1.1 christos * dwarf2read.c (dwarf2_read_gdb_index, dwarf2_read_debug_names), 4654 1.1 christos (read_indirect_string_from_dwz): Use bfd accessor. 4655 1.1 christos * dwarf2read.h (struct dwz_file <filename>): Likewise. 4656 1.1 christos * machoread.c (macho_symfile_read_all_oso): Likewise. 4657 1.1 christos * solib.c (solib_bfd_open): Likewise. 4658 1.1 christos 4659 1.1 christos 2019-09-19 Christian Biesinger <cbiesinger (a] google.com> 4660 1.1 christos 4661 1.1 christos * eval.c: Move declaration of overload_resolution to... 4662 1.1 christos * value.h: ...here. 4663 1.1 christos 4664 1.1 christos 2019-09-19 Christian Biesinger <cbiesinger (a] google.com> 4665 1.1 christos 4666 1.1 christos * arm-linux-nat.c: Remove extern declaration for arm_apcs_32. 4667 1.1 christos * arm-linux-tdep.c: Likewise. 4668 1.1 christos * arm-nbsd-nat.c: Likewise. 4669 1.1 christos * arm-tdep.h: Declare arm_apcs_32. 4670 1.1 christos * arm-tdep.c: Move documentation for arm_apcs_32 to arm-tdep.h. 4671 1.1 christos 4672 1.1 christos 2019-09-19 Christian Biesinger <cbiesinger (a] google.com> 4673 1.1 christos 4674 1.1 christos * dwarf2loc.c: Remove extern declaration of dwarf_always_disassemble. 4675 1.1 christos * dwarf2read.h: Declare dwarf_always_disassemble. 4676 1.1 christos 4677 1.1 christos 2019-09-19 Tom de Vries <tdevries (a] suse.de> 4678 1.1 christos 4679 1.1 christos PR gdb/25009 4680 1.1 christos * source-cache.c (source_cache::ensure): Catch exception thrown during 4681 1.1 christos construction of the highlighter. 4682 1.1 christos 4683 1.1 christos 2019-09-18 Alan Modra <amodra (a] gmail.com> 4684 1.1 christos 4685 1.1 christos * aarch64-linux-tdep.c, * arm-tdep.c, * auto-load.c, 4686 1.1 christos * coff-pe-read.c, * coffread.c, * corelow.c, * dbxread.c, 4687 1.1 christos * dicos-tdep.c, * dwarf2-frame.c, * dwarf2read.c, * elfread.c, 4688 1.1 christos * exec.c, * fbsd-tdep.c, * gcore.c, * gdb_bfd.c, * gdb_bfd.h, 4689 1.1 christos * hppa-tdep.c, * i386-cygwin-tdep.c, * i386-fbsd-tdep.c, 4690 1.1 christos * i386-linux-tdep.c, * jit.c, * linux-tdep.c, * machoread.c, 4691 1.1 christos * maint.c, * mdebugread.c, * minidebug.c, * mips-linux-tdep.c, 4692 1.1 christos * mips-sde-tdep.c, * mips-tdep.c, * mipsread.c, * nto-tdep.c, 4693 1.1 christos * objfiles.c, * objfiles.h, * osabi.c, * ppc-linux-tdep.c, 4694 1.1 christos * ppc64-tdep.c, * record-btrace.c, * record-full.c, * remote.c, 4695 1.1 christos * rs6000-aix-tdep.c, * rs6000-tdep.c, * s390-linux-tdep.c, 4696 1.1 christos * s390-tdep.c, * solib-aix.c, * solib-dsbt.c, * solib-frv.c, 4697 1.1 christos * solib-spu.c, * solib-svr4.c, * solib-target.c, 4698 1.1 christos * spu-linux-nat.c, * spu-tdep.c, * symfile-mem.c, * symfile.c, 4699 1.1 christos * symmisc.c, * symtab.c, * target.c, * windows-nat.c, 4700 1.1 christos * xcoffread.c, * cli/cli-dump.c, * compile/compile-object-load.c, 4701 1.1 christos * mi/mi-interp.c: Update throughout for bfd section macro and 4702 1.1 christos function changes. 4703 1.1 christos * gcore (gcore_create_callback): Use bfd_set_section_lma. 4704 1.1 christos * spu-tdep.c (spu_overlay_new_objfile): Likewise. 4705 1.1 christos 4706 1.1 christos 2019-09-18 Tom Tromey <tom (a] tromey.com> 4707 1.1 christos 4708 1.1 christos * NEWS: Add entry. 4709 1.1 christos * tui/tui.c (tui_initialize_readline): Set name of keymap. Do not 4710 1.1 christos call rl_initialize. 4711 1.1 christos (tui_enable): Do not call rl_initialize. 4712 1.1 christos 4713 1.1 christos 2019-09-18 Christian Groessler <chris (a] groessler.org> 4714 1.1 christos 4715 1.1 christos * alpha-linux-nat.c: Include gdbarch.h. 4716 1.1 christos 4717 1.1 christos 2019-09-18 Simon Marchi <simon.marchi (a] polymtl.ca> 4718 1.1 christos 4719 1.1 christos * ui-file.c: Include cli/cli-style.h. 4720 1.1 christos (term_cli_styling): Remove cli_styling declaration. 4721 1.1 christos 4722 1.1 christos 2019-09-18 Alan Modra <amodra (a] gmail.com> 4723 1.1 christos 4724 1.1 christos * arm-tdep.c (arm_record_special_symbol): Update bfd_get_section 4725 1.1 christos to bfd_asymbol_section. 4726 1.1 christos 4727 1.1 christos 2019-09-18 Alan Modra <amodra (a] gmail.com> 4728 1.1 christos 4729 1.1 christos * amd64-dicos-tdep.c (amd64_dicos_osabi_sniffer): Constify target. 4730 1.1 christos * i386-cygwin-tdep.c (i386_cygwin_init_abi): Likewise. 4731 1.1 christos * i386-dicos-tdep.c (i386_dicos_osabi_sniffer): Likewise. 4732 1.1 christos 4733 1.1 christos 2019-09-18 Alan Modra <amodra (a] gmail.com> 4734 1.1 christos 4735 1.1 christos * solib-spu.c (spu_bfd_open): Use bfd_set_filename. 4736 1.1 christos * spu-linux-nat.c (spu_bfd_open): Likewise. 4737 1.1 christos 4738 1.1 christos 2019-09-18 Christian Biesinger <cbiesinger (a] google.com> 4739 1.1 christos 4740 1.1 christos * dwarf2loc.c: Change extern declaration of dwarf_always_disassemble 4741 1.1 christos to bool to match definition in dwarf2read.c. 4742 1.1 christos 4743 1.1 christos 2019-09-17 Christian Biesinger <cbiesinger (a] google.com> 4744 1.1 christos 4745 1.1 christos * ada-lang.c (ada_ignore_descriptive_types_p): Change to bool. 4746 1.1 christos (print_signatures): Likewise. 4747 1.1 christos (trust_pad_over_xvs): Likewise. 4748 1.1 christos * arch/aarch64-insn.c (aarch64_debug): Likewise. 4749 1.1 christos * arch/aarch64-insn.h (aarch64_debug): Likewise. 4750 1.1 christos * arm-linux-nat.c (arm_apcs_32): Likewise. 4751 1.1 christos * arm-linux-tdep.c (arm_apcs_32): Likewise. 4752 1.1 christos * arm-nbsd-nat.c (arm_apcs_32): Likewise. 4753 1.1 christos * arm-tdep.c (arm_debug): Likewise. 4754 1.1 christos (arm_apcs_32): Likewise. 4755 1.1 christos * auto-load.c (debug_auto_load): Likewise. 4756 1.1 christos (auto_load_gdb_scripts): Likewise. 4757 1.1 christos (global_auto_load): Likewise. 4758 1.1 christos (auto_load_local_gdbinit): Likewise. 4759 1.1 christos (auto_load_local_gdbinit_loaded): Likewise. 4760 1.1 christos * auto-load.h (global_auto_load): Likewise. 4761 1.1 christos (auto_load_local_gdbinit): Likewise. 4762 1.1 christos (auto_load_local_gdbinit_loaded): Likewise. 4763 1.1 christos * breakpoint.c (disconnected_dprintf): Likewise. 4764 1.1 christos (breakpoint_proceeded): Likewise. 4765 1.1 christos (automatic_hardware_breakpoints): Likewise. 4766 1.1 christos (always_inserted_mode): Likewise. 4767 1.1 christos (target_exact_watchpoints): Likewise. 4768 1.1 christos (_initialize_breakpoint): Update. 4769 1.1 christos * breakpoint.h (target_exact_watchpoints): Change to bool. 4770 1.1 christos * btrace.c (maint_btrace_pt_skip_pad): Likewise. 4771 1.1 christos * cli/cli-cmds.c (trace_commands): Likewise. 4772 1.1 christos * cli/cli-cmds.h (trace_commands): Likewise. 4773 1.1 christos * cli/cli-decode.c (add_setshow_boolean_cmd): Change int* argument 4774 1.1 christos to bool*. 4775 1.1 christos * cli/cli-logging.c (logging_overwrite): Change to bool. 4776 1.1 christos (logging_redirect): Likewise. 4777 1.1 christos (debug_redirect): Likewise. 4778 1.1 christos * cli/cli-option.h (option_def) <boolean>: Change return type to bool*. 4779 1.1 christos (struct boolean_option_def) <get_var_address_cb_>: Change return type 4780 1.1 christos to bool. 4781 1.1 christos <boolean_option_def>: Update. 4782 1.1 christos (struct flag_option_def): Change default type of Context to bool 4783 1.1 christos from int. 4784 1.1 christos <flag_option_def>: Change return type of var_address_cb_ to bool*. 4785 1.1 christos * cli/cli-setshow.c (do_set_command): Cast to bool* instead of int*. 4786 1.1 christos (get_setshow_command_value_string): Likewise. 4787 1.1 christos * cli/cli-style.c (cli_styling): Change to bool. 4788 1.1 christos (source_styling): Likewise. 4789 1.1 christos * cli/cli-style.h (source_styling): Likewise. 4790 1.1 christos (cli_styling): Likewise. 4791 1.1 christos * cli/cli-utils.h (struct qcs_flags) <quiet, cont, silent>: Change 4792 1.1 christos to bool. 4793 1.1 christos * command.h (var_types): Update comment. 4794 1.1 christos (add_setshow_boolean_cmd): Change int* var argument to bool*. 4795 1.1 christos * compile/compile-cplus-types.c (debug_compile_cplus_types): Change to 4796 1.1 christos bool. 4797 1.1 christos (debug_compile_cplus_scopes): Likewise. 4798 1.1 christos * compile/compile-internal.h (compile_debug): Likewise. 4799 1.1 christos * compile/compile.c (compile_debug): Likewise. 4800 1.1 christos (struct compile_options) <raw>: Likewise. 4801 1.1 christos * cp-support.c (catch_demangler_crashes): Likewise. 4802 1.1 christos * cris-tdep.c (usr_cmd_cris_version_valid): Likewise. 4803 1.1 christos (usr_cmd_cris_dwarf2_cfi): Likewise. 4804 1.1 christos * csky-tdep.c (csky_debug): Likewise. 4805 1.1 christos * darwin-nat.c (enable_mach_exceptions): Likewise. 4806 1.1 christos * dcache.c (dcache_enabled_p): Likewise. 4807 1.1 christos * defs.h (info_verbose): Likewise. 4808 1.1 christos * demangle.c (demangle): Likewise. 4809 1.1 christos (asm_demangle): Likewise. 4810 1.1 christos * dwarf-index-cache.c (debug_index_cache): Likewise. 4811 1.1 christos * dwarf2-frame.c (dwarf2_frame_unwinders_enabled_p): Likewise. 4812 1.1 christos * dwarf2-frame.h (dwarf2_frame_unwinders_enabled_p): Likewise. 4813 1.1 christos * dwarf2read.c (check_physname): Likewise. 4814 1.1 christos (use_deprecated_index_sections): Likewise. 4815 1.1 christos (dwarf_always_disassemble): Likewise. 4816 1.1 christos * eval.c (overload_resolution): Likewise. 4817 1.1 christos * event-top.c (set_editing_cmd_var): Likewise. 4818 1.1 christos (exec_done_display_p): Likewise. 4819 1.1 christos * event-top.h (set_editing_cmd_var): Likewise. 4820 1.1 christos (exec_done_display_p): Likewise. 4821 1.1 christos * exec.c (write_files): Likewise. 4822 1.1 christos * fbsd-nat.c (debug_fbsd_lwp): Likewise 4823 1.1 christos (debug_fbsd_nat): Likewise. 4824 1.1 christos * frame.h (struct frame_print_options) <print_raw_frame_arguments>: 4825 1.1 christos Likewise. 4826 1.1 christos (struct set_backtrace_options) <backtrace_past_main>: Likewise. 4827 1.1 christos <backtrace_past_entry> Likewise. 4828 1.1 christos * gdb-demangle.h (demangle): Likewise. 4829 1.1 christos (asm_demangle): Likewise. 4830 1.1 christos * gdb_bfd.c (bfd_sharing): Likewise. 4831 1.1 christos * gdbcore.h (write_files): Likewise. 4832 1.1 christos * gdbsupport/common-debug.c (show_debug_regs): Likewise. 4833 1.1 christos * gdbsupport/common-debug.h (show_debug_regs): Likewise. 4834 1.1 christos * gdbthread.h (print_thread_events): Likewise. 4835 1.1 christos * gdbtypes.c (opaque_type_resolution): Likewise. 4836 1.1 christos (strict_type_checking): Likewise. 4837 1.1 christos * gnu-nat.c (gnu_debug_flag): Likewise. 4838 1.1 christos * guile/scm-auto-load.c (auto_load_guile_scripts): Likewise. 4839 1.1 christos * guile/scm-param.c (pascm_variable): Add boolval. 4840 1.1 christos (add_setshow_generic): Update. 4841 1.1 christos (pascm_param_value): Update. 4842 1.1 christos (pascm_set_param_value_x): Update. 4843 1.1 christos * hppa-tdep.c (hppa_debug): Change to bool.. 4844 1.1 christos * infcall.c (may_call_functions_p): Likewise. 4845 1.1 christos (coerce_float_to_double_p): Likewise. 4846 1.1 christos (unwind_on_signal_p): Likewise. 4847 1.1 christos (unwind_on_terminating_exception_p): Likewise. 4848 1.1 christos * infcmd.c (startup_with_shell): Likewise. 4849 1.1 christos * inferior.c (print_inferior_events): Likewise. 4850 1.1 christos * inferior.h (startup_with_shell): Likewise. 4851 1.1 christos (print_inferior_events): Likewise. 4852 1.1 christos * infrun.c (step_stop_if_no_debug): Likewise. 4853 1.1 christos (detach_fork): Likewise. 4854 1.1 christos (debug_displaced): Likewise. 4855 1.1 christos (disable_randomization): Likewise. 4856 1.1 christos (non_stop): Likewise. 4857 1.1 christos (non_stop_1): Likewise. 4858 1.1 christos (observer_mode): Likewise. 4859 1.1 christos (observer_mode_1): Likewise. 4860 1.1 christos (set_observer_mode): Update. 4861 1.1 christos (sched_multi): Change to bool. 4862 1.1 christos * infrun.h (debug_displaced): Likewise. 4863 1.1 christos (sched_multi): Likewise. 4864 1.1 christos (step_stop_if_no_debug): Likewise. 4865 1.1 christos (non_stop): Likewise. 4866 1.1 christos (disable_randomization): Likewise. 4867 1.1 christos * linux-tdep.c (use_coredump_filter): Likewise. 4868 1.1 christos (dump_excluded_mappings): Likewise. 4869 1.1 christos * linux-thread-db.c (auto_load_thread_db): Likewise. 4870 1.1 christos (check_thread_db_on_load): Likewise. 4871 1.1 christos * main.c (captured_main_1): Update. 4872 1.1 christos * maint-test-options.c (struct test_options_opts) <flag_opt, xx1_opt, 4873 1.1 christos xx2_opt, boolean_opt>: Change to bool. 4874 1.1 christos * maint-test-settings.c (maintenance_test_settings_boolean): Likewise. 4875 1.1 christos * maint.c (maintenance_profile_p): Likewise. 4876 1.1 christos (per_command_time): Likewise. 4877 1.1 christos (per_command_space): Likewise. 4878 1.1 christos (per_command_symtab): Likewise. 4879 1.1 christos * memattr.c (inaccessible_by_default): Likewise. 4880 1.1 christos * mi/mi-main.c (mi_async): Likewise. 4881 1.1 christos (mi_async_1): Likewise. 4882 1.1 christos * mips-tdep.c (mips64_transfers_32bit_regs_p): Likewise. 4883 1.1 christos * nat/fork-inferior.h (startup_with_shell): Likewise. 4884 1.1 christos * nat/linux-namespaces.c (debug_linux_namespaces): Likewise. 4885 1.1 christos * nat/linux-namespaces.h (debug_linux_namespaces): Likewise. 4886 1.1 christos * nios2-tdep.c (nios2_debug): Likewise. 4887 1.1 christos * or1k-tdep.c (or1k_debug): Likewise. 4888 1.1 christos * parse.c (parser_debug): Likewise. 4889 1.1 christos * parser-defs.h (parser_debug): Likewise. 4890 1.1 christos * printcmd.c (print_symbol_filename): Likewise. 4891 1.1 christos * proc-api.c (procfs_trace): Likewise. 4892 1.1 christos * python/py-auto-load.c (auto_load_python_scripts): Likewise. 4893 1.1 christos * python/py-param.c (union parmpy_variable): Add "bool boolval" field. 4894 1.1 christos (set_parameter_value): Update. 4895 1.1 christos (add_setshow_generic): Update. 4896 1.1 christos * python/py-value.c (copy_py_bool_obj): Change argument from int* 4897 1.1 christos to bool*. 4898 1.1 christos * python/python.c (gdbpy_parameter_value): Cast to bool* instead of 4899 1.1 christos int*. 4900 1.1 christos * ravenscar-thread.c (ravenscar_task_support): Change to bool. 4901 1.1 christos * record-btrace.c (record_btrace_target::store_registers): Update. 4902 1.1 christos * record-full.c (record_full_memory_query): Change to bool. 4903 1.1 christos (record_full_stop_at_limit): Likewise. 4904 1.1 christos * record-full.h (record_full_memory_query): Likewise. 4905 1.1 christos * remote-notif.c (notif_debug): Likewise. 4906 1.1 christos * remote-notif.h (notif_debug): Likewise. 4907 1.1 christos * remote.c (use_range_stepping): Likewise. 4908 1.1 christos (interrupt_on_connect): Likewise. 4909 1.1 christos (remote_break): Likewise. 4910 1.1 christos * ser-tcp.c (tcp_auto_retry): Likewise. 4911 1.1 christos * ser-unix.c (serial_hwflow): Likewise. 4912 1.1 christos * skip.c (debug_skip): Likewise. 4913 1.1 christos * solib-aix.c (solib_aix_debug): Likewise. 4914 1.1 christos * spu-tdep.c (spu_stop_on_load_p): Likewise. 4915 1.1 christos (spu_auto_flush_cache_p): Likewise. 4916 1.1 christos * stack.c (struct backtrace_cmd_options) <full, no_filters, hide>: 4917 1.1 christos Likewise. 4918 1.1 christos (struct info_print_options) <quiet>: Likewise. 4919 1.1 christos * symfile-debug.c (debug_symfile): Likewise. 4920 1.1 christos * symfile.c (auto_solib_add): Likewise. 4921 1.1 christos (separate_debug_file_debug): Likewise. 4922 1.1 christos * symfile.h (auto_solib_add): Likewise. 4923 1.1 christos (separate_debug_file_debug): Likewise. 4924 1.1 christos * symtab.c (basenames_may_differ): Likewise. 4925 1.1 christos (struct filename_partial_match_opts) <dirname, basename>: Likewise. 4926 1.1 christos (struct info_print_options) <quiet, exclude_minsyms>: Likewise. 4927 1.1 christos (struct info_types_options) <quiet>: Likewise. 4928 1.1 christos * symtab.h (demangle): Likewise. 4929 1.1 christos (basenames_may_differ): Likewise. 4930 1.1 christos * target-dcache.c (stack_cache_enabled_1): Likewise. 4931 1.1 christos (code_cache_enabled_1): Likewise. 4932 1.1 christos * target.c (trust_readonly): Likewise. 4933 1.1 christos (may_write_registers): Likewise. 4934 1.1 christos (may_write_memory): Likewise. 4935 1.1 christos (may_insert_breakpoints): Likewise. 4936 1.1 christos (may_insert_tracepoints): Likewise. 4937 1.1 christos (may_insert_fast_tracepoints): Likewise. 4938 1.1 christos (may_stop): Likewise. 4939 1.1 christos (auto_connect_native_target): Likewise. 4940 1.1 christos (target_stop_and_wait): Update. 4941 1.1 christos (target_async_permitted): Change to bool. 4942 1.1 christos (target_async_permitted_1): Likewise. 4943 1.1 christos (may_write_registers_1): Likewise. 4944 1.1 christos (may_write_memory_1): Likewise. 4945 1.1 christos (may_insert_breakpoints_1): Likewise. 4946 1.1 christos (may_insert_tracepoints_1): Likewise. 4947 1.1 christos (may_insert_fast_tracepoints_1): Likewise. 4948 1.1 christos (may_stop_1): Likewise. 4949 1.1 christos * target.h (target_async_permitted): Likewise. 4950 1.1 christos (may_write_registers): Likewise. 4951 1.1 christos (may_write_memory): Likewise. 4952 1.1 christos (may_insert_breakpoints): Likewise. 4953 1.1 christos (may_insert_tracepoints): Likewise. 4954 1.1 christos (may_insert_fast_tracepoints): Likewise. 4955 1.1 christos (may_stop): Likewise. 4956 1.1 christos * thread.c (struct info_threads_opts) <show_global_ids>: Likewise. 4957 1.1 christos (make_thread_apply_all_options_def_group): Change argument from int* 4958 1.1 christos to bool*. 4959 1.1 christos (thread_apply_all_command): Update. 4960 1.1 christos (print_thread_events): Change to bool. 4961 1.1 christos * top.c (confirm): Likewise. 4962 1.1 christos (command_editing_p): Likewise. 4963 1.1 christos (history_expansion_p): Likewise. 4964 1.1 christos (write_history_p): Likewise. 4965 1.1 christos (info_verbose): Likewise. 4966 1.1 christos * top.h (confirm): Likewise. 4967 1.1 christos (history_expansion_p): Likewise. 4968 1.1 christos * tracepoint.c (disconnected_tracing): Likewise. 4969 1.1 christos (circular_trace_buffer): Likewise. 4970 1.1 christos * typeprint.c (print_methods): Likewise. 4971 1.1 christos (print_typedefs): Likewise. 4972 1.1 christos * utils.c (debug_timestamp): Likewise. 4973 1.1 christos (sevenbit_strings): Likewise. 4974 1.1 christos (pagination_enabled): Likewise. 4975 1.1 christos * utils.h (sevenbit_strings): Likewise. 4976 1.1 christos (pagination_enabled): Likewise. 4977 1.1 christos * valops.c (overload_resolution): Likewise. 4978 1.1 christos * valprint.h (struct value_print_options) <prettyformat_arrays, 4979 1.1 christos prettyformat_structs, vtblprint, unionprint, addressprint, objectprint, 4980 1.1 christos stop_print_at_null, print_array_indexes, deref_ref, static_field_print, 4981 1.1 christos pascal_static_field_print, raw, summary, symbol_print, finish_print>: 4982 1.1 christos Likewise. 4983 1.1 christos * windows-nat.c (new_console): Likewise. 4984 1.1 christos (cygwin_exceptions): Likewise. 4985 1.1 christos (new_group): Likewise. 4986 1.1 christos (debug_exec): Likewise. 4987 1.1 christos (debug_events): Likewise. 4988 1.1 christos (debug_memory): Likewise. 4989 1.1 christos (debug_exceptions): Likewise. 4990 1.1 christos (useshell): Likewise. 4991 1.1 christos * windows-tdep.c (maint_display_all_tib): Likewise. 4992 1.1 christos * xml-support.c (debug_xml): Likewise. 4993 1.1 christos 4994 1.1 christos 2019-09-17 Mike Gulick <mgulick (a] mathworks.com> 4995 1.1 christos 4996 1.1 christos * source.c (prepare_path_for_appending): New function. 4997 1.1 christos (openp): Make use of new function. 4998 1.1 christos (find_and_open_source): Search for the compilation directory and 4999 1.1 christos source file as a relative path beneath the directory search path. 5000 1.1 christos 5001 1.1 christos 2019-09-17 Andrew Burgess <andrew.burgess (a] embecosm.com> 5002 1.1 christos 5003 1.1 christos * source-cache.c (source_cache::get_line_charpos): Catch 5004 1.1 christos exceptions and return false, this matches the behaviour documented 5005 1.1 christos in the header file. 5006 1.1 christos 5007 1.1 christos 2019-09-17 Joel Brobecker <brobecker (a] adacore.com> 5008 1.1 christos 5009 1.1 christos * ada-tasks.c (info_task): Remove quoting of the task's name. 5010 1.1 christos 5011 1.1 christos 2019-09-16 Christian Biesinger <cbiesinger (a] google.com> 5012 1.1 christos 5013 1.1 christos * symfile.c (auto_solib_add): Replace comment with a reference 5014 1.1 christos to the header file. 5015 1.1 christos 5016 1.1 christos 2019-09-14 Christian Biesinger <cbiesinger (a] google.com> 5017 1.1 christos 5018 1.1 christos * NEWS: Mention that gdb can now be compiled with Python 3 5019 1.1 christos on Windows. 5020 1.1 christos 5021 1.1 christos 2019-09-12 Andrew Burgess <andrew.burgess (a] embecosm.com> 5022 1.1 christos 5023 1.1 christos * maint.c (maint_print_section_data::maint_print_section_data): 5024 1.1 christos Force use of 'float log10 (float)' by casting the argument to 5025 1.1 christos float. 5026 1.1 christos 5027 1.1 christos 2019-09-12 Andrew Burgess <andrew.burgess (a] embecosm.com> 5028 1.1 christos 5029 1.1 christos * maint.c: Add 'cmath' include. 5030 1.1 christos (struct maint_print_section_data): New structure. 5031 1.1 christos (print_section_index): New function. 5032 1.1 christos (print_bfd_section_info): Add header comment, small whitespace 5033 1.1 christos cleanup, and update to call new print_section_index function. 5034 1.1 christos (print_objfile_section_info): Likewise. 5035 1.1 christos (maint_obj_section_from_bfd_section): New function. 5036 1.1 christos (print_bfd_section_info_maybe_relocated): New function. 5037 1.1 christos (maintenance_info_sections): Add header comment, always use 5038 1.1 christos bfd_map_over_sections instead of ALL_OBJFILE_OSECTIONS. 5039 1.1 christos 5040 1.1 christos 2019-09-12 Andrew Burgess <andrew.burgess (a] embecosm.com> 5041 1.1 christos 5042 1.1 christos * psymtab.c (find_pc_sect_psymtab): Move baseaddr local into more 5043 1.1 christos inner scope, add check that the objfile has psymtabs before 5044 1.1 christos checking psymtabs_addrmap. 5045 1.1 christos * psymtab.h (psymtab_storage) <psymtabs_addrmap>: Extend comment. 5046 1.1 christos 5047 1.1 christos 2019-09-12 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 5048 1.1 christos 5049 1.1 christos * NEWS: Announce that Ada task names are now shown at more places, 5050 1.1 christos and between quotes (except in info task output). 5051 1.1 christos * ada-tasks.c (task_to_str): New function. 5052 1.1 christos (display_current_task_id): Call task_to_str. 5053 1.1 christos (task_command_1): Likewise. 5054 1.1 christos (print_ada_task_info): In non-mi mode, Properly align headers and data 5055 1.1 christos when task-id length is > 9 (9 is the default for a 32 bits CORE_ADDR). 5056 1.1 christos 5057 1.1 christos 2019-09-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 5058 1.1 christos 5059 1.1 christos * procfs.c (procfs_target::wait) <PR_FAULTED>: Get signal from 5060 1.1 christos prstatus.pr_lwp.pr_info instead of making it up. 5061 1.1 christos 5062 1.1 christos 2019-09-11 Christian Biesinger <cbiesinger (a] google.com> 5063 1.1 christos 5064 1.1 christos * auto-load.c (auto_load_expand_dir_vars): Update. 5065 1.1 christos * defs.h (gdb_datadir): Change to std::string. 5066 1.1 christos (python_libdir): Likewise. 5067 1.1 christos (relocate_gdb_directory): Change return type to std::string. 5068 1.1 christos * guile/guile.c (gdbscm_data_directory): Update. 5069 1.1 christos (initialize_scheme_side): Update. 5070 1.1 christos * jit.c (jit_reader_dir): Change to std::string. 5071 1.1 christos (jit_reader_load_command): Update. 5072 1.1 christos * main.c (gdb_datadir): Change to std::string. 5073 1.1 christos (python_libdir): Likewise. 5074 1.1 christos (set_gdb_data_directory): Update. 5075 1.1 christos (relocate_path): Change to return std::string. 5076 1.1 christos (relocate_gdb_directory): Change to return std::string. 5077 1.1 christos (relocate_gdbinit_path_maybe_in_datadir): Update. 5078 1.1 christos (captured_main_1): Update. 5079 1.1 christos * python/python.c (do_start_initialization): Update. 5080 1.1 christos * top.c (show_gdb_datadir): Update. 5081 1.1 christos * xml-syscall.c (xml_init_syscalls_info): Update. 5082 1.1 christos (init_syscalls_info): Update. 5083 1.1 christos 5084 1.1 christos 2019-09-11 Christian Biesinger <cbiesinger (a] google.com> 5085 1.1 christos 5086 1.1 christos * main.c (relocate_gdbinit_path_maybe_in_datadir): Factor this code 5087 1.1 christos out of get_init_files. 5088 1.1 christos (get_init_files): Update. 5089 1.1 christos 5090 1.1 christos 2019-09-11 Christian Biesinger <cbiesinger (a] google.com> 5091 1.1 christos 5092 1.1 christos * main.c (get_init_files): Change to use std::string. 5093 1.1 christos (captured_main_1): Update. 5094 1.1 christos (print_gdb_help): Update. 5095 1.1 christos 5096 1.1 christos 2019-09-11 Ali Tamur <tamur (a] google.com> 5097 1.1 christos 5098 1.1 christos * target-float.c (host_float_ops<T>::to_longest): Update 5099 1.1 christos implementation. 5100 1.1 christos 5101 1.1 christos 2019-09-11 Christian Biesinger <cbiesinger (a] google.com> 5102 1.1 christos 5103 1.1 christos * dbxread.c (read_dbx_symtab): Update. 5104 1.1 christos * dwarf2read.c (load_partial_dies): Update. 5105 1.1 christos * mdebugread.c (parse_partial_symbols): Update. 5106 1.1 christos (handle_psymbol_enumerators): Update. 5107 1.1 christos * psympriv.h (add_psymbol_to_list): Change type of copy_names to bool. 5108 1.1 christos * psymtab.c (add_psymbol_to_bcache): Likewise. 5109 1.1 christos (add_psymbol_to_list): Likewise. 5110 1.1 christos * symtab.c (symbol_set_names): Likewise. 5111 1.1 christos * symtab.h (symbol_set_names): Likewise. 5112 1.1 christos * xcoffread.c (scan_xcoff_symtab): Update. 5113 1.1 christos 5114 1.1 christos 2019-09-11 Tom Tromey <tom (a] tromey.com> 5115 1.1 christos 5116 1.1 christos * symfile-mem.c (symbol_file_add_from_memory): Use 5117 1.1 christos bfd_set_filename. 5118 1.1 christos * solib-darwin.c (darwin_bfd_open): Use bfd_set_filename. 5119 1.1 christos * solib-aix.c (solib_aix_bfd_open): Use bfd_set_filename. 5120 1.1 christos 5121 1.1 christos 2019-09-10 Tom Tromey <tromey (a] adacore.com> 5122 1.1 christos 5123 1.1 christos * dwarf-index-write.c (write_psymbols): Extend error message. 5124 1.1 christos (debug_names::insert): Add Ada code. 5125 1.1 christos (debug_names::write_psymbols): Remove Ada check. 5126 1.1 christos (debug_names) <m_string_obstack>: New member. 5127 1.1 christos * dwarf2read.c (gdb_index_symbol_name_matcher): Remove. 5128 1.1 christos (gdb_index_symbol_name_matcher::matches): Remove. 5129 1.1 christos (mapped_index_base::find_name_components_bounds): Add "lang" 5130 1.1 christos parameter. 5131 1.1 christos (mapped_index_base::build_name_components): Also split names 5132 1.1 christos according to Ada syntax. 5133 1.1 christos (dw2_expand_symtabs_matching_symbol): Loop over languages. Change 5134 1.1 christos type of "match_callback". 5135 1.1 christos (check_match, check_find_bounds_finds) 5136 1.1 christos (dw2_expand_symtabs_matching): Update. 5137 1.1 christos (dw2_debug_names_iterator): Add new constructor. 5138 1.1 christos (dw2_debug_names_map_matching_symbols): New function. 5139 1.1 christos (dw2_debug_names_expand_symtabs_matching): Update. 5140 1.1 christos (dwarf2_debug_names_functions): Use 5141 1.1 christos dw2_debug_names_map_matching_symbols. 5142 1.1 christos 5143 1.1 christos 2019-09-10 Tom Tromey <tromey (a] adacore.com> 5144 1.1 christos 5145 1.1 christos * dwarf2read.c (dw2_get_file_names_reader): Add the 5146 1.1 christos CU's file name to the results. 5147 1.1 christos 5148 1.1 christos 2019-09-10 Tom Tromey <tromey (a] adacore.com> 5149 1.1 christos 5150 1.1 christos * ada-lang.c (add_nonlocal_symbols): Combine calls to 5151 1.1 christos map_matching_symbols. Update. 5152 1.1 christos * dwarf2read.c (dw2_map_matching_symbols): Update. 5153 1.1 christos * psymtab.c (match_partial_symbol): Change type; update. 5154 1.1 christos (psym_map_matching_symbols): Likewise. 5155 1.1 christos * symfile-debug.c (debug_qf_map_matching_symbols): Change 5156 1.1 christos type; update. 5157 1.1 christos * symfile.h (struct quick_symbol_functions) 5158 1.1 christos <map_matching_symbols>: Change "name" to be a lookup_name_info. 5159 1.1 christos Remove "match". 5160 1.1 christos 5161 1.1 christos 2019-09-10 Tom Tromey <tromey (a] adacore.com> 5162 1.1 christos 5163 1.1 christos * psymtab.c (map_block): Remove. 5164 1.1 christos (psym_map_matching_symbols): Use iterate_over_symbols_terminated. 5165 1.1 christos * symtab.c (iterate_over_symbols_terminated): New function. 5166 1.1 christos * symtab.c (iterate_over_symbols_terminated): Declare. 5167 1.1 christos 5168 1.1 christos 2019-09-10 Tom Tromey <tromey (a] adacore.com> 5169 1.1 christos 5170 1.1 christos * ada-lang.c (ada_iterate_over_symbols): Return bool. 5171 1.1 christos * language.h (struct language_defn) <la_iterate_over_symbols>: 5172 1.1 christos Return bool. 5173 1.1 christos * symtab.c (iterate_over_symbols): Return bool. 5174 1.1 christos * symtab.h (iterate_over_symbols): Return bool. 5175 1.1 christos 5176 1.1 christos 2019-09-10 Tom Tromey <tromey (a] adacore.com> 5177 1.1 christos 5178 1.1 christos * ada-lang.c (aux_add_nonlocal_symbols): Change type. 5179 1.1 christos (add_nonlocal_symbols): Update. 5180 1.1 christos * dwarf2read.c (dw2_map_matching_symbols): Change type. 5181 1.1 christos * psymtab.c (map_block, psym_map_matching_symbols): Change type. 5182 1.1 christos * symfile-debug.c (debug_qf_map_matching_symbols): Change type. 5183 1.1 christos * symfile.h (struct quick_symbol_functions) <map_matching_symbols>: 5184 1.1 christos Change type of "callback". Remove "data". 5185 1.1 christos 5186 1.1 christos 5187 1.1 christos 2019-09-09 Ali Tamur <tamur (a] google.com> 5188 1.1 christos 5189 1.1 christos * dwarf2read.c (comp_unit_head): Update comment. 5190 1.1 christos (dwarf2_dwo_name): New function declaration. 5191 1.1 christos (dwarf_unit_type_name): New function declaration. 5192 1.1 christos (read_comp_unit_head): Add support for new compilation units, 5193 1.1 christos DW_UT_partial, DW_UT_skeleton, DW_UT_split_compile, DW_UT_split_type. 5194 1.1 christos Particularly, DW_UT_skeleton and DW_UT_split_compile have dwo_id 5195 1.1 christos (currently named as "signature") in their header. Also clarify error 5196 1.1 christos messages. 5197 1.1 christos (lookup_dwo_id): New function. Returns the dwo id of the given 5198 1.1 christos compile unit. 5199 1.1 christos (lookup_dwo_unit): Use the new lookup_dwo_id function. 5200 1.1 christos (init_cutu_and_read_dies): Use the new dwarf2_dwo_name and lookup_dwo_id 5201 1.1 christos functions. 5202 1.1 christos (create_dwo_cu_reader): Use the added lookup_dwo_id function. 5203 1.1 christos (dwarf2_dwo_name): Get the dwo name if present. 5204 1.1 christos (dwarf_unit_type_name): Convert DW_UT_* types to string for diagnostic 5205 1.1 christos purposes. 5206 1.1 christos 5207 1.1 christos 2019-09-09 Tom Tromey <tom (a] tromey.com> 5208 1.1 christos 5209 1.1 christos * tui/tui-win.c (tui_all_windows_info): Use ui_out. 5210 1.1 christos 5211 1.1 christos 2019-09-09 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 5212 1.1 christos 5213 1.1 christos * python/python.c (do_start_initialization): Make progname_copy static, 5214 1.1 christos to avoid a leak report. 5215 1.1 christos 5216 1.1 christos 2019-09-08 Tom Tromey <tom (a] tromey.com> 5217 1.1 christos 5218 1.1 christos * tui/tui-wingeneral.c (box_win): Truncate long window titles. 5219 1.1 christos 5220 1.1 christos 2019-09-07 Simon Marchi <simon.marchi (a] efficios.com> 5221 1.1 christos 5222 1.1 christos * dwarf2read.c (struct dw2_symtab_iterator) <block_index>: 5223 1.1 christos Change type to gdb::optional<block_enum>. 5224 1.1 christos (dw2_symtab_iter_init): Change block_index parameter type 5225 1.1 christos to gdb::optional<block_enum>. 5226 1.1 christos (dw2_lookup_symbol): Change block_index parameter 5227 1.1 christos type to block_enum.c 5228 1.1 christos (dw2_debug_names_lookup_symbol): Likewise. 5229 1.1 christos * psymtab.c (psym_lookup_symbol): Likewise. 5230 1.1 christos * symfile-debug.c (debug_qf_lookup_symbol): Likewise. 5231 1.1 christos * symfile.h (struct quick_symbol_functions) <lookup_symbol>: 5232 1.1 christos Likewise. 5233 1.1 christos 5234 1.1 christos 2019-09-06 Christian Biesinger <cbiesinger (a] google.com> 5235 1.1 christos 5236 1.1 christos * defs.h (relocate_gdb_directory): Change int to bool in 5237 1.1 christos signature and rename flag to relocatable. 5238 1.1 christos * main.c (relocate_path): Likewise. 5239 1.1 christos (relocate_gdb_directory): Likewise. 5240 1.1 christos 5241 1.1 christos 2019-09-06 Alan Modra <amodra (a] gmail.com> 5242 1.1 christos 5243 1.1 christos * coffread.c (coff_symfile_read): Constify filename variable. 5244 1.1 christos * dbxread.c (dbx_symfile_init, coffstab_build_psymtabs), 5245 1.1 christos (elfstab_build_psymtabs, stabsect_build_psymtabs): Likewise. 5246 1.1 christos * gdb_bfd.c (gdb_bfd_close_or_warn): Likewise. 5247 1.1 christos * solib.c (reload_shared_libraries_1): Likewise. 5248 1.1 christos * symfile.c (reread_symbols): Likewise. 5249 1.1 christos * solib-aix.c (solib_aix_bfd_open): Add cast for xfree of filename. 5250 1.1 christos * solib-darwin.c (darwin_bfd_open): Likewise. 5251 1.1 christos * symfile-mem.c (symbol_file_add_from_memory): Likewise. 5252 1.1 christos 5253 1.1 christos 2019-09-03 Andrew Burgess <andrew.burgess (a] embecosm.com> 5254 1.1 christos 5255 1.1 christos * psymtab.c (print_partial_symbols): Handle missing domain_enum 5256 1.1 christos values MODULE_DOMAIN and COMMON_BLOCK_DOMAIN. 5257 1.1 christos 5258 1.1 christos 2019-09-03 Tom Tromey <tromey (a] adacore.com> 5259 1.1 christos 5260 1.1 christos * ada-valprint.c (ada_val_print_num): Don't recurse for range 5261 1.1 christos types. 5262 1.1 christos (has_negatives): Unbias a range type bound. 5263 1.1 christos * dwarf2read.c (read_subrange_type): Handle DW_AT_GNU_bias. 5264 1.1 christos * gdbtypes.c (operator==): Handle new field. 5265 1.1 christos (create_range_type): Add "bias" parameter. 5266 1.1 christos (create_static_range_type, resolve_dynamic_range): Update. 5267 1.1 christos * gdbtypes.h (struct range_bounds) <bias>: New member. 5268 1.1 christos (create_range_type): Add bias parameter. 5269 1.1 christos * printcmd.c (print_scalar_formatted): Unbias range types. 5270 1.1 christos * value.c (unpack_long): Unbias range types. 5271 1.1 christos (pack_long): Bias range types. 5272 1.1 christos 5273 1.1 christos 2019-09-02 Alan Hayward <alan.hayward (a] arm.com> 5274 1.1 christos 5275 1.1 christos * solib-svr4.c (svr4_find_and_create_probe_breakpoints): Check all 5276 1.1 christos probe arguments. 5277 1.1 christos 5278 1.1 christos 2019-09-02 Alan Hayward <alan.hayward (a] arm.com> 5279 1.1 christos 5280 1.1 christos * break-catch-throw.c (fetch_probe_arguments): Use gdbarch. 5281 1.1 christos * dtrace-probe.c (dtrace_probe::get_argument_count): Likewise. 5282 1.1 christos * probe.c (probe_safe_evaluate_at_pc) (compute_probe_arg) 5283 1.1 christos (compile_probe_arg): Likewise. 5284 1.1 christos * probe.h (get_argument_count): Likewise. 5285 1.1 christos * solib-svr4.c (solib_event_probe_action): Likewise. 5286 1.1 christos * stap-probe.c (stap_probe::get_argument_count): Likewise. 5287 1.1 christos 5288 1.1 christos 2019-09-02 Alan Hayward <alan.hayward (a] arm.com> 5289 1.1 christos 5290 1.1 christos * solib-svr4.c (svr4_find_and_create_probe_breakpoints): Move 5291 1.1 christos code to here... 5292 1.1 christos (svr4_create_solib_event_breakpoints): ...from here. 5293 1.1 christos 5294 1.1 christos 2019-08-30 Sergio Durigan Junior <sergiodj (a] redhat.com> 5295 1.1 christos 5296 1.1 christos * nat/fork-inferior.c (trace_start_error): Remove "\nError: " 5297 1.1 christos suffix from warning message. 5298 1.1 christos 5299 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5300 1.1 christos 5301 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 5302 1.1 christos <refresh_all>: Don't declare. 5303 1.1 christos * tui/tui-winsource.c (tui_source_window_base::refresh_all): 5304 1.1 christos Remove. 5305 1.1 christos * tui/tui-win.c (tui_refresh_all_win): Don't call refresh_all or 5306 1.1 christos tui_show_locator_content. 5307 1.1 christos * tui/tui-regs.h (struct tui_data_window) <refresh_all>: Don't 5308 1.1 christos declare. 5309 1.1 christos * tui/tui-regs.c (tui_data_window::refresh_all): Remove. 5310 1.1 christos * tui/tui-data.h (struct tui_win_info) <refresh_all>: Don't 5311 1.1 christos declare. 5312 1.1 christos 5313 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5314 1.1 christos 5315 1.1 christos * tui/tui-io.c (tui_cont_sig): Don't call wrefresh. 5316 1.1 christos 5317 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5318 1.1 christos 5319 1.1 christos * tui/tui-stack.c (_initialize_tui_stack): Move later. 5320 1.1 christos Remove unnecessary forward declarations. 5321 1.1 christos 5322 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5323 1.1 christos 5324 1.1 christos * tui/tui-stack.c (tui_locator_window::set_locator_fullname): Call 5325 1.1 christos rerender. 5326 1.1 christos (tui_update_locator_fullname, tui_show_frame_info): Don't call 5327 1.1 christos tui_show_locator_content. 5328 1.1 christos 5329 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5330 1.1 christos 5331 1.1 christos * tui/tui-stack.c (tui_show_locator_content): Move lower. Rewrite. 5332 1.1 christos (tui_locator_window::rerender): Rewrite using body of previous 5333 1.1 christos tui_show_locator_content. 5334 1.1 christos 5335 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5336 1.1 christos 5337 1.1 christos * tui/tui-stack.h (struct tui_locator_window) <set_locator_info, 5338 1.1 christos set_locator_fullname>: New methods. 5339 1.1 christos * tui/tui-stack.c (tui_locator_window::set_locator_fullname): 5340 1.1 christos Rename from tui_set_locator_fullname. 5341 1.1 christos (tui_locator_window::set_locator_info): Rename from 5342 1.1 christos tui_set_locator_info. Return bool. 5343 1.1 christos (tui_update_locator_fullname, tui_show_frame_info): Update. 5344 1.1 christos 5345 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5346 1.1 christos 5347 1.1 christos * tui/tui-layout.c (show_layout): Don't call tui_refresh_all. 5348 1.1 christos 5349 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5350 1.1 christos 5351 1.1 christos * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Don't 5352 1.1 christos call touchwin. 5353 1.1 christos 5354 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5355 1.1 christos 5356 1.1 christos * tui/tui-wingeneral.c (box_win): Assume win_info and 5357 1.1 christos win_info->handle cannot be NULL. 5358 1.1 christos 5359 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5360 1.1 christos 5361 1.1 christos * tui/tui-regs.h (struct tui_data_item_window) <rerender, 5362 1.1 christos refresh_window>: Declare. 5363 1.1 christos * tui/tui-regs.c (tui_data_window::display_registers_from): Call 5364 1.1 christos resize. 5365 1.1 christos (tui_data_item_window::rerender): Rename from 5366 1.1 christos tui_display_register. 5367 1.1 christos (tui_data_item_window::refresh_window): New method. 5368 1.1 christos * tui/tui-layout.c (tui_gen_win_info::resize): Do nothing on 5369 1.1 christos no-op. 5370 1.1 christos 5371 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5372 1.1 christos 5373 1.1 christos * tui/tui-regs.h (struct tui_data_window) <regs_content, 5374 1.1 christos regs_column_count, current_group>: Move later. Now private. 5375 1.1 christos <get_current_group>: New method. 5376 1.1 christos * tui/tui-regs.c (tui_reg_command): Update. 5377 1.1 christos * tui/tui-layout.c (tui_set_layout): Update. 5378 1.1 christos 5379 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5380 1.1 christos 5381 1.1 christos * tui/tui-regs.c (tui_data_window::display_registers_from_line) 5382 1.1 christos (tui_data_window::rerender): Don't call 5383 1.1 christos check_and_display_highlight_if_needed. 5384 1.1 christos (tui_data_window::refresh_all): Remove call to 5385 1.1 christos erase_data_content. 5386 1.1 christos 5387 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5388 1.1 christos 5389 1.1 christos * tui/tui-regs.c (tui_data_window::last_regs_line_no) 5390 1.1 christos (tui_data_window::display_registers_from) 5391 1.1 christos (tui_data_window::display_reg_element_at_line) 5392 1.1 christos (tui_data_window::display_registers_from_line): Remove checks of 5393 1.1 christos "empty". 5394 1.1 christos 5395 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5396 1.1 christos 5397 1.1 christos * tui/tui-regs.h (struct tui_data_window) <display_all_data>: 5398 1.1 christos Don't declare. 5399 1.1 christos * tui/tui-regs.c (tui_data_window::show_registers): Call 5400 1.1 christos rerender. 5401 1.1 christos (tui_data_window::rerender): Rename from display_all_data. 5402 1.1 christos (tui_data_window::rerender): Remove old implementation. 5403 1.1 christos 5404 1.1 christos 2019-08-30 Tom Tromey <tom (a] tromey.com> 5405 1.1 christos 5406 1.1 christos * tui/tui-regs.c (tui_data_window::display_all_data): Change 5407 1.1 christos text. 5408 1.1 christos * tui/tui-data.h (NO_DATA_STRING): Remove define. 5409 1.1 christos 5410 1.1 christos 2019-08-29 Bernhard Wodok <barto (a] gmx.net> 5411 1.1 christos Sergio Durigan Junior <sergiodj (a] redhat.com> 5412 1.1 christos 5413 1.1 christos PR win32/24284 5414 1.1 christos * mingw-hdep.c (gdb_select): Handle case when 'n' is zero. 5415 1.1 christos 5416 1.1 christos 2019-08-28 Andrew Burgess <andrew.burgess (a] embecosm.com> 5417 1.1 christos 5418 1.1 christos * symtab.c (search_symbols): Don't include MODULE_DOMAIN symbols 5419 1.1 christos when searching for types. 5420 1.1 christos 5421 1.1 christos 2019-08-28 Andrew Burgess <andrew.burgess (a] embecosm.com> 5422 1.1 christos 5423 1.1 christos * f-lang.c (f_language_defn): Use f_print_typedef. 5424 1.1 christos * f-lang.h (f_print_typedef): Declare. 5425 1.1 christos * f-typeprint.c (f_print_typedef): Define. 5426 1.1 christos 5427 1.1 christos 2019-08-27 Christian Biesinger <cbiesinger (a] google.com> 5428 1.1 christos 5429 1.1 christos * nat/linux-namespaces.c (mnsh_main): Initialize fd (to -1). 5430 1.1 christos 5431 1.1 christos 2019-08-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 5432 1.1 christos 5433 1.1 christos * cli/cli-utils.c (info_print_options_defs): Delete. 5434 1.1 christos (make_info_print_options_def_group): Delete. 5435 1.1 christos (extract_info_print_options): Delete. 5436 1.1 christos (info_print_command_completer): Delete. 5437 1.1 christos (info_print_args_help): Add extra parameter, and optionally 5438 1.1 christos include text about -n flag. 5439 1.1 christos * cli/cli-utils.h (struct info_print_options): Delete. 5440 1.1 christos (extract_info_print_options): Delete declaration. 5441 1.1 christos (info_print_command_completer): Delete declaration. 5442 1.1 christos (info_print_args_help): Add extra parameter, extend header 5443 1.1 christos comment. 5444 1.1 christos * python/python.c (gdbpy_rbreak): Pass additional parameter to 5445 1.1 christos search_symbols. 5446 1.1 christos * stack.c (struct info_print_options): New type. 5447 1.1 christos (info_print_options_defs): New file scoped variable. 5448 1.1 christos (make_info_print_options_def_group): New static function. 5449 1.1 christos (info_print_command_completer): New static function. 5450 1.1 christos (info_locals_command): Update to use new local functions. 5451 1.1 christos (info_args_command): Likewise. 5452 1.1 christos (_initialize_stack): Add extra parameter to calls to 5453 1.1 christos info_print_args_help. 5454 1.1 christos * symtab.c (search_symbols): Add extra parameter, use this to 5455 1.1 christos possibly excluse non-debug symbols. 5456 1.1 christos (symtab_symbol_info): Add extra parameter, which is passed on to 5457 1.1 christos search_symbols. 5458 1.1 christos (struct info_print_options): New type. 5459 1.1 christos (info_print_options_defs): New file scoped variable. 5460 1.1 christos (make_info_print_options_def_group): New static function. 5461 1.1 christos (info_print_command_completer): New static function. 5462 1.1 christos (info_variables_command): Update to use local functions, and pass 5463 1.1 christos extra parameter through to symtab_symbol_info. 5464 1.1 christos (info_functions_command): Likewise. 5465 1.1 christos (info_types_command): Pass additional argument through to 5466 1.1 christos symtab_symbol_info. 5467 1.1 christos (rbreak_command): Pass extra argument to search_symbols. 5468 1.1 christos (_initialize_symtab): Add extra arguments for calls to 5469 1.1 christos info_print_args_help, and update help text for 'info variables', 5470 1.1 christos 'whereis', and 'info functions' commands. 5471 1.1 christos * symtab.h (search_symbols): Add extra argument to declaration. 5472 1.1 christos * NEWS: Mention new flags. 5473 1.1 christos 5474 1.1 christos 2019-08-26 Christian Biesinger <cbiesinger (a] google.com> 5475 1.1 christos 5476 1.1 christos * symtab.c (lookup_static_symbol): Call the new function (and move 5477 1.1 christos it down to be next to lookup_global_symbol). 5478 1.1 christos (struct global_sym_lookup_data): Add block_enum member and rename to... 5479 1.1 christos (struct global_or_static_sym_lookup_data): ...this. 5480 1.1 christos (lookup_symbol_global_iterator_cb): Pass block_index instead of 5481 1.1 christos GLOBAL_BLOCK to lookup_symbol_in_objfile and rename to... 5482 1.1 christos (lookup_symbol_global_or_static_iterator_cb): ...this. 5483 1.1 christos (lookup_global_or_static_symbol): New function. 5484 1.1 christos (lookup_global_symbol): Call new function. 5485 1.1 christos 5486 1.1 christos 2019-08-26 Tom de Vries <tdevries (a] suse.de> 5487 1.1 christos 5488 1.1 christos PR c++/24852 5489 1.1 christos * break-catch-throw.c (fetch_probe_arguments): Improve error mesage 5490 1.1 christos when pc_probe.prob == NULL. 5491 1.1 christos 5492 1.1 christos 2019-08-25 Simon Marchi <simon.marchi (a] efficios.com> 5493 1.1 christos 5494 1.1 christos * dwarf2read.c (dw2_debug_names_iterator::next): Rename local 5495 1.1 christos variable symbol_linkage to symbol_linkage_. 5496 1.1 christos 5497 1.1 christos 2019-08-25 Simon Marchi <simon.marchi (a] efficios.com> 5498 1.1 christos 5499 1.1 christos * dwarf2read.c (dw2_debug_names_iterator::next): Use enum to 5500 1.1 christos represent whether the symbol is static, dynamic, or we don't 5501 1.1 christos know. 5502 1.1 christos 5503 1.1 christos 2019-08-25 Yoshinori Sato <ysato (a] users.sourceforge.jp> 5504 1.1 christos 5505 1.1 christos * rx-tdep.c (rx_register_names): New. 5506 1.1 christos (rx_register_name): Delete. 5507 1.1 christos (rx_psw_type): Delete. 5508 1.1 christos (rx_fpsw_type): Delete. 5509 1.1 christos (rx_register_type): Delete. 5510 1.1 christos (rx_gdbarch_init): Convert target-descriptions. 5511 1.1 christos (_initialize_rx_tdep): Add initialize_tdesc_rx. 5512 1.1 christos * features/Makefile: Add rx.xml. 5513 1.1 christos * features/rx.xml: New. 5514 1.1 christos * features/rx.c: Generated. 5515 1.1 christos * NEWS: Mention target description support. 5516 1.1 christos 5517 1.1 christos 2019-08-22 Christian Biesinger <cbiesinger (a] google.com> 5518 1.1 christos 5519 1.1 christos * symtab.c (symbol_cache_lookup): Always initialize *bsc_ptr and 5520 1.1 christos *slot_ptr. 5521 1.1 christos 5522 1.1 christos 2019-08-23 Sergio Durigan Junior <sergiodj (a] redhat.com> 5523 1.1 christos 5524 1.1 christos * configure.ac: Don't check for 'dlfcn.h' (moved to 5525 1.1 christos gdbsupport/common.m4). 5526 1.1 christos * Makefile.in (COMMON_SFILES): Move 'gdb-dlfcn.c' to 5527 1.1 christos 'gdbsupport/'. 5528 1.1 christos (HFILES_NO_SRCDIR): Likewise, for 'gdb-dlfcn.h'. 5529 1.1 christos * compile/compile-c-support.c: Include 5530 1.1 christos 'gdbsupport/gdb-dlfcn.h'. 5531 1.1 christos * gdbsupport/common.m4: Check for 'dlfcn.h'. 5532 1.1 christos * gdb-dlfcn.c: Move to... 5533 1.1 christos * gdbsupport/gdb-dlfcn.c: ... here. 5534 1.1 christos * gdb-dlfcn.h: Move to... 5535 1.1 christos * gdbsupport/gdb-dlfcn.h: ... here. 5536 1.1 christos 5537 1.1 christos 2019-08-23 Sandra Loosemore <sandra (a] codesourcery.com> 5538 1.1 christos 5539 1.1 christos * nios2-tdep.c (struct reg_value): Improve comments. Make 5540 1.1 christos the offset field signed. 5541 1.1 christos 5542 1.1 christos 2019-08-22 Christian Biesinger <cbiesinger (a] google.com> 5543 1.1 christos 5544 1.1 christos * python/lib/gdb/__init__.py (_execute_file): New function. 5545 1.1 christos * python/python.c (python_run_simple_file): Call gdb._execute_file 5546 1.1 christos on Windows. 5547 1.1 christos 5548 1.1 christos 2019-08-22 Andrew Burgess <andrew.burgess (a] embecosm.com> 5549 1.1 christos 5550 1.1 christos * f-exp.y (yylex): Remove is_a_field_of_this local variable, and 5551 1.1 christos all uses as this was never set to anything but a zero value. 5552 1.1 christos 5553 1.1 christos 2019-08-21 Bogdan Harjoc <harjoc (a] gmail.com> 5554 1.1 christos 5555 1.1 christos * cli/cli-cmds.c (with_command_1): Error out if no arguments. 5556 1.1 christos 5557 1.1 christos 2019-08-21 Christian Biesinger <cbiesinger (a] google.com> 5558 1.1 christos 5559 1.1 christos * tui/tui-data.h (tui_gen_win_info): Add an =default 5560 1.1 christos move constructor, required by some GCC versions. 5561 1.1 christos 5562 1.1 christos 2019-08-21 Jinke Fan <fanjinke51 (a] yeah.net> 5563 1.1 christos 5564 1.1 christos * go32-nat.c (go32_sysinfo): Add hygon_p. 5565 1.1 christos 5566 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5567 1.1 christos 5568 1.1 christos * tui/tui-regs.h (struct tui_data_window) <last_regs_line_no, 5569 1.1 christos line_from_reg_element_no, first_reg_element_no_inline, 5570 1.1 christos display_all_data, delete_data_content_windows, 5571 1.1 christos erase_data_content>: Now private. 5572 1.1 christos 5573 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5574 1.1 christos 5575 1.1 christos * tui/tui-wingeneral.c (box_win): Change type of highlight_flag. 5576 1.1 christos (tui_unhighlight_win, tui_highlight_win) 5577 1.1 christos (tui_win_info::make_window): Update. 5578 1.1 christos * tui/tui-data.h (HILITE, NO_HILITE): Remove. 5579 1.1 christos 5580 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5581 1.1 christos 5582 1.1 christos * tui/tui-data.h (PROC_PREFIX, LINE_PREFIX, PC_PREFIX) 5583 1.1 christos (MIN_LINE_WIDTH, MIN_PROC_WIDTH, MAX_TARGET_WIDTH) 5584 1.1 christos (MAX_PID_WIDTH): Move to tui-stack.c. 5585 1.1 christos * tui/tui-stack.c (PROC_PREFIX, LINE_PREFIX, PC_PREFIX) 5586 1.1 christos (MIN_LINE_WIDTH, MIN_PROC_WIDTH, MAX_TARGET_WIDTH) 5587 1.1 christos (MAX_PID_WIDTH): Move from tui-data.h. 5588 1.1 christos 5589 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5590 1.1 christos 5591 1.1 christos * tui/tui-wingeneral.h (tui_make_window): Don't declare. 5592 1.1 christos * tui/tui-wingeneral.c (box_win): Change type of win_info. 5593 1.1 christos (box_win): Update. 5594 1.1 christos (tui_gen_win_info::make_window): Rename from tui_make_window. 5595 1.1 christos (tui_win_info::make_window): New method. 5596 1.1 christos (tui_gen_win_info::make_visible): Update. 5597 1.1 christos * tui/tui-source.c (tui_source_window::set_contents): Update. 5598 1.1 christos * tui/tui-regs.c (tui_data_window::show_register_group): Update. 5599 1.1 christos (tui_data_window::display_registers_from): Update. 5600 1.1 christos * tui/tui-layout.c (tui_gen_win_info::resize): Update. 5601 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <make_window>: 5602 1.1 christos Declare. 5603 1.1 christos <can_box>: Remove. 5604 1.1 christos <title>: Remove. 5605 1.1 christos (struct tui_win_info) <make_window>: Declare. 5606 1.1 christos <can_box>: Now virtual. 5607 1.1 christos <title>: New member. 5608 1.1 christos * tui/tui-data.c (~tui_gen_win_info): Don't free title. 5609 1.1 christos * tui/tui-command.c (tui_cmd_window::resize): Update. 5610 1.1 christos 5611 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5612 1.1 christos 5613 1.1 christos * tui/tui-regs.h (struct tui_data_window) <display_regs>: Remove. 5614 1.1 christos * tui/tui-regs.c (tui_data_window::show_registers): Update. 5615 1.1 christos (tui_data_window::check_register_values): Update. 5616 1.1 christos 5617 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5618 1.1 christos 5619 1.1 christos * tui/tui-regs.h (struct tui_data_window): Use 5620 1.1 christos DISABLE_COPY_AND_ASSIGN. 5621 1.1 christos <regs_content>: Change type, removing unique_ptr. 5622 1.1 christos <tui_data_window>: Add move constructor. 5623 1.1 christos * tui/tui-regs.c (tui_data_window::show_registers) 5624 1.1 christos (tui_data_window::show_register_group) 5625 1.1 christos (tui_data_window::display_registers_from) 5626 1.1 christos (tui_data_window::display_registers_from) 5627 1.1 christos (tui_data_window::first_data_item_displayed) 5628 1.1 christos (tui_data_window::delete_data_content_windows) 5629 1.1 christos (tui_data_window::rerender, tui_data_window::refresh_window) 5630 1.1 christos (tui_data_window::check_register_values): Update. 5631 1.1 christos 5632 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5633 1.1 christos 5634 1.1 christos * tui/tui-regs.h (struct tui_data_window) <show_registers, 5635 1.1 christos show_register_group>: Declare. 5636 1.1 christos (tui_show_register_group): Don't declare. 5637 1.1 christos * tui/tui-regs.c (tui_data_window::show_registers): Rename from 5638 1.1 christos tui_show_registers. 5639 1.1 christos (tui_data_window::show_register_group): Rename from 5640 1.1 christos tui_show_register_group. 5641 1.1 christos (tui_data_window::check_register_values, tui_reg_command): 5642 1.1 christos Update. 5643 1.1 christos * tui/tui-layout.c (tui_set_layout): Update. 5644 1.1 christos 5645 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5646 1.1 christos 5647 1.1 christos * tui/tui-regs.h (struct tui_data_window) <check_register_values>: 5648 1.1 christos Declare. 5649 1.1 christos (tui_check_register_values): Don't declare. 5650 1.1 christos * tui/tui-regs.c (tui_data_window::check_register_values): Rename 5651 1.1 christos from tui_check_register_values. 5652 1.1 christos * tui/tui-hooks.c (tui_register_changed): Update. 5653 1.1 christos 5654 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5655 1.1 christos 5656 1.1 christos * tui/tui-regs.c (tui_reg_layout): Move later. 5657 1.1 christos (tui_show_registers): Don't enable TUI mode or change layout. 5658 1.1 christos 5659 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5660 1.1 christos 5661 1.1 christos * tui/tui-regs.h (struct tui_data_item_window) 5662 1.1 christos <~tui_data_item_window>: Remove. 5663 1.1 christos <content>: Now a unique_xmalloc_ptr. 5664 1.1 christos * tui/tui-regs.c (tui_register_format): Return a 5665 1.1 christos unique_xmalloc_ptr. 5666 1.1 christos (tui_get_register): Update. 5667 1.1 christos (~tui_data_item_window): Remove. 5668 1.1 christos (tui_data_window::display_registers_from, tui_display_register): 5669 1.1 christos Update. 5670 1.1 christos * tui/tui-io.h (tui_expand_tabs): Update. 5671 1.1 christos * tui/tui-io.c (tui_expand_tabs): Return a unique_xmalloc_ptr. 5672 1.1 christos Remove "col" parameter. 5673 1.1 christos 5674 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5675 1.1 christos 5676 1.1 christos * tui/tui-regs.h (struct tui_data_item_window) <value>: Remove 5677 1.1 christos field. 5678 1.1 christos * tui/tui-regs.c (~tui_data_item_window): Update. 5679 1.1 christos 5680 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5681 1.1 christos 5682 1.1 christos * tui/tui-regs.c (tui_register_format, tui_get_register): Move 5683 1.1 christos earlier. 5684 1.1 christos 5685 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5686 1.1 christos 5687 1.1 christos * tui/tui-regs.c (tui_reg_command): Remove NULL check. 5688 1.1 christos 5689 1.1 christos 2019-08-20 Tom Tromey <tom (a] tromey.com> 5690 1.1 christos 5691 1.1 christos * tui/tui-source.h (struct tui_source_window): Update. 5692 1.1 christos * tui/tui-regs.c (tui_show_registers): Update. 5693 1.1 christos * tui/tui-disasm.h (struct tui_disasm_window): Update. 5694 1.1 christos * tui/tui-data.h (NO_SRC_STRING, NO_DISASSEM_STRING) 5695 1.1 christos (NO_REGS_STRING): Remove defines. 5696 1.1 christos 5697 1.1 christos 2019-08-20 Conrad Meyer <cem (a] FreeBSD.org> 5698 1.1 christos 5699 1.1 christos * remote.c (remote_target::remote_btrace_maybe_reopen): Avoid 5700 1.1 christos unnecessary thread walk if remote doesn't support the packet. 5701 1.1 christos 5702 1.1 christos 2019-08-19 Tom Tromey <tromey (a] adacore.com> 5703 1.1 christos 5704 1.1 christos * python/py-value.c (value_has_field): Fix indentation. 5705 1.1 christos 5706 1.1 christos 2019-08-19 Tom Tromey <tromey (a] adacore.com> 5707 1.1 christos 5708 1.1 christos * printcmd.c (do_one_display, info_display_command): Update. 5709 1.1 christos * block.h (contained_in): Return bool. Add allow_nested 5710 1.1 christos parameter. 5711 1.1 christos * block.c (contained_in): Return bool. Add allow_nested 5712 1.1 christos parameter. 5713 1.1 christos 5714 1.1 christos 2019-08-19 Tom Tromey <tom (a] tromey.com> 5715 1.1 christos 5716 1.1 christos * configure: Rebuild. 5717 1.1 christos * configure.ac: Disallow the combination of -static-libstdc++ and 5718 1.1 christos source highlight. 5719 1.1 christos * source-cache.c (get_language_name): Handle rust. 5720 1.1 christos (source_cache::get_source_lines): Ignore highlighting exceptions. 5721 1.1 christos 5722 1.1 christos 2019-08-16 Tom Tromey <tom (a] tromey.com> 5723 1.1 christos 5724 1.1 christos * tui/tui.h (enum tui_win_type) <EXEC_INFO_WIN>: Remove. 5725 1.1 christos * tui/tui-winsource.h (struct tui_exec_info_window): Remove. 5726 1.1 christos (struct tui_source_window_base) <make_visible, refresh_window, 5727 1.1 christos resize>: Remove methods. 5728 1.1 christos <execution_info>: Remove field. 5729 1.1 christos * tui/tui-winsource.c (tui_source_window_base::do_erase_source_content) 5730 1.1 christos (tui_show_source_line, tui_source_window_base) 5731 1.1 christos (~tui_source_window_base): Update. 5732 1.1 christos (tui_source_window_base::resize) 5733 1.1 christos (tui_source_window_base::make_visible) 5734 1.1 christos (tui_source_window_base::refresh_window): Remove. 5735 1.1 christos (tui_source_window_base::update_exec_info): Update. 5736 1.1 christos * tui/tui-source.c (tui_source_window::set_contents): Update. 5737 1.1 christos * tui/tui-disasm.c (tui_disasm_window::set_contents): Update. 5738 1.1 christos 5739 1.1 christos 2019-08-16 Tom Tromey <tom (a] tromey.com> 5740 1.1 christos 5741 1.1 christos * tui/tui-hooks.c (tui_remove_hooks): Don't set 5742 1.1 christos deprecated_query_hook. 5743 1.1 christos 5744 1.1 christos 2019-08-16 Tom Tromey <tom (a] tromey.com> 5745 1.1 christos 5746 1.1 christos * tui/tui-winsource.c (tui_update_source_windows_with_addr) 5747 1.1 christos (tui_update_source_windows_with_line): Update. 5748 1.1 christos * tui/tui-source.h (struct tui_source_window) 5749 1.1 christos <show_symtab_source>: Declare. 5750 1.1 christos (tui_show_symtab_source): Don't declare. 5751 1.1 christos * tui/tui-source.c (tui_show_symtab_source): Rename from 5752 1.1 christos tui_show_symtab_source. 5753 1.1 christos 5754 1.1 christos 2019-08-16 Tom Tromey <tom (a] tromey.com> 5755 1.1 christos 5756 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 5757 1.1 christos <set_contents>: Declare. 5758 1.1 christos * tui/tui-winsource.c 5759 1.1 christos (tui_source_window_base::update_source_window_as_is): Update. 5760 1.1 christos * tui/tui-source.h (struct tui_source_window) <set_contents>: 5761 1.1 christos Declare. 5762 1.1 christos (tui_set_source_content): Don't declare. 5763 1.1 christos * tui/tui-source.c (tui_source_window::set_contents): Rename from 5764 1.1 christos tui_set_source_content. 5765 1.1 christos * tui/tui-disasm.h (struct tui_disasm_window) <set_contents>: 5766 1.1 christos Declare. 5767 1.1 christos (tui_set_disassem_content): Don't declare. 5768 1.1 christos * tui/tui-disasm.c (tui_disasm_window::set_contents): Rename from 5769 1.1 christos tui_set_disassem_content. 5770 1.1 christos 5771 1.1 christos 2019-08-16 Tom Tromey <tom (a] tromey.com> 5772 1.1 christos 5773 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 5774 1.1 christos <update_breakpoint_info>: Declare. 5775 1.1 christos (tui_update_breakpoint_info): Don't declare. 5776 1.1 christos * tui/tui-winsource.c (tui_source_window_base::update_source_window_as_is) 5777 1.1 christos (tui_update_all_breakpoint_info): Update. 5778 1.1 christos (tui_source_window_base::update_breakpoint_info): Rename from 5779 1.1 christos tui_update_breakpoint_info. 5780 1.1 christos (tui_source_window_base::update_exec_info): Update. 5781 1.1 christos 5782 1.1 christos 2019-08-16 Tom Tromey <tom (a] tromey.com> 5783 1.1 christos 5784 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 5785 1.1 christos <update_source_window>: Declare. 5786 1.1 christos (tui_update_source_window): Don't declare. 5787 1.1 christos * tui/tui-winsource.c 5788 1.1 christos (tui_source_window_base::update_source_window): Rename from 5789 1.1 christos tui_update_source_window. 5790 1.1 christos (tui_source_window_base::rerender): Update. 5791 1.1 christos * tui/tui-source.c (tui_source_window::maybe_update): Update. 5792 1.1 christos * tui/tui-disasm.c (tui_show_disassem) 5793 1.1 christos (tui_show_disassem_and_update_source) 5794 1.1 christos (tui_disasm_window::maybe_update): Update. 5795 1.1 christos 5796 1.1 christos 2019-08-16 Tom Tromey <tom (a] tromey.com> 5797 1.1 christos 5798 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 5799 1.1 christos <update_source_window_as_is>: Declare. 5800 1.1 christos (tui_update_source_window_as_is): Don't declare. 5801 1.1 christos * tui/tui-winsource.c (tui_update_source_window): Update 5802 1.1 christos (tui_source_window_base::update_source_window_as_is): Rename from 5803 1.1 christos tui_update_source_window_as_is. 5804 1.1 christos (tui_source_window_base::refill): Update. 5805 1.1 christos * tui/tui-source.c (tui_show_symtab_source): Update. 5806 1.1 christos * tui/tui-disasm.c (tui_disasm_window::do_scroll_vertical): 5807 1.1 christos Update. 5808 1.1 christos 5809 1.1 christos 2019-08-16 Tom Tromey <tom (a] tromey.com> 5810 1.1 christos 5811 1.1 christos * tui/tui-winsource.h (tui_update_source_window) 5812 1.1 christos (tui_update_source_window_as_is): Remove "noerror" parameter. 5813 1.1 christos * tui/tui-winsource.c (tui_update_source_window) 5814 1.1 christos (tui_update_source_window_as_is): Remove "noerror" parameter. 5815 1.1 christos (tui_update_source_windows_with_addr) 5816 1.1 christos (tui_update_source_windows_with_line) 5817 1.1 christos (tui_source_window_base::rerender) 5818 1.1 christos (tui_source_window_base::refill): Update. 5819 1.1 christos * tui/tui-source.h (tui_set_source_content) 5820 1.1 christos (tui_show_symtab_source): Remove "noerror" parameter. 5821 1.1 christos * tui/tui-source.c (tui_set_source_content): Remove "noerror" 5822 1.1 christos parameter. 5823 1.1 christos (tui_show_symtab_source): Likewise. 5824 1.1 christos (tui_source_window::maybe_update): Update. 5825 1.1 christos * tui/tui-disasm.c (tui_show_disassem) 5826 1.1 christos (tui_show_disassem_and_update_source) 5827 1.1 christos (tui_disasm_window::do_scroll_vertical) 5828 1.1 christos (tui_disasm_window::maybe_update): Update. 5829 1.1 christos 5830 1.1 christos 2019-08-16 Tom Tromey <tom (a] tromey.com> 5831 1.1 christos 5832 1.1 christos * tui/tui.c (tui_is_window_visible): Update. 5833 1.1 christos * tui/tui-wingeneral.c (tui_make_window) 5834 1.1 christos (tui_gen_win_info::make_visible, tui_refresh_all): Update. 5835 1.1 christos * tui/tui-win.c (window_name_completer, tui_refresh_all_win) 5836 1.1 christos (tui_set_focus_command, tui_all_windows_info, update_tab_width) 5837 1.1 christos (tui_set_win_height_command, parse_scrolling_args): Update. 5838 1.1 christos * tui/tui-source.c (tui_source_window::style_changed): Update. 5839 1.1 christos * tui/tui-regs.c (tui_show_registers) 5840 1.1 christos (tui_data_window::first_data_item_displayed) 5841 1.1 christos (tui_data_window::delete_data_content_windows) 5842 1.1 christos (tui_check_register_values, tui_reg_command): Update. 5843 1.1 christos * tui/tui-disasm.c (tui_show_disassem): Update. 5844 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <is_visible>: New 5845 1.1 christos method. 5846 1.1 christos <is_visible>: Remove field. 5847 1.1 christos * tui/tui-data.c (tui_next_win, tui_prev_win) 5848 1.1 christos (tui_delete_invisible_windows): Update. 5849 1.1 christos 5850 1.1 christos 2019-08-16 Tom Tromey <tom (a] tromey.com> 5851 1.1 christos 5852 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 5853 1.1 christos <m_has_locator>: Remove. 5854 1.1 christos * tui/tui-layout.c (show_source_disasm_command, show_data) 5855 1.1 christos (show_source_or_disasm_and_command): Update. 5856 1.1 christos 5857 1.1 christos 2019-08-16 Alan Hayward <alan.hayward (a] arm.com> 5858 1.1 christos 5859 1.1 christos * NEWS (Other MI changes): New subsection. 5860 1.1 christos * aarch64-tdep.c (aarch64_get_pc_address_flags): New function. 5861 1.1 christos (aarch64_gdbarch_init): Add aarch64_get_pc_address_flags. 5862 1.1 christos * arch-utils.c (default_get_pc_address_flags): New function. 5863 1.1 christos * arch-utils.h (default_get_pc_address_flags): New declaration. 5864 1.1 christos * gdbarch.sh: Add get_pc_address_flags. 5865 1.1 christos * gdbarch.c: Regenerate. 5866 1.1 christos * gdbarch.h: Likewise. 5867 1.1 christos * stack.c (print_pc): New function. 5868 1.1 christos (print_frame_info) (print_frame): Call print_pc. 5869 1.1 christos 5870 1.1 christos 2019-08-16 Tom de Vries <tdevries (a] suse.de> 5871 1.1 christos 5872 1.1 christos * maint.c (maintenance_info_sections): Also handle !ALLOBJ case using 5873 1.1 christos print_objfile_section_info. 5874 1.1 christos 5875 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 5876 1.1 christos 5877 1.1 christos * tui/tui-io.c (tui_puts_internal): Check TUI_CMD_WIN before 5878 1.1 christos calling update_cmdwin_start_line. 5879 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 5880 1.1 christos <do_make_visible_with_new_height, set_new_height>: Don't declare. 5881 1.1 christos <rerender>: Declare. 5882 1.1 christos * tui/tui-winsource.c (tui_source_window_base::update_tab_width): 5883 1.1 christos Call rerender. 5884 1.1 christos (tui_source_window_base::set_new_height): Remove. 5885 1.1 christos (tui_source_window_base::rerender): Rename from 5886 1.1 christos do_make_visible_with_new_height. 5887 1.1 christos * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights): Use 5888 1.1 christos resize method. 5889 1.1 christos (tui_win_info::make_invisible_and_set_new_height) 5890 1.1 christos (tui_win_info::make_visible_with_new_height): Remove. 5891 1.1 christos * tui/tui-stack.h (struct tui_locator_window) <rerender>: 5892 1.1 christos Declare. 5893 1.1 christos * tui/tui-stack.c (tui_locator_window::rerender): New method. 5894 1.1 christos * tui/tui-regs.h (struct tui_data_window) <set_new_height, 5895 1.1 christos do_make_visible_with_new_height>: Don't declare. 5896 1.1 christos <rerender>: Declare. 5897 1.1 christos * tui/tui-regs.c (tui_data_window::rerender): Rename from 5898 1.1 christos set_new_height. 5899 1.1 christos (tui_data_window::do_make_visible_with_new_height): Remove. 5900 1.1 christos * tui/tui-layout.c (show_source_disasm_command, show_data): Don't 5901 1.1 christos call tui_show_locator_content. 5902 1.1 christos (tui_gen_win_info::resize): Call rerender. 5903 1.1 christos (show_source_or_disasm_and_command): Don't call 5904 1.1 christos tui_show_locator_content. 5905 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <rerender>: New 5906 1.1 christos method. 5907 1.1 christos (struct tui_win_info) <rerender>: Declare. 5908 1.1 christos <set_new_height, make_invisible_and_set_new_height, 5909 1.1 christos make_visible_with_new_height>: Don't declare. 5910 1.1 christos * tui/tui-data.c (tui_win_list::rerender): New method. 5911 1.1 christos * tui/tui-command.h (struct tui_cmd_window) 5912 1.1 christos <do_make_visible_with_new_height>: Don't declare. 5913 1.1 christos * tui/tui-command.c 5914 1.1 christos (tui_cmd_window::do_make_visible_with_new_height): Remove. 5915 1.1 christos 5916 1.1 christos 2019-08-15 Tom Tromey <tromey (a] adacore.com> 5917 1.1 christos 5918 1.1 christos * ada-exp.y (convert_char_literal): Handle "Q%c" encoding. 5919 1.1 christos * ada-lang.c (ada_enum_name): Likewise. 5920 1.1 christos 5921 1.1 christos 2019-08-15 Christian Biesinger <cbiesinger (a] google.com> 5922 1.1 christos 5923 1.1 christos * python/lib/gdb/__init__.py (GdbOutputFile): Rename to have a 5924 1.1 christos leading underscore. 5925 1.1 christos (GdbOutputErrorFile): Likewise. 5926 1.1 christos (global scope): Adjust constructor calls to GdbOutput{,Error}File 5927 1.1 christos accordingly. 5928 1.1 christos (execute_unwinders): Rename to have a leading underscore. 5929 1.1 christos (auto_load_packages): Likewise. 5930 1.1 christos (global scope): Adjust call to auto_load_packages accordingly. 5931 1.1 christos (GdbSetPythonDirectory): Likewise. 5932 1.1 christos * python/py-unwind.c (pyuw_sniffer): Call _execute_unwinders 5933 1.1 christos instead of execute_unwinders. 5934 1.1 christos 5935 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 5936 1.1 christos 5937 1.1 christos * tui/tui-layout.c (show_layout, show_source_disasm_command) 5938 1.1 christos (show_data): Don't change window visibility. 5939 1.1 christos (tui_gen_win_info::resize): Remove special case for command 5940 1.1 christos window. Use wresize, when available. 5941 1.1 christos (show_source_or_disasm_and_command): Don't change window 5942 1.1 christos visibility. 5943 1.1 christos * tui/tui-command.h (struct tui_cmd_window) <resize>: Declare. 5944 1.1 christos <make_visible>: New method. 5945 1.1 christos * tui/tui-command.c (tui_cmd_window::resize): New method. 5946 1.1 christos 5947 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 5948 1.1 christos 5949 1.1 christos * tui/tui-winsource.h (struct tui_source_window_iterator): New. 5950 1.1 christos (struct tui_source_windows): New. 5951 1.1 christos * tui/tui-winsource.c (tui_display_main): Update. 5952 1.1 christos * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights) 5953 1.1 christos (new_height_ok, parse_scrolling_args): Update. 5954 1.1 christos * tui/tui-layout.c (show_layout, show_data): Update. 5955 1.1 christos * tui/tui-data.h (tui_source_windows, tui_clear_source_windows) 5956 1.1 christos (tui_add_to_source_windows): Don't declare. 5957 1.1 christos * tui/tui-data.c (source_windows, tui_source_windows) 5958 1.1 christos (tui_clear_source_windows, tui_add_to_source_windows): Remove. 5959 1.1 christos 5960 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 5961 1.1 christos 5962 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) <resize>: 5963 1.1 christos Rename from reset. 5964 1.1 christos * tui/tui-winsource.c (tui_source_window_base::resize): Rename. 5965 1.1 christos * tui/tui-layout.c (show_source_disasm_command, show_data): 5966 1.1 christos Update. 5967 1.1 christos (tui_gen_win_info::resize): Rename. 5968 1.1 christos (show_source_or_disasm_and_command): Update. 5969 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <resize>: Rename from 5970 1.1 christos reset. 5971 1.1 christos 5972 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 5973 1.1 christos 5974 1.1 christos * tui/tui-stack.c (tui_initialize_static_data): Remove. 5975 1.1 christos * tui/tui-interp.c (tui_interp::init): Don't call 5976 1.1 christos tui_initialize_static_data. 5977 1.1 christos * tui/tui-data.h (tui_initialize_static_data): Don't declare. 5978 1.1 christos 5979 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 5980 1.1 christos 5981 1.1 christos * tui/tui-layout.c (tui_default_win_viewport_height): Don't 5982 1.1 christos examine tui_win_list. 5983 1.1 christos 5984 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 5985 1.1 christos 5986 1.1 christos * tui/tui-winsource.h (tui_clear_source_content): Don't declare. 5987 1.1 christos * tui/tui-winsource.c (tui_update_source_window_as_is): Don't call 5988 1.1 christos tui_clear_source_content. 5989 1.1 christos (tui_clear_source_content): Remove. 5990 1.1 christos (tui_source_window_base::do_erase_source_content): Hoist call to 5991 1.1 christos content.clear(). 5992 1.1 christos * tui/tui-stack.c (tui_show_frame_info): Don't call 5993 1.1 christos tui_clear_source_content. 5994 1.1 christos 5995 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 5996 1.1 christos 5997 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 5998 1.1 christos <do_erase_source_content>: New method. 5999 1.1 christos <erase_source_content>: New method. 6000 1.1 christos (tui_erase_source_content): Don't declare. 6001 1.1 christos * tui/tui-winsource.c (tui_clear_source_content): Update. 6002 1.1 christos (tui_source_window_base::do_erase_source_content): Rename from 6003 1.1 christos tui_erase_source_content. 6004 1.1 christos (tui_source_window_base::show_source_content): Update. 6005 1.1 christos * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights): Update. 6006 1.1 christos * tui/tui-source.h (struct tui_source_window) 6007 1.1 christos <erase_source_content>: New method. 6008 1.1 christos * tui/tui-disasm.h (struct tui_disasm_window) 6009 1.1 christos <erase_source_content>: New method. 6010 1.1 christos 6011 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 6012 1.1 christos 6013 1.1 christos * tui/tui-winsource.h (tui_alloc_source_buffer): Don't declare. 6014 1.1 christos (struct tui_source_element): Add DISABLE_COPY_AND_ASSIGN, and move 6015 1.1 christos constructor. 6016 1.1 christos * tui/tui-winsource.c (tui_alloc_source_buffer): Remove. 6017 1.1 christos * tui/tui-source.c (tui_set_source_content): Update. 6018 1.1 christos * tui/tui-disasm.c (tui_set_disassem_content): Update. 6019 1.1 christos 6020 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 6021 1.1 christos 6022 1.1 christos * tui/tui-winsource.h (tui_line_is_displayed): Don't declare. 6023 1.1 christos * tui/tui-winsource.c (tui_line_is_displayed): Move to 6024 1.1 christos tui-source.c. 6025 1.1 christos * tui/tui-source.h (struct tui_source_window) <line_is_displayed>: 6026 1.1 christos Declare. 6027 1.1 christos * tui/tui-source.c (tui_source_window::line_is_displayed): New 6028 1.1 christos method. 6029 1.1 christos (tui_source_window::maybe_update): Update. 6030 1.1 christos 6031 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 6032 1.1 christos 6033 1.1 christos * tui/tui-winsource.h (tui_addr_is_displayed): Don't declare. 6034 1.1 christos * tui/tui-winsource.c (tui_addr_is_displayed): Move to 6035 1.1 christos tui-disasm.c. 6036 1.1 christos * tui/tui-disasm.h (struct tui_disasm_window) <addr_is_displayed>: 6037 1.1 christos Declare. 6038 1.1 christos * tui/tui-disasm.c (tui_disasm_window::addr_is_displayed): New 6039 1.1 christos method. 6040 1.1 christos (tui_disasm_window::maybe_update): Update. 6041 1.1 christos 6042 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 6043 1.1 christos 6044 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 6045 1.1 christos <maybe_update>: Declare. 6046 1.1 christos * tui/tui-stack.c (tui_show_frame_info): Call maybe_update 6047 1.1 christos method. 6048 1.1 christos * tui/tui-source.h (struct tui_source_window) <maybe_update>: 6049 1.1 christos Declare. 6050 1.1 christos * tui/tui-source.c (tui_source_window::maybe_update): New method. 6051 1.1 christos * tui/tui-disasm.h (struct tui_disasm_window) <maybe_update>: 6052 1.1 christos Declare. 6053 1.1 christos * tui/tui-disasm.c (tui_disasm_window::maybe_update): New method. 6054 1.1 christos 6055 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 6056 1.1 christos 6057 1.1 christos * tui/tui-stack.c (tui_make_status_line): Use string constructor. 6058 1.1 christos 6059 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 6060 1.1 christos 6061 1.1 christos * tui/tui-wingeneral.c: Include tui-stack.h. 6062 1.1 christos * tui/tui-stack.h (MAX_LOCATOR_ELEMENT_LEN) 6063 1.1 christos (struct tui_locator_window): Move from tui-data.h. 6064 1.1 christos * tui/tui-stack.c (_locator, tui_locator_win_info_ptr) 6065 1.1 christos (tui_initialize_static_data): Move from tui-data.c. 6066 1.1 christos * tui/tui-data.h (MAX_LOCATOR_ELEMENT_LEN) 6067 1.1 christos (struct tui_locator_window): Move to tui-stack.c. 6068 1.1 christos * tui/tui-data.c (_locator, tui_locator_win_info_ptr) 6069 1.1 christos (tui_initialize_static_data): Move to tui-stack.c. 6070 1.1 christos 6071 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 6072 1.1 christos 6073 1.1 christos * tui/tui-layout.c (show_source_disasm_command) 6074 1.1 christos (show_source_or_disasm_and_command): Use make_visible method, not 6075 1.1 christos tui_make_window. 6076 1.1 christos * tui/tui-command.h (struct tui_cmd_window) <make_visible>: 6077 1.1 christos Remove. 6078 1.1 christos 6079 1.1 christos 2019-08-15 Tom Tromey <tom (a] tromey.com> 6080 1.1 christos 6081 1.1 christos * tui/tui-wingeneral.h (tui_make_window): Update. 6082 1.1 christos * tui/tui-wingeneral.c (tui_make_window): Remove "box_it" 6083 1.1 christos parameter. 6084 1.1 christos (tui_gen_win_info::make_visible): Update. 6085 1.1 christos * tui/tui-regs.c (tui_data_window::display_registers_from): 6086 1.1 christos Update. 6087 1.1 christos * tui/tui-layout.c (show_source_disasm_command) 6088 1.1 christos (show_source_or_disasm_and_command): Update. 6089 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <can_box>: New method. 6090 1.1 christos (enum tui_box): Remove. 6091 1.1 christos (struct tui_win_info) <can_box>: New method. 6092 1.1 christos * tui/tui-command.h (struct tui_cmd_window) <can_box>: New 6093 1.1 christos method. 6094 1.1 christos 6095 1.1 christos 2019-08-15 Tom de Vries <tdevries (a] suse.de> 6096 1.1 christos 6097 1.1 christos * linux-nat-trad.c: Include gdbarch.h. 6098 1.1 christos 6099 1.1 christos 2019-08-14 Alan Hayward <alan.hayward (a] arm.com> 6100 1.1 christos 6101 1.1 christos * aarch64-tdep.c (aarch64_analyze_prologue): Allow any valid 6102 1.1 christos register sizes. 6103 1.1 christos 6104 1.1 christos 2019-08-14 Tom Tromey <tromey (a] adacore.com> 6105 1.1 christos 6106 1.1 christos * darwin-nat.c: Include gdbarch.h. 6107 1.1 christos * darwin-nat-info.c: Include gdbarch.h. 6108 1.1 christos 6109 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6110 1.1 christos 6111 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <last_visible_line>: 6112 1.1 christos Remove. 6113 1.1 christos * tui/tui-data.c (tui_initialize_static_data): Update. 6114 1.1 christos 6115 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6116 1.1 christos 6117 1.1 christos * tui/tui-winsource.h (struct tui_exec_info_window) 6118 1.1 christos <~tui_exec_info_window, maybe_allocate_content, get_content, 6119 1.1 christos m_content>: Remove. 6120 1.1 christos (struct tui_source_window_base) <set_exec_info_content, 6121 1.1 christos show_exec_info_content>: Don't declare. 6122 1.1 christos * tui/tui-winsource.c 6123 1.1 christos (tui_exec_info_window::maybe_allocate_content): Remove. 6124 1.1 christos (tui_source_window_base::update_exec_info): Rename from 6125 1.1 christos set_exec_info_content. 6126 1.1 christos (tui_source_window_base::show_exec_info_content) 6127 1.1 christos (tui_source_window_base::update_exec_info): Remove. 6128 1.1 christos 6129 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6130 1.1 christos 6131 1.1 christos * tui/tui-winsource.h (tui_clear_exec_info_content): Don't 6132 1.1 christos declare. 6133 1.1 christos * tui/tui-winsource.c (tui_update_source_window_as_is) 6134 1.1 christos (tui_update_source_windows_with_addr, tui_erase_source_content): 6135 1.1 christos Update. 6136 1.1 christos (tui_clear_exec_info_content): Remove. 6137 1.1 christos 6138 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6139 1.1 christos 6140 1.1 christos * tui/tui-winsource.h (tui_erase_exec_info_content): Don't 6141 1.1 christos declare. 6142 1.1 christos * tui/tui-winsource.c (tui_source_window_base::refresh_all): Don't 6143 1.1 christos call tui_erase_exec_info_content. 6144 1.1 christos (tui_clear_exec_info_content): Rename from 6145 1.1 christos tui_erase_exec_info_content. 6146 1.1 christos (tui_clear_exec_info_content): Delete. 6147 1.1 christos 6148 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6149 1.1 christos 6150 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 6151 1.1 christos <show_exec_info_content>: Declare. 6152 1.1 christos (tui_show_exec_info_content): Don't declare. 6153 1.1 christos * tui/tui-winsource.c 6154 1.1 christos (tui_source_window_base::show_exec_info_content): Rename from 6155 1.1 christos tui_show_exec_info_content. 6156 1.1 christos (tui_source_window_base::update_exec_info): Update. 6157 1.1 christos 6158 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6159 1.1 christos 6160 1.1 christos * tui/tui-data.h (enum tui_bp_flag, tui_bp_flags, struct tui_source_element) 6161 1.1 christos (TUI_BP_HIT_POS, TUI_BP_BREAK_POS, TUI_EXEC_POS) 6162 1.1 christos (TUI_EXECINFO_SIZE, tui_exec_info_content): Move ... 6163 1.1 christos * tui/tui-winsource.h (enum tui_bp_flag, tui_bp_flags, struct 6164 1.1 christos tui_source_element, TUI_BP_HIT_POS, TUI_BP_BREAK_POS) 6165 1.1 christos (TUI_EXEC_POS, TUI_EXECINFO_SIZE, tui_exec_info_content): 6166 1.1 christos ... here. 6167 1.1 christos 6168 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6169 1.1 christos 6170 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 6171 1.1 christos <update_exec_info>: Declare. 6172 1.1 christos (tui_update_exec_info): Don't declare. 6173 1.1 christos * tui/tui-winsource.c (tui_update_source_window_as_is) 6174 1.1 christos (tui_source_window_base::refresh_all) 6175 1.1 christos (tui_update_all_breakpoint_info): Update. 6176 1.1 christos (tui_source_window_base::update_exec_info): Rename from 6177 1.1 christos tui_update_exec_info. 6178 1.1 christos * tui/tui-stack.c (tui_show_frame_info): Update. 6179 1.1 christos 6180 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6181 1.1 christos 6182 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 6183 1.1 christos <set_exec_info_content>: Declare. 6184 1.1 christos (tui_set_exec_info_content): Don't declare. 6185 1.1 christos * tui/tui-winsource.c 6186 1.1 christos (tui_source_window_base::set_exec_info_content): Rename from 6187 1.1 christos tui_set_exec_info_content. 6188 1.1 christos (tui_update_exec_info): Update. 6189 1.1 christos 6190 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6191 1.1 christos 6192 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 6193 1.1 christos <show_source_content>: Declare. 6194 1.1 christos (tui_show_source_content): Don't declare. 6195 1.1 christos * tui/tui-winsource.c (tui_update_source_window_as_is): Update. 6196 1.1 christos (tui_source_window_base::show_source_content): Rename from 6197 1.1 christos tui_show_source_content. 6198 1.1 christos (tui_source_window_base::refresh_all): Update. 6199 1.1 christos * tui/tui-layout.c (show_source_disasm_command) 6200 1.1 christos (show_source_or_disasm_and_command): Update. 6201 1.1 christos 6202 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6203 1.1 christos 6204 1.1 christos * tui/tui-winsource.c (tui_erase_source_content) 6205 1.1 christos (tui_show_source_content, tui_source_window_base::refresh_all): 6206 1.1 christos Update. 6207 1.1 christos * tui/tui-wingeneral.h 6208 1.1 christos (tui_check_and_display_highlight_if_needed): Don't declare. 6209 1.1 christos * tui/tui-wingeneral.c 6210 1.1 christos (tui_win_info::check_and_display_highlight_if_needed): Rename from 6211 1.1 christos check_and_display_highlight_if_needed. 6212 1.1 christos * tui/tui-win.c (tui_rehighlight_all) 6213 1.1 christos (tui_win_info::make_visible_with_new_height): Update. 6214 1.1 christos * tui/tui-regs.c (tui_data_window::display_registers_from_line) 6215 1.1 christos (tui_data_window::erase_data_content) 6216 1.1 christos (tui_data_window::display_all_data): Update. 6217 1.1 christos * tui/tui-data.h (struct tui_win_info) 6218 1.1 christos <check_and_display_highlight_if_needed>: Declare. 6219 1.1 christos 6220 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6221 1.1 christos 6222 1.1 christos * tui/tui-win.c (tui_resize_all): Call 6223 1.1 christos tui_delete_invisible_windows. 6224 1.1 christos * tui/tui-layout.c (show_layout): Call 6225 1.1 christos tui_delete_invisible_windows. 6226 1.1 christos * tui/tui-data.h (tui_delete_invisible_windows): Declare. 6227 1.1 christos * tui/tui-data.c (tui_delete_invisible_windows): New function. 6228 1.1 christos 6229 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6230 1.1 christos 6231 1.1 christos * tui/tui-disasm.c (tui_show_disassem): Add assertion. Don't call 6232 1.1 christos tui_add_win_to_layout. 6233 1.1 christos 6234 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6235 1.1 christos 6236 1.1 christos * tui/tui-layout.h (tui_default_win_height): Don't declare. 6237 1.1 christos * tui/tui-layout.c (tui_default_win_height): Now static. 6238 1.1 christos 6239 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6240 1.1 christos 6241 1.1 christos * tui/tui-layout.c (show_layout): Unify all layout cases into a 6242 1.1 christos single switch. 6243 1.1 christos (show_source_disasm_command, show_source_or_disasm_and_command): 6244 1.1 christos Don't check current layout. 6245 1.1 christos 6246 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6247 1.1 christos 6248 1.1 christos * tui/tui-wingeneral.c (make_all_visible): Remove. 6249 1.1 christos (tui_make_all_invisible): Simplify. 6250 1.1 christos * tui/tui-layout.c (tui_make_all_invisible): Move from 6251 1.1 christos tui-wingeneral.c; simplify. 6252 1.1 christos (show_layout): Hoist call to tui_make_all_invisible. 6253 1.1 christos (show_data): Don't call tui_make_all_invisible. 6254 1.1 christos 6255 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6256 1.1 christos 6257 1.1 christos * tui/tui-wingeneral.h (tui_make_all_visible): Don't declare. 6258 1.1 christos * tui/tui-wingeneral.c (tui_make_all_visible): Remove. 6259 1.1 christos 6260 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6261 1.1 christos 6262 1.1 christos * tui/tui-layout.c (current_layout, tui_current_layout): Move from 6263 1.1 christos tui-data.c. 6264 1.1 christos (show_source_disasm_command, show_data) 6265 1.1 christos (show_source_or_disasm_and_command): Don't use 6266 1.1 christos tui_set_current_layout_to. 6267 1.1 christos * tui/tui-data.h (tui_set_current_layout_to): Don't declare. 6268 1.1 christos * tui/tui-data.c (current_layout, tui_current_layout): Move to 6269 1.1 christos tui-layout.c. 6270 1.1 christos (tui_set_current_layout_to): Remove. 6271 1.1 christos 6272 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6273 1.1 christos 6274 1.1 christos * tui/tui-layout.c (tui_set_layout): Update. 6275 1.1 christos * tui/tui-data.h (struct tui_layout_def): Remove. 6276 1.1 christos (tui_layout_def): Don't declare. 6277 1.1 christos * tui/tui-data.c (layout_def): Remove. 6278 1.1 christos (tui_layout_def): Remove. 6279 1.1 christos 6280 1.1 christos 2019-08-13 Tom Tromey <tom (a] tromey.com> 6281 1.1 christos 6282 1.1 christos * tui/tui-winsource.h (struct tui_source_window_base) 6283 1.1 christos <clear_detail>: No longer "override". 6284 1.1 christos * tui/tui-regs.h (struct tui_data_window) <clear_detail>: Remove. 6285 1.1 christos * tui/tui-regs.c (tui_data_window::clear_detail): Remove. 6286 1.1 christos * tui/tui-data.h (struct tui_win_info) <clear_detail>: Remove. 6287 1.1 christos * tui/tui-command.h (struct tui_cmd_window) <clear_detail>: 6288 1.1 christos Remove. 6289 1.1 christos * tui/tui-command.c (tui_cmd_window::clear_detail): Remove. 6290 1.1 christos 6291 1.1 christos 2019-08-13 Tom Tromey <tromey (a] adacore.com> 6292 1.1 christos 6293 1.1 christos * tracepoint.c: Don't include readline.h or history.h. 6294 1.1 christos 6295 1.1 christos 2019-08-12 Tom Tromey <tom (a] tromey.com> 6296 1.1 christos 6297 1.1 christos * configure: Rebuild. 6298 1.1 christos * configure.ac: Check for readline 7. 6299 1.1 christos * NEWS: Mention readline 7 requirement. 6300 1.1 christos * README: Update. 6301 1.1 christos 6302 1.1 christos 2019-08-12 Tom Tromey <tom (a] tromey.com> 6303 1.1 christos 6304 1.1 christos * mingw-hdep.c (gdb_select): Remove readline hack. 6305 1.1 christos 6306 1.1 christos 2019-08-09 Pedro Franco de Carvalho <pedromfc (a] linux.ibm.com> 6307 1.1 christos 6308 1.1 christos * blockframe.c (find_pc_partial_function): Set *block to nullptr 6309 1.1 christos when the function fails. 6310 1.1 christos 6311 1.1 christos 2019-08-09 Andreas Arnez <arnez (a] linux.ibm.com> 6312 1.1 christos 6313 1.1 christos * s390-tdep.c (s390_type_align): New function. 6314 1.1 christos (s390_gdbarch_init): Set it as type_align gdbarch method. 6315 1.1 christos 6316 1.1 christos 2019-08-09 Tom de Vries <tdevries (a] suse.de> 6317 1.1 christos 6318 1.1 christos PR gdb/24591 6319 1.1 christos * dwarf2read.c (dwarf2_fetch_die_loc_sect_off): Adjust pc_high and 6320 1.1 christos pc_low with relocation offset. 6321 1.1 christos 6322 1.1 christos 2019-08-07 Tom Tromey <tromey (a] adacore.com> 6323 1.1 christos 6324 1.1 christos * stack.c (print_frame_arg, read_frame_local, read_frame_arg) 6325 1.1 christos (print_frame_args): Update. 6326 1.1 christos * python/py-framefilter.c (py_print_single_arg, enumerate_args): 6327 1.1 christos Update. 6328 1.1 christos * mi/mi-cmd-stack.c (list_arg_or_local): Update. 6329 1.1 christos * frame.h (struct frame_arg): Add initializers. 6330 1.1 christos <error>: Now a unique_xmalloc_ptr. 6331 1.1 christos 6332 1.1 christos 2019-08-07 Alan Hayward <alan.hayward (a] arm.com> 6333 1.1 christos 6334 1.1 christos * NEWS: Expand the Pointer Authentication entry. 6335 1.1 christos * aarch64-tdep.c (aarch64_frame_unmask_address): Rename from this. 6336 1.1 christos (aarch64_frame_unmask_lr): ... to this. 6337 1.1 christos (aarch64_prologue_prev_register, aarch64_dwarf2_prev_register): 6338 1.1 christos Call aarch64_frame_unmask_lr. 6339 1.1 christos * frame.c (struct frame_info): Add "masked" variable. 6340 1.1 christos (frame_set_previous_pc_masked) (frame_get_pc_masked): New functions. 6341 1.1 christos (fprint_frame): Check for masked pc. 6342 1.1 christos * frame.h (frame_set_previous_pc_masked) (frame_get_pc_masked): New 6343 1.1 christos declarations. 6344 1.1 christos * python/py-framefilter.c (py_print_frame): Check for masked pc. 6345 1.1 christos * stack.c (print_frame): Check for masked pc. 6346 1.1 christos 6347 1.1 christos 2019-08-06 Tom Tromey <tom (a] tromey.com> 6348 1.1 christos 6349 1.1 christos * stabsread.c (patch_block_stabs, read_one_struct_field) 6350 1.1 christos (read_enum_type): Use obstack_strndup. 6351 1.1 christos * rust-exp.y (rust_parser::copy_name): Use obstack_strndup. 6352 1.1 christos * gdb_obstack.h (obstack_strndup): Use obstack_strndup. 6353 1.1 christos * dwarf2read.c (guess_full_die_structure_name) 6354 1.1 christos (anonymous_struct_prefix): Use obstack_strndup. 6355 1.1 christos * dbxread.c (cp_set_block_scope): Use obstack_strndup. 6356 1.1 christos * c-exp.y (yylex): Use obstack_strndup. 6357 1.1 christos * ada-exp.y (write_object_renaming, write_ambiguous_var) 6358 1.1 christos (write_var_or_type): Use obstack_strndup. 6359 1.1 christos 6360 1.1 christos 2019-08-06 Tom Tromey <tom (a] tromey.com> 6361 1.1 christos 6362 1.1 christos * symfile.c (reread_symbols): Use obstack_strdup. 6363 1.1 christos * stabsread.c (read_type): Use obstack_strdup. 6364 1.1 christos * gdb_obstack.h (obstack_strdup): New overload. 6365 1.1 christos * dwarf2read.c (dwarf2_compute_name, create_dwo_unit_in_dwp_v1) 6366 1.1 christos (create_dwo_unit_in_dwp_v2, build_error_marker_type) 6367 1.1 christos (dwarf2_canonicalize_name): Use obstack_strdup. 6368 1.1 christos * dbxread.c (read_dbx_symtab): Use obstack_strdup. 6369 1.1 christos * cp-support.c (inspect_type, replace_typedefs_qualified_name): 6370 1.1 christos Use obstack_strdup. 6371 1.1 christos 6372 1.1 christos 2019-08-06 Tom Tromey <tom (a] tromey.com> 6373 1.1 christos 6374 1.1 christos * gdb_obstack.h (obstack_strdup): Define. 6375 1.1 christos * gdb_obstack.c (obstack_strdup): Don't define. 6376 1.1 christos 6377 1.1 christos 2019-08-06 Tom Tromey <tom (a] tromey.com> 6378 1.1 christos 6379 1.1 christos * xcoffread.c (SYMNAME_ALLOC, process_xcoff_symbol): Use 6380 1.1 christos obstack_strdup. 6381 1.1 christos * typeprint.c (typedef_hash_table::find_global_typedef): Use 6382 1.1 christos obstack_strdup. 6383 1.1 christos * symfile.c (allocate_compunit_symtab): Use obstack_strdup. 6384 1.1 christos * stabsread.c (common_block_start): Use obstack_strdup. 6385 1.1 christos * objfiles.c (set_objfile_main_name, objfile): Use 6386 1.1 christos obstack_strdup. 6387 1.1 christos * namespace.c (add_using_directive): Use obstack_strdup. 6388 1.1 christos * mdebugread.c (parse_symbol, parse_type): Use obstack_strdup. 6389 1.1 christos * jit.c (finalize_symtab): Use obstack_strdup. 6390 1.1 christos * dwarf2read.c (fixup_go_packaging, dwarf2_physname) 6391 1.1 christos (guess_partial_die_structure_name, partial_die_info::fixup) 6392 1.1 christos (dwarf2_name): Use obstack_strdup. 6393 1.1 christos * coffread.c (coff_read_struct_type, coff_read_enum_type): Use 6394 1.1 christos obstack_strdup. 6395 1.1 christos * c-exp.y (scan_macro_expansion): Use obstack_strdup. 6396 1.1 christos * buildsym.c (buildsym_compunit::end_symtab_with_blockvector): Use 6397 1.1 christos obstack_strdup. 6398 1.1 christos * ada-lang.c (ada_decode_symbol): Use obstack_strdup. 6399 1.1 christos 6400 1.1 christos 2019-08-07 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 6401 1.1 christos 6402 1.1 christos * unittests/help-doc-selftests.c: New file. 6403 1.1 christos * Makefile.in: Add the new file. 6404 1.1 christos 6405 1.1 christos 2019-08-07 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 6406 1.1 christos 6407 1.1 christos * cli/cli-decode.h (print_doc_line): Add for_value_prefix argument. 6408 1.1 christos * cli/cli-decode.c (print_doc_line): Likewise. It now prints 6409 1.1 christos the full first line, except when FOR_VALUE_PREFIX. In this case, 6410 1.1 christos the trailing '.' is not output, and the first character is uppercased. 6411 1.1 christos (print_help_for_command): Update call to print_doc_line. 6412 1.1 christos (print_doc_of_command): Likewise. 6413 1.1 christos * cli/cli-setshow.c (deprecated_show_value_hack): Likewise. 6414 1.1 christos * cli/cli-option.c (append_indented_doc): Do not append newline. 6415 1.1 christos (build_help_option): Append newline after first appended_indented_doc 6416 1.1 christos only if a second call is done. 6417 1.1 christos (build_help): Append 2 new lines before each option, except the first 6418 1.1 christos one. 6419 1.1 christos * compile/compile.c (_initialize_compile): Add new lines after 6420 1.1 christos %OPTIONS%, when not at the end of the help. 6421 1.1 christos Change help doc or code 6422 1.1 christos producing the help doc to respect the invariants. 6423 1.1 christos * maint-test-options.c (_initialize_maint_test_options): Likewise. 6424 1.1 christos Also removed the new line after 'Options:', as all other commands 6425 1.1 christos do not put an empty line between 'Options:' and the first option. 6426 1.1 christos * printcmd.c (_initialize_printcmd): Likewise. 6427 1.1 christos * stack.c (_initialize_stack): Likewise. 6428 1.1 christos * interps.c (interpreter_exec_cmd): Fix "Usage:" line that was 6429 1.1 christos incorrectly telling COMMAND is optional. 6430 1.1 christos * ada-lang.c (_initialize_ada_language): Change help doc or code 6431 1.1 christos producing the help doc to respect the invariants. 6432 1.1 christos * ada-tasks.c (_initialize_ada_tasks): Likewise. 6433 1.1 christos * breakpoint.c (_initialize_breakpoint): Likewise. 6434 1.1 christos * cli/cli-cmds.c (_initialize_cli_cmds): Likewise. 6435 1.1 christos * cli/cli-logging.c (_initialize_cli_logging): Likewise. 6436 1.1 christos * cli/cli-setshow.c (_initialize_cli_setshow): Likewise. 6437 1.1 christos * cli/cli-style.c (cli_style_option::add_setshow_commands, 6438 1.1 christos _initialize_cli_style): Likewise. 6439 1.1 christos * corelow.c (core_target_info): Likewise. 6440 1.1 christos * dwarf-index-cache.c (_initialize_index_cache): Likewise. 6441 1.1 christos * dwarf2read.c (_initialize_dwarf2_read): Likewise. 6442 1.1 christos * filesystem.c (_initialize_filesystem): Likewise. 6443 1.1 christos * frame.c (_initialize_frame): Likewise. 6444 1.1 christos * gnu-nat.c (add_task_commands): Likewise. 6445 1.1 christos * infcall.c (_initialize_infcall): Likewise. 6446 1.1 christos * infcmd.c (_initialize_infcmd): Likewise. 6447 1.1 christos * interps.c (_initialize_interpreter): Likewise. 6448 1.1 christos * language.c (_initialize_language): Likewise. 6449 1.1 christos * linux-fork.c (_initialize_linux_fork): Likewise. 6450 1.1 christos * maint-test-settings.c (_initialize_maint_test_settings): Likewise. 6451 1.1 christos * maint.c (_initialize_maint_cmds): Likewise. 6452 1.1 christos * memattr.c (_initialize_mem): Likewise. 6453 1.1 christos * printcmd.c (_initialize_printcmd): Likewise. 6454 1.1 christos * python/lib/gdb/function/strfns.py (_MemEq, _StrLen, _StrEq, 6455 1.1 christos _RegEx): Likewise. 6456 1.1 christos * ravenscar-thread.c (_initialize_ravenscar): Likewise. 6457 1.1 christos * record-btrace.c (_initialize_record_btrace): Likewise. 6458 1.1 christos * record-full.c (_initialize_record_full): Likewise. 6459 1.1 christos * record.c (_initialize_record): Likewise. 6460 1.1 christos * regcache-dump.c (_initialize_regcache_dump): Likewise. 6461 1.1 christos * regcache.c (_initialize_regcache): Likewise. 6462 1.1 christos * remote.c (add_packet_config_cmd, init_remote_threadtests, 6463 1.1 christos _initialize_remote): Likewise. 6464 1.1 christos * ser-tcp.c (_initialize_ser_tcp): Likewise. 6465 1.1 christos * serial.c (_initialize_serial): Likewise. 6466 1.1 christos * skip.c (_initialize_step_skip): Likewise. 6467 1.1 christos * source.c (_initialize_source): Likewise. 6468 1.1 christos * stack.c (_initialize_stack): Likewise. 6469 1.1 christos * symfile.c (_initialize_symfile): Likewise. 6470 1.1 christos * symtab.c (_initialize_symtab): Likewise. 6471 1.1 christos * target-descriptions.c (_initialize_target_descriptions): Likewise. 6472 1.1 christos * top.c (init_main): Likewise. 6473 1.1 christos * tracefile-tfile.c (tfile_target_info): Likewise. 6474 1.1 christos * tracepoint.c (_initialize_tracepoint): Likewise. 6475 1.1 christos * tui/tui-win.c (_initialize_tui_win): Likewise. 6476 1.1 christos * utils.c (add_internal_problem_command): Likewise. 6477 1.1 christos * valprint.c (value_print_option_defs): Likewise. 6478 1.1 christos 6479 1.1 christos 2019-08-06 Frank Ch. Eigler <fche (a] redhat.com> 6480 1.1 christos 6481 1.1 christos PR build/24886 6482 1.1 christos * configure.ac: Drop enable-libmcheck support. 6483 1.1 christos * configure, config.in: Rebuild. 6484 1.1 christos * libmcheck.m4: Remove. 6485 1.1 christos * acinclude.m4: Don't include it. 6486 1.1 christos * Makefile.in: Don't distribute it. 6487 1.1 christos * top.c (print_gdb_configuration): Don't mention it. 6488 1.1 christos 6489 1.1 christos 2019-08-06 Tom Tromey <tom (a] tromey.com> 6490 1.1 christos 6491 1.1 christos * utils.c (set_output_style): Sometimes pass stream to 6492 1.1 christos emit_style_escape. 6493 1.1 christos * ui-out.h (class ui_out) <can_emit_style_escape>: Declare. 6494 1.1 christos * record-btrace.c (btrace_insn_history): Update. 6495 1.1 christos * mi/mi-out.h (class mi_ui_out) <can_emit_style_escape>: New 6496 1.1 christos method. 6497 1.1 christos * disasm.h (gdb_pretty_print_disassembler): Add uiout parameter. 6498 1.1 christos Update initializers. 6499 1.1 christos <m_uiout>: New field. 6500 1.1 christos <m_di>: Move lower. 6501 1.1 christos * disasm.c (gdb_pretty_print_disassembler::pretty_print_insn): 6502 1.1 christos Remove "uiout" parameter. 6503 1.1 christos (dump_insns): Update. 6504 1.1 christos * cli-out.h (class cli_ui_out) <can_emit_style_escape>: Declare. 6505 1.1 christos * cli-out.c (cli_ui_out::can_emit_style_escape): New method. 6506 1.1 christos 6507 1.1 christos 2019-08-06 Christian Biesinger <cbiesinger (a] google.com> 6508 1.1 christos 6509 1.1 christos * symtab.c (symbol_cache_lookup): Change int to enum block_enum. 6510 1.1 christos (error_in_psymtab_expansion): Likewise. 6511 1.1 christos (lookup_symbol_via_quick_fns): Likewise. 6512 1.1 christos (basic_lookup_transparent_type_quick): Likewise. 6513 1.1 christos (basic_lookup_transparent_type_1): Likewise. 6514 1.1 christos 6515 1.1 christos 2019-08-06 Tom Tromey <tromey (a] adacore.com> 6516 1.1 christos 6517 1.1 christos * source.c (last_source_error): Now bool. 6518 1.1 christos (print_source_lines_base): Make "noprint" bool. Only open 6519 1.1 christos source file when last_source_visited changes. 6520 1.1 christos 6521 1.1 christos 2019-08-06 Tom Tromey <tromey (a] adacore.com> 6522 1.1 christos 6523 1.1 christos * annotate.c (annotate_source_line): Use g_source_cache. 6524 1.1 christos * source-cache.c (source_cache::get_plain_source_lines): Change 6525 1.1 christos parameters. Populate m_offset_cache. 6526 1.1 christos (source_cache::ensure): New method. 6527 1.1 christos (source_cache::get_line_charpos): New method. 6528 1.1 christos (extract_lines): Move lower. Change parameters. 6529 1.1 christos (source_cache::get_source_lines): Move lower. 6530 1.1 christos * source-cache.h (class source_cache): Update comment. 6531 1.1 christos <get_line_charpos>: New method. 6532 1.1 christos <get_source_lines>: Update comment. 6533 1.1 christos <clear>: Clear m_offset_cache. 6534 1.1 christos <get_plain_source_lines>: Change parameters. 6535 1.1 christos <ensure>: New method 6536 1.1 christos <m_offset_cache>: New member. 6537 1.1 christos * source.c (forget_cached_source_info_for_objfile): Update. 6538 1.1 christos (info_source_command): Use g_source_cache. 6539 1.1 christos (find_source_lines, open_source_file_with_line_charpos): Remove. 6540 1.1 christos (print_source_lines_base, search_command_helper): Use g_source_cache. 6541 1.1 christos * source.h (open_source_file_with_line_charpos): Don't declare. 6542 1.1 christos * symtab.h (struct symtab) <nlines, line_charpos>: Remove. 6543 1.1 christos * tui/tui-source.c (tui_source_window::do_scroll_vertical): 6544 1.1 christos Use g_source_cache. 6545 1.1 christos 6546 1.1 christos 2019-08-06 Tom Tromey <tromey (a] adacore.com> 6547 1.1 christos 6548 1.1 christos * source-cache.c (source_cache::get_plain_source_lines): 6549 1.1 christos Remove "first_line" and "last_line" parameters. 6550 1.1 christos (source_cache::get_source_lines): Cache plain text. 6551 1.1 christos * source-cache.h (class source_cache) 6552 1.1 christos <get_plain_source_lines>: Update. 6553 1.1 christos 6554 1.1 christos 2019-08-06 Tom Tromey <tromey (a] adacore.com> 6555 1.1 christos 6556 1.1 christos * source-cache.c (extract_lines): No longer a method. 6557 1.1 christos Changed type of parameter. Include final newline. 6558 1.1 christos (selftests::extract_lines_test): New function. 6559 1.1 christos (_initialize_source_cache): Likewise. 6560 1.1 christos * source-cache.h (class source_cache) 6561 1.1 christos <extract_lines>: Don't declare. 6562 1.1 christos 6563 1.1 christos 2019-08-06 Tom Tromey <tromey (a] adacore.com> 6564 1.1 christos 6565 1.1 christos * breakpoint.c (init_breakpoint_sal): Update. 6566 1.1 christos (breakpoint): Update. 6567 1.1 christos * breakpoint.h (struct breakpoint) <filter>: Now a 6568 1.1 christos unique_xmalloc_ptr. 6569 1.1 christos 6570 1.1 christos 2019-08-05 Christian Biesinger <cbiesinger (a] google.com> 6571 1.1 christos 6572 1.1 christos * NEWS: Mention dictionary access on blocks. 6573 1.1 christos * python/py-block.c (blpy_getitem): New function. 6574 1.1 christos (block_object_as_mapping): New struct. 6575 1.1 christos (block_object_type): Use new struct for tp_as_mapping field. 6576 1.1 christos 6577 1.1 christos 2019-08-05 Christian Biesinger <cbiesinger (a] google.com> 6578 1.1 christos 6579 1.1 christos * objfiles.h (objfile): Add a comment describing partial symbols. 6580 1.1 christos 6581 1.1 christos 2019-08-05 Tom Tromey <tromey (a] adacore.com> 6582 1.1 christos 6583 1.1 christos * compile/compile.c (_initialize_compile): Use _(), not N_(). 6584 1.1 christos * thread.c (_initialize_thread): Use _(), not N_(). 6585 1.1 christos * stack.c (_initialize_stack): Use _(), not N_(). 6586 1.1 christos * printcmd.c (_initialize_printcmd): Use _(), not N_(). 6587 1.1 christos 6588 1.1 christos 2019-08-04 Simon Marchi <simon.marchi (a] polymtl.ca> 6589 1.1 christos 6590 1.1 christos * dwarf2read.c (struct dw2_symtab_iterator): 6591 1.1 christos <want_specific_block>: Remove. 6592 1.1 christos <block_index>: Change type to gdb::optional. 6593 1.1 christos (dw2_symtab_iter_init): Remove WANT_SPECIFIC_BLOCK parameter, 6594 1.1 christos change type of BLOCK_INDEX parameter to gdb::optional. 6595 1.1 christos (dw2_symtab_iter_next): Re-write in function of gdb::optional. 6596 1.1 christos (dw2_lookup_symbol): Don't pass argument for 6597 1.1 christos WANT_SPECIFIC_BLOCK. 6598 1.1 christos (dw2_expand_symtabs_for_function): Don't pass argument for 6599 1.1 christos WANT_SPECIFIC_BLOCK, pass empty optional for BLOCK_INDEX. 6600 1.1 christos (class dw2_debug_names_iterator) 6601 1.1 christos <dw2_debug_names_iterator>: Remove WANT_SPECIFIC_BLOCK 6602 1.1 christos parameter, change BLOCK_INDEX type to gdb::optional. 6603 1.1 christos <m_want_specific_block>: Remove. 6604 1.1 christos <m_block_index>: Change type to gdb::optional. 6605 1.1 christos (dw2_debug_names_iterator::next): Change type of IS_STATIC to 6606 1.1 christos gdb::optional. Re-write in function of gdb::optional. 6607 1.1 christos (dw2_debug_names_lookup_symbol): Don't pass argument for 6608 1.1 christos WANT_SPECIFIC_BLOCK. 6609 1.1 christos (dw2_debug_names_expand_symtabs_for_function): Don't pass 6610 1.1 christos argument for WANT_SPECIFIC_BLOCK, pass empty optional for 6611 1.1 christos BLOCK_INDEX. 6612 1.1 christos 6613 1.1 christos 2019-08-03 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 6614 1.1 christos 6615 1.1 christos * NEWS: Mention changes to "info sources" command. 6616 1.1 christos 6617 1.1 christos 2019-08-03 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 6618 1.1 christos 6619 1.1 christos * symtab.c (filename_partial_match_opts): New struct type. 6620 1.1 christos (struct output_source_filename_data): New members 6621 1.1 christos regexp, c_regexp, partial_match. 6622 1.1 christos (output_source_filename): Use new members to decide to print file. 6623 1.1 christos (info_sources_option_defs): New variable. 6624 1.1 christos (make_info_sources_options_def_group, print_info_sources_header, 6625 1.1 christos info_sources_command_completer): 6626 1.1 christos New functions. 6627 1.1 christos (info_sources_command): Read new optional arguments. 6628 1.1 christos (_initialize_symtab): Update info sources help. 6629 1.1 christos 6630 1.1 christos 2019-08-02 Alexandre Oliva <oliva (a] adacore.com> 6631 1.1 christos 6632 1.1 christos * ada-lang.c (exception_support_info_v0): Renamed from... 6633 1.1 christos (default_exception_support_info): ... this. Create new 6634 1.1 christos definition for v1. 6635 1.1 christos (ada_has_this_exception_support): Look up catch_handlers_sym. 6636 1.1 christos (ada_exception_support_info_sniffer): Try v0 after default. 6637 1.1 christos 6638 1.1 christos 2019-08-01 Tom Tromey <tromey (a] adacore.com> 6639 1.1 christos 6640 1.1 christos * ia64-libunwind-tdep.h (struct libunwind_descr): Include 6641 1.1 christos gdbarch.h. 6642 1.1 christos 6643 1.1 christos 2019-08-01 Christian Biesinger <cbiesinger (a] google.com> 6644 1.1 christos 6645 1.1 christos * s12z-tdep.c: Fix include path for s12z-opc.h. 6646 1.1 christos 6647 1.1 christos 2019-08-01 Alan Hayward <alan.hayward (a] arm.com> 6648 1.1 christos 6649 1.1 christos * NEWS: Require GNU make 3.82. 6650 1.1 christos 6651 1.1 christos 2019-07-16 Tom Tromey <tom (a] tromey.com> 6652 1.1 christos 6653 1.1 christos * tui/tui-wingeneral.h (tui_copy_win, tui_box_win): Don't 6654 1.1 christos declare. 6655 1.1 christos 6656 1.1 christos 2019-07-30 Tom Tromey <tromey (a] adacore.com> 6657 1.1 christos 6658 1.1 christos * block.c (contained_in): Remove BLOCK_FUNCTION check. 6659 1.1 christos 6660 1.1 christos 2019-07-30 Kevin Buettner <kevinb (a] redhat.com> 6661 1.1 christos 6662 1.1 christos * printcmd.c (print_address_symbolic): Print negative offsets. 6663 1.1 christos (build_address_symbolic): Force signed arithmetic when computing 6664 1.1 christos offset. 6665 1.1 christos 6666 1.1 christos 2019-07-30 Christian Biesinger <cbiesinger (a] google.com> 6667 1.1 christos 6668 1.1 christos PR/24474: Add a function to lookup static variables. 6669 1.1 christos * NEWS: Mention this new function. 6670 1.1 christos * python/py-symbol.c (gdbpy_lookup_static_symbol): New function. 6671 1.1 christos * python/python-internal.h (gdbpy_lookup_static_symbol): New function. 6672 1.1 christos * python/python.c (python_GdbMethods): Add new function. 6673 1.1 christos 6674 1.1 christos 2019-07-29 Christian Biesinger <cbiesinger (a] google.com> 6675 1.1 christos 6676 1.1 christos * NEWS: Mention new functions Objfile.lookup_{global,static}_symbol. 6677 1.1 christos * python/py-objfile.c (objfpy_lookup_global_symbol): New function. 6678 1.1 christos (objfpy_lookup_static_symbol): New function. 6679 1.1 christos (objfile_object_methods): Add new functions. 6680 1.1 christos 6681 1.1 christos 2019-07-29 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 6682 1.1 christos 6683 1.1 christos * NEWS: Mention 'set|show print frame-info'. Mention new 6684 1.1 christos 'presence' value for 'frame-arguments'. Mention new '-frame-info' 6685 1.1 christos backtrace argument. Mention that python frame filtering code 6686 1.1 christos is now consistent with what 'backtrace' command prints. 6687 1.1 christos 6688 1.1 christos 2019-07-29 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 6689 1.1 christos 6690 1.1 christos * frame.h (enum print_what): New value 'SHORT_LOCATION', update 6691 1.1 christos comments. 6692 1.1 christos (print_frame_info_auto, print_frame_info_source_line, 6693 1.1 christos print_frame_info_location, print_frame_info_source_and_location, 6694 1.1 christos print_frame_info_location_and_address, print_frame_info_short_location): 6695 1.1 christos New declarations. 6696 1.1 christos (struct frame_print_options): New member print_frame_info. 6697 1.1 christos * extension.h (enum ext_lang_frame_args): New value CLI_PRESENCE. 6698 1.1 christos * stack.h (get_user_print_what_frame_info): New declaration. 6699 1.1 christos (frame_show_address): New declaration. 6700 1.1 christos * stack.c (print_frame_arguments_choices): New value 'presence'. 6701 1.1 christos (print_frame_info_auto, print_frame_info_source_line, 6702 1.1 christos print_frame_info_location, print_frame_info_source_and_location, 6703 1.1 christos print_frame_info_location_and_address, print_frame_info_short_location, 6704 1.1 christos print_frame_info_choices, print_frame_info_print_what): New definitions. 6705 1.1 christos (print_frame_args): Only print dots for args if print frame-arguments 6706 1.1 christos is 'presence'. 6707 1.1 christos (frame_print_option_defs): New element for "frame-info". 6708 1.1 christos (get_user_print_what_frame_info): New function. 6709 1.1 christos (frame_show_address): Make non static. Move comment to stack.h. 6710 1.1 christos (print_frame_info_to_print_what): New function. 6711 1.1 christos (print_frame_info): Update comment. Use fp_opts.print_frame_info 6712 1.1 christos to decide what to print. 6713 1.1 christos (backtrace_command_1): Handle the new print_frame_arguments_presence 6714 1.1 christos value. 6715 1.1 christos (_initialize_stack): Call add_setshow_enum_cmd for frame-info. 6716 1.1 christos * python/py-framefilter.c (py_print_args): Handle CLI_PRESENCE. 6717 1.1 christos (py_print_frame): In non-mi mode, use LOCATION as default for 6718 1.1 christos print_what, similarly to frame information printed directly by 6719 1.1 christos backtrace command. Handle frame-info user option in non MI mode. 6720 1.1 christos 6721 1.1 christos 2019-07-27 Kevin Buettner <kevinb (a] redhat.com> 6722 1.1 christos 6723 1.1 christos * linux-thread-db.c (thread_db_target::thread_handle_to_thread_info): 6724 1.1 christos Add case for debugging 32-bit target on 64-bit host. Revise 6725 1.1 christos comment. 6726 1.1 christos 6727 1.1 christos 2019-07-27 Kevin Buettner <kevinb (a] redhat.com> 6728 1.1 christos 6729 1.1 christos * infrun.c (fill_in_stop_func): Use find_pc_partial_function 6730 1.1 christos instead of find_function_entry_range_from_pc. 6731 1.1 christos 6732 1.1 christos 2019-07-27 Kevin Buettner <kevinb (a] redhat.com> 6733 1.1 christos 6734 1.1 christos * stack.c (find_frame_funname): Remove code which preferred 6735 1.1 christos minsym over symtab sym in "certain pathological cases". 6736 1.1 christos 6737 1.1 christos * valprint.h (build_address_symbolic): Add "prefer_sym_over_minsym" 6738 1.1 christos parameter. Change type of "do_demangle" to bool. 6739 1.1 christos * disasm.c (gdb_pretty_print_disassembler::pretty_print_insn): 6740 1.1 christos Pass suitable "prefer_sym_over_minsym" flag to 6741 1.1 christos build_address_symbolic(). Don't output "+" for negative offsets. 6742 1.1 christos * printcmd.c (print_address_symbolic): Update invocation of 6743 1.1 christos build_address_symbolic to include a "prefer_sym_over_minsym" 6744 1.1 christos flag. 6745 1.1 christos (build_address_symbolic): Add "prefer_sym_over_minsym" parameter. 6746 1.1 christos Restrict cases in which use of minimal symbol is preferred to that 6747 1.1 christos of a found symbol. Update comments. 6748 1.1 christos 6749 1.1 christos * dwarf2-frame.c (dwarf2_frame_cache): Don't decode FDE instructions 6750 1.1 christos for entry pc when entry pc is out of range for that FDE. 6751 1.1 christos 6752 1.1 christos 2019-07-26 Brian Callahan <bcallah (a] openbsd.org> 6753 1.1 christos 6754 1.1 christos PR gdb/24839: 6755 1.1 christos * obsd-nat.c (obsd_nat_target::pid_to_str): Fix typo in return 6756 1.1 christos type. 6757 1.1 christos 6758 1.1 christos 2019-07-25 Christian Biesinger <cbiesinger (a] google.com> 6759 1.1 christos 6760 1.1 christos * python/py-objfile.c (add_separate_debug_file): Fix comment about 6761 1.1 christos this function's Python signature. 6762 1.1 christos 6763 1.1 christos 6764 1.1 christos 2019-07-24 Christian Biesinger <cbiesinger (a] google.com> 6765 1.1 christos 6766 1.1 christos * compile/compile-object-load.c (compile_object_load): Pass GLOBAL_SCOPE. 6767 1.1 christos * solib-spu.c (spu_lookup_lib_symbol): Pass GLOBAL_SCOPE. 6768 1.1 christos * solib-svr4.c (elf_lookup_lib_symbol): Pass GLOBAL_SCOPE. 6769 1.1 christos * symtab.c (lookup_global_symbol_from_objfile): Add a scope parameter. 6770 1.1 christos * symtab.h (lookup_global_symbol_from_objfile): Likewise. 6771 1.1 christos 6772 1.1 christos 6773 1.1 christos 2019-07-24 Yoshinori Sato <ysato (a] users.sourceforge.jp> 6774 1.1 christos 6775 1.1 christos * h8300-tdep.c (h8300_register_name_common): New. 6776 1.1 christos h8300_register_name): Use h8300_register_name_common. 6777 1.1 christos (h8300s_register_name): Likewise. 6778 1.1 christos (h8300sx_register_name): Likewise. 6779 1.1 christos (h8300h_register_nam): New. 6780 1.1 christos (h8300_gdbarch_init): Use h8300h_register_name in h8300h machine. 6781 1.1 christos 6782 1.1 christos 6783 1.1 christos 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni (a] arm.com> 6784 1.1 christos 6785 1.1 christos * arm-tdep.c (arm_skip_cmse_entry): New function. 6786 1.1 christos (arm_is_sgstubs_section): New function. 6787 1.1 christos (arm_skip_stub): Add call to arm_skip_cmse_entry function. 6788 1.1 christos 6789 1.1 christos 2019-07-22 Tom Tromey <tom (a] tromey.com> 6790 1.1 christos 6791 1.1 christos * tui/tui-win.c (tui_win_info::make_invisible_and_set_new_height): 6792 1.1 christos Don't self-assign. 6793 1.1 christos 6794 1.1 christos 2019-07-22 Andrew Burgess <andrew.burgess (a] embecosm.com> 6795 1.1 christos 6796 1.1 christos * c-typeprint.c (c_print_typedef): Pass -1 instead of 0 to 6797 1.1 christos type_print. 6798 1.1 christos 6799 1.1 christos 2019-07-22 Andrew Burgess <andrew.burgess (a] embecosm.com> 6800 1.1 christos 6801 1.1 christos * symtab.c (search_symbols): Adjust msymbol matching type arrays 6802 1.1 christos so that GDB doesn't match any msymbols when searching in the 6803 1.1 christos TYPES_DOMAIN. 6804 1.1 christos (print_symbol_info): Print using typedef_print or type_print based 6805 1.1 christos on the type of the symbol. Add updated FIXME comment moved from... 6806 1.1 christos (_initialize_symtab): ... move and update FIXME comment to above. 6807 1.1 christos 6808 1.1 christos 2019-07-22 Andrew Burgess <andrew.burgess (a] embecosm.com> 6809 1.1 christos 6810 1.1 christos * NEWS: Mention adding -q option to "info types". 6811 1.1 christos * symtab.c (struct info_types_options): New struct. 6812 1.1 christos (info_types_options_defs): New variable. 6813 1.1 christos (make_info_types_options_def_group): New function. 6814 1.1 christos (info_types_command): Use gdb::option framework to parse options. 6815 1.1 christos (info_types_command_completer): New function. 6816 1.1 christos (_initialize_symtab): Extend the help text on "info types" and 6817 1.1 christos register command completer. 6818 1.1 christos 6819 1.1 christos 2019-07-21 Christian Biesinger <cbiesinger (a] google.com> 6820 1.1 christos 6821 1.1 christos * symtab.c (lookup_symbol_in_objfile_symtabs): Change int to block_enum. 6822 1.1 christos (lookup_symbol_in_objfile): Change int to block_enum and add a 6823 1.1 christos gdb_assert to make sure block_index is GLOBAL_BLOCK or STATIC_BLOCK. 6824 1.1 christos 6825 1.1 christos 2019-07-20 Christian Biesinger <cbiesinger (a] google.com> 6826 1.1 christos 6827 1.1 christos * MAINTAINERS (Write After Approval): Add self. 6828 1.1 christos 6829 1.1 christos 2019-07-19 Andrew Burgess <andrew.burgess (a] embecosm.com> 6830 1.1 christos 6831 1.1 christos * riscv-tdep.c (riscv_push_dummy_code): Write a 4-byte nop 6832 1.1 christos instruction to the dummy code region. 6833 1.1 christos 6834 1.1 christos 2019-07-19 Tom Tromey <tromey (a] adacore.com> 6835 1.1 christos 6836 1.1 christos * contrib/ari/gdb_ari.sh: Mention C++11, not ISO C 90. 6837 1.1 christos (ARGSUSED, PARAMS, __func__): Remove rules. 6838 1.1 christos 6839 1.1 christos 2019-07-19 Alan Hayward <alan.hayward (a] arm.com> 6840 1.1 christos 6841 1.1 christos * arm-tdep.c (_initialize_arm_tdep): Remove xml tests. 6842 1.1 christos * features/arm/arm-with-iwmmxt.c: Remove. 6843 1.1 christos * features/arm/arm-with-iwmmxt.xml: Remove. 6844 1.1 christos * features/arm/arm-with-m-fpa-layout.c: Remove. 6845 1.1 christos * features/arm/arm-with-m-fpa-layout.xml: Remove. 6846 1.1 christos * features/arm/arm-with-m-vfp-d16.c: Remove. 6847 1.1 christos * features/arm/arm-with-m-vfp-d16.xml: Remove. 6848 1.1 christos * features/arm/arm-with-m.c: Remove. 6849 1.1 christos * features/arm/arm-with-m.xml: Remove. 6850 1.1 christos * features/arm/arm-with-neon.c: Remove. 6851 1.1 christos * features/arm/arm-with-neon.xml: Remove. 6852 1.1 christos * features/arm/arm-with-vfpv2.c: Remove. 6853 1.1 christos * features/arm/arm-with-vfpv2.xml: Remove. 6854 1.1 christos * features/arm/arm-with-vfpv3.c: Remove. 6855 1.1 christos * features/arm/arm-with-vfpv3.xml: Remove. 6856 1.1 christos 6857 1.1 christos 2019-07-19 Alan Hayward <alan.hayward (a] arm.com> 6858 1.1 christos 6859 1.1 christos * arm-tdep.c (_initialize_arm_tdep): Add xml regression tests. 6860 1.1 christos 6861 1.1 christos 2019-07-19 Alan Hayward <alan.hayward (a] arm.com> 6862 1.1 christos 6863 1.1 christos * arch/aarch32.c (aarch32_create_target_description): Create 6864 1.1 christos target descriptions using features. 6865 1.1 christos * arch/arm.c (arm_create_target_description) 6866 1.1 christos (arm_create_mprofile_target_description): Likewise. 6867 1.1 christos * arm-tdep.c (_initialize_arm_tdep): Remove tdesc init calls. 6868 1.1 christos 6869 1.1 christos 2019-07-19 Alan Hayward <alan.hayward (a] arm.com> 6870 1.1 christos 6871 1.1 christos * Makefile.in: Add new files. 6872 1.1 christos * aarch32-tdep.c: New file. 6873 1.1 christos * aarch32-tdep.h: New file. 6874 1.1 christos * aarch64-linux-nat.c (aarch64_linux_nat_target::read_description): 6875 1.1 christos Call aarch32_read_description. 6876 1.1 christos * arch/aarch32.c: New file. 6877 1.1 christos * arch/aarch32.h: New file. 6878 1.1 christos * arch/arm.c (arm_create_target_description) 6879 1.1 christos (arm_create_mprofile_target_description): New function. 6880 1.1 christos * arch/arm.h (arm_fp_type, arm_m_profile_type): New enum. 6881 1.1 christos (arm_create_target_description) 6882 1.1 christos (arm_create_mprofile_target_description): New declaration. 6883 1.1 christos * arm-fbsd-tdep.c (arm_fbsd_read_description_auxv): Call 6884 1.1 christos read_description functions. 6885 1.1 christos * arm-linux-nat.c (arm_linux_nat_target::read_description): 6886 1.1 christos Likewise. 6887 1.1 christos * arm-linux-tdep.c (arm_linux_core_read_description): Likewise. 6888 1.1 christos * arm-tdep.c (tdesc_arm_list): New variable. 6889 1.1 christos (arm_register_g_packet_guesses): Call create description functions. 6890 1.1 christos (arm_read_description) (arm_read_mprofile_description): New 6891 1.1 christos function. 6892 1.1 christos * arm-tdep.h (arm_read_description) 6893 1.1 christos (arm_read_mprofile_description): Add declaration. 6894 1.1 christos * configure.tgt: Add new files. 6895 1.1 christos 6896 1.1 christos 2019-07-18 Guillaume LABARTHE <guillaume.labarthe (a] gmail.com> 6897 1.1 christos 6898 1.1 christos * top.c (new_ui_command): Open specified terminal just once. 6899 1.1 christos 6900 1.1 christos 2019-07-18 Tom Tromey <tromey (a] adacore.com> 6901 1.1 christos 6902 1.1 christos * symtab.c (main_name): Constify return type. 6903 1.1 christos * symfile.c (set_initial_language): Update. 6904 1.1 christos * symtab.h (main_name): Constify return type. 6905 1.1 christos 6906 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 6907 1.1 christos 6908 1.1 christos * tui/tui-winsource.c (tui_update_source_window) 6909 1.1 christos (tui_update_source_window_as_is) 6910 1.1 christos (tui_update_source_windows_with_line): Remove return. 6911 1.1 christos * tui/tui-disasm.c (tui_show_disassem) 6912 1.1 christos (tui_show_disassem_and_update_source): Remove return. 6913 1.1 christos * tui/tui.c (tui_reset): Remove return. 6914 1.1 christos * tui/tui-wingeneral.c 6915 1.1 christos (tui_check_and_display_highlight_if_needed): Remove return. 6916 1.1 christos 6917 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 6918 1.1 christos 6919 1.1 christos * tui/tui-win.c (parse_scrolling_args): Throw separate errors. 6920 1.1 christos 6921 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 6922 1.1 christos 6923 1.1 christos * tui/tui-winsource.h (struct tui_exec_info_window) 6924 1.1 christos (struct tui_source_window_base): Move from tui-data.h. 6925 1.1 christos * tui/tui-winsource.c: Move many method definitions from 6926 1.1 christos elsewhere. Remove "structuring" comments. 6927 1.1 christos * tui/tui-wingeneral.c (tui_source_window_base::make_visible) 6928 1.1 christos (tui_source_window_base::refresh_window): Move to 6929 1.1 christos tui-winsource.c. 6930 1.1 christos * tui/tui-win.c (tui_source_window_base::refresh_all) 6931 1.1 christos (tui_source_window_base::update_tab_width) 6932 1.1 christos (tui_source_window_base::set_new_height) 6933 1.1 christos (tui_source_window_base::do_make_visible_with_new_height): Move to 6934 1.1 christos tui-winsource.c. 6935 1.1 christos * tui/tui-source.h: Update. 6936 1.1 christos * tui/tui-source.c (tui_source_window_base::reset): Move to 6937 1.1 christos tui-winsource.c. 6938 1.1 christos * tui/tui-disasm.h: Update. 6939 1.1 christos * tui/tui-data.h (struct tui_exec_info_window): Move to 6940 1.1 christos tui-winsource.h. 6941 1.1 christos (struct tui_source_window_base): Likewise. 6942 1.1 christos * tui/tui-data.c (tui_source_window_base::clear_detail) 6943 1.1 christos (tui_source_window_base, ~tui_source_window_base): Move to 6944 1.1 christos tui-winsource.c. 6945 1.1 christos 6946 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 6947 1.1 christos 6948 1.1 christos * tui/tui-win.c (tui_resize_all) 6949 1.1 christos (tui_source_window_base::update_tab_width) 6950 1.1 christos (tui_adjust_win_heights): Update. 6951 1.1 christos (tui_win_info::make_invisible_and_set_new_height): Rename from 6952 1.1 christos make_invisible_and_set_new_height. 6953 1.1 christos * tui/tui-data.h (struct tui_win_info) 6954 1.1 christos <make_invisible_and_set_new_height>: New method. 6955 1.1 christos 6956 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 6957 1.1 christos 6958 1.1 christos * tui/tui.c: Update. 6959 1.1 christos * tui/tui-source.h (struct tui_source_window): Move from 6960 1.1 christos tui-data.h. 6961 1.1 christos * tui/tui-layout.c: Update. 6962 1.1 christos * tui/tui-disasm.c: Update. 6963 1.1 christos * tui/tui-data.h (struct tui_source_window): Move to 6964 1.1 christos tui-source.h. 6965 1.1 christos 6966 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 6967 1.1 christos 6968 1.1 christos * tui/tui-disasm.h (struct tui_disasm_window): Move from 6969 1.1 christos tui-data.h. 6970 1.1 christos * tui/tui-data.h (struct tui_disasm_window): Move to 6971 1.1 christos tui-disasm.h. 6972 1.1 christos 6973 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 6974 1.1 christos 6975 1.1 christos * tui/tui-regs.h (struct tui_data_item_window): Move from 6976 1.1 christos tui-data.h. 6977 1.1 christos * tui/tui-regs.c (tui_data_item_window): Move from tui-data.c. 6978 1.1 christos * tui/tui-data.h (struct tui_data_item_window): Move to 6979 1.1 christos tui-regs.h. 6980 1.1 christos * tui/tui-data.c (~tui_data_item_window): Move to tui-regs.c. 6981 1.1 christos 6982 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 6983 1.1 christos 6984 1.1 christos * tui/tui.c: Update. 6985 1.1 christos * tui/tui-win.c (tui_cmd_window::do_make_visible_with_new_height) 6986 1.1 christos (tui_cmd_window::max_height): Move to tui-command.c. 6987 1.1 christos * tui/tui-layout.c: Update. 6988 1.1 christos * tui/tui-data.h (struct tui_cmd_window): Move to tui-command.h. 6989 1.1 christos * tui/tui-data.c (tui_cmd_window::clear_detail): Move to 6990 1.1 christos tui-command.c. 6991 1.1 christos * tui/tui-command.h (struct tui_cmd_window): Move from 6992 1.1 christos tui-data.h. 6993 1.1 christos * tui/tui-command.c: Remove "structuring" comments. 6994 1.1 christos (tui_cmd_window::clear_detail) 6995 1.1 christos (tui_cmd_window::do_make_visible_with_new_height) 6996 1.1 christos (tui_cmd_window::max_height): Move from elsewhere. 6997 1.1 christos 6998 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 6999 1.1 christos 7000 1.1 christos * tui/tui-io.c (tui_dispatch_ctrl_char): Move from tui-command.c. 7001 1.1 christos Now static. 7002 1.1 christos * tui/tui-command.h (tui_dispatch_ctrl_char): Don't declare. 7003 1.1 christos * tui/tui-command.c (tui_dispatch_ctrl_char): Move to tui-io.c. 7004 1.1 christos 7005 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7006 1.1 christos 7007 1.1 christos * tui/tui.c: Update. 7008 1.1 christos * tui/tui-wingeneral.c (tui_data_window::refresh_window): Move to 7009 1.1 christos tui-regs.c. 7010 1.1 christos * tui/tui-windata.h: Remove file. 7011 1.1 christos * tui/tui-windata.c: Remove file. 7012 1.1 christos * tui/tui-win.c (tui_data_window::set_new_height) 7013 1.1 christos (tui_data_window::do_make_visible_with_new_height): Move to 7014 1.1 christos tui-regs.c. 7015 1.1 christos * tui/tui-regs.h (struct tui_data_window): Move from tui-data.h. 7016 1.1 christos * tui/tui-regs.c: Remove "structuring" comments. 7017 1.1 christos (tui_data_window::first_data_item_displayed) 7018 1.1 christos (tui_data_window::delete_data_content_windows) 7019 1.1 christos (tui_data_window::erase_data_content) 7020 1.1 christos (tui_data_window::display_all_data) 7021 1.1 christos (tui_data_window::refresh_all) 7022 1.1 christos (tui_data_window::do_scroll_vertical) 7023 1.1 christos (tui_data_window::clear_detail, tui_data_window::set_new_height) 7024 1.1 christos (tui_data_window::do_make_visible_with_new_height) 7025 1.1 christos (tui_data_window::refresh_window): Move from elsewhere. 7026 1.1 christos (_initialize_tui_regs): Move to end of file. 7027 1.1 christos * tui/tui-layout.c: Update. 7028 1.1 christos * tui/tui-hooks.c: Update. 7029 1.1 christos * tui/tui-data.h (struct tui_data_window): Move to tui-regs.h. 7030 1.1 christos * tui/tui-data.c (tui_data_window::clear_detail): Move to 7031 1.1 christos tui-regs.c. 7032 1.1 christos * Makefile.in (SUBDIR_TUI_SRCS): Remove tui-windata.c. 7033 1.1 christos 7034 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7035 1.1 christos 7036 1.1 christos * tui/tui-io.c (tui_puts_internal): Call wrefresh if newline is 7037 1.1 christos seen. 7038 1.1 christos 7039 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7040 1.1 christos 7041 1.1 christos * tui/tui-win.c (tui_source_window_base::set_new_height) 7042 1.1 christos (tui_source_window_base::do_make_visible_with_new_height): Use 7043 1.1 christos m_has_locator field directly. 7044 1.1 christos * tui/tui-data.h (struct tui_win_info) <has_locator>: Remove 7045 1.1 christos method. 7046 1.1 christos (struct tui_source_window_base) <has_locator>: Likewise. 7047 1.1 christos 7048 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7049 1.1 christos 7050 1.1 christos * tui/tui-wingeneral.h (tui_make_visible, tui_make_invisible): 7051 1.1 christos Don't declare. 7052 1.1 christos * tui/tui-wingeneral.c (tui_make_visible, tui_make_invisible): 7053 1.1 christos Remove. 7054 1.1 christos * tui/tui-win.c (tui_source_window_base::set_new_height) 7055 1.1 christos (tui_source_window_base::set_new_height) 7056 1.1 christos (make_invisible_and_set_new_height) 7057 1.1 christos (tui_source_window_base::do_make_visible_with_new_height) 7058 1.1 christos (tui_source_window_base::do_make_visible_with_new_height): 7059 1.1 christos Update. 7060 1.1 christos * tui/tui-layout.c (show_source_disasm_command, show_data) 7061 1.1 christos (show_source_or_disasm_and_command): Update. 7062 1.1 christos * tui/tui-layout.c (show_layout): Update. 7063 1.1 christos 7064 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7065 1.1 christos 7066 1.1 christos * tui/tui-layout.c (make_data_window): Remove. 7067 1.1 christos (show_data): Unify creation and re-initialization cases. 7068 1.1 christos 7069 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7070 1.1 christos 7071 1.1 christos * tui/tui-layout.c (make_source_window, make_disasm_window): 7072 1.1 christos Remove. 7073 1.1 christos (show_data): Unify creation and re-initialization cases. 7074 1.1 christos 7075 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7076 1.1 christos 7077 1.1 christos * tui/tui-layout.c (make_command_window): Remove. 7078 1.1 christos (show_source_disasm_command, show_source_or_disasm_and_command): 7079 1.1 christos Unify creation and re-initialization cases. 7080 1.1 christos 7081 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7082 1.1 christos 7083 1.1 christos * tui/tui-layout.c (show_source_or_disasm_and_command): Unify 7084 1.1 christos creation and re-initialization cases. 7085 1.1 christos 7086 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7087 1.1 christos 7088 1.1 christos * tui/tui-regs.c (tui_get_register): Return void. 7089 1.1 christos 7090 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7091 1.1 christos 7092 1.1 christos * tui/tui-wingeneral.c (tui_gen_win_info::make_visible): 7093 1.1 christos Simplify. 7094 1.1 christos 7095 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7096 1.1 christos 7097 1.1 christos * tui/tui-layout.c (show_source_disasm_command): Simplify window 7098 1.1 christos resetting. 7099 1.1 christos 7100 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7101 1.1 christos 7102 1.1 christos * tui/tui.h (tui_set_layout_by_name): Don't declare. 7103 1.1 christos * tui/tui-regs.c (tui_reg_layout): New function. 7104 1.1 christos (tui_show_registers, tui_reg_command): Use it. 7105 1.1 christos * tui/tui-layout.c (LAYOUT_USAGE): Remove. 7106 1.1 christos (tui_layout_command): Rename from tui_set_layout_by_name. Change 7107 1.1 christos parameters. 7108 1.1 christos (tui_layout_command): Remove. 7109 1.1 christos 7110 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7111 1.1 christos 7112 1.1 christos * tui/tui-layout.h (tui/tui-layout): Return void. 7113 1.1 christos * tui/tui-layout.c (tui_set_layout): Return void. Add assert. 7114 1.1 christos 7115 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7116 1.1 christos 7117 1.1 christos * tui/tui-layout.c (show_source_disasm_command, show_data): 7118 1.1 christos Update. 7119 1.1 christos (reset_locator): Remove. 7120 1.1 christos (show_source_or_disasm_and_command): Update. 7121 1.1 christos 7122 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7123 1.1 christos 7124 1.1 christos * tui/tui-source.c (tui_source_window_base::reset): Remove 7125 1.1 christos win_type parameter. 7126 1.1 christos * tui/tui-layout.c (make_command_window, make_source_window) 7127 1.1 christos (make_disasm_window, make_data_window) 7128 1.1 christos (show_source_disasm_command, show_data, tui_gen_win_info::reset) 7129 1.1 christos (reset_locator, show_source_or_disasm_and_command): Update. 7130 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <reset>: Remove 7131 1.1 christos win_type parameter. 7132 1.1 christos (struct tui_source_window_base) <reset>: Likewise. 7133 1.1 christos 7134 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7135 1.1 christos 7136 1.1 christos * tui/tui-layout.c (show_source_disasm_command): Use 7137 1.1 christos reset_locator. 7138 1.1 christos (reset_locator): New function. 7139 1.1 christos (init_and_make_win): Remove. 7140 1.1 christos (show_source_or_disasm_and_command): Use reset_locator. 7141 1.1 christos 7142 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7143 1.1 christos 7144 1.1 christos * tui/tui-winsource.c (tui_set_exec_info_content): Remove 7145 1.1 christos condition. 7146 1.1 christos * tui/tui-wingeneral.c (tui_source_window_base::make_visible): 7147 1.1 christos Remove condition. 7148 1.1 christos * tui/tui-source.c (tui_source_window_base::reset): New method. 7149 1.1 christos * tui/tui-layout.c (make_command_window): Don't call 7150 1.1 christos init_and_make_win. 7151 1.1 christos (make_source_window, make_disasm_window): Don't call 7152 1.1 christos make_source_or_disasm_window. 7153 1.1 christos (make_data_window): Don't call init_and_make_win. Change calling 7154 1.1 christos convention. 7155 1.1 christos (show_source_disasm_command, show_data): Simplify. 7156 1.1 christos (make_source_or_disasm_window): Remove. 7157 1.1 christos (show_source_or_disasm_and_command): Simplify. 7158 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <reset>: Now virtual. 7159 1.1 christos (struct tui_source_window_base) <reset>: Likewise. 7160 1.1 christos <execution_info>: Remove initializer. 7161 1.1 christos * tui/tui-data.c (tui_source_window_base): Initialize 7162 1.1 christos execution_info. 7163 1.1 christos 7164 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7165 1.1 christos 7166 1.1 christos * tui/tui-layout.c (tui_set_layout): Remove regs_populate 7167 1.1 christos variable. 7168 1.1 christos 7169 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7170 1.1 christos 7171 1.1 christos * tui/tui.c (tui_rl_other_window): Update. 7172 1.1 christos * tui/tui-wingeneral.c (tui_data_window::refresh_window): Call 7173 1.1 christos superclass method first. Always iterate over regs_content. 7174 1.1 christos (tui_unhighlight_win, tui_highlight_win): Use refresh_window 7175 1.1 christos method. 7176 1.1 christos * tui/tui-win.c (tui_set_focus_command): Update. 7177 1.1 christos 7178 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7179 1.1 christos 7180 1.1 christos * tui/tui-win.c (tui_set_focus_command): Rename from 7181 1.1 christos tui_set_focus. Call tui_enable. 7182 1.1 christos (tui_set_focus_command): Remove. 7183 1.1 christos 7184 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7185 1.1 christos 7186 1.1 christos * tui/tui-winsource.c (tui_show_exec_info_content): Don't call 7187 1.1 christos refresh_window. 7188 1.1 christos * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Call 7189 1.1 christos touchwin. 7190 1.1 christos (tui_data_window::refresh_window): Call refresh_window on data 7191 1.1 christos items. Always call superclass refresh_window. 7192 1.1 christos (tui_win_info::refresh): Remove. 7193 1.1 christos (tui_source_window_base::refresh_window): Update. 7194 1.1 christos (tui_refresh_all): Update. 7195 1.1 christos * tui/tui-layout.c (show_source_disasm_command): Remove call to 7196 1.1 christos refresh_window. 7197 1.1 christos (show_source_or_disasm_and_command): Likewise. 7198 1.1 christos * tui/tui-data.h (struct tui_win_info) <refresh>: Remove. 7199 1.1 christos (struct tui_source_window_base) <refresh>: Likewise. 7200 1.1 christos 7201 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7202 1.1 christos 7203 1.1 christos * tui/tui-winsource.c (tui_clear_source_content) 7204 1.1 christos (tui_show_source_content): Update. 7205 1.1 christos * tui/tui-source.c (tui_source_window::showing_source_p): Check 7206 1.1 christos whether content is empty. 7207 1.1 christos * tui/tui-data.h (struct tui_source_window_base) <content_in_use>: 7208 1.1 christos Remove. 7209 1.1 christos 7210 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7211 1.1 christos 7212 1.1 christos * tui/tui-winsource.c (tui_erase_source_content): Clear the 7213 1.1 christos window's contents. 7214 1.1 christos * tui/tui-source.h (tui_set_source_content_nil): Don't declare. 7215 1.1 christos * tui/tui-source.c (tui_set_source_content_nil): Remove. 7216 1.1 christos 7217 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7218 1.1 christos 7219 1.1 christos * tui/tui-data.h (UNDEFINED_ITEM): Remove define. 7220 1.1 christos (struct tui_data_item_window): Update. 7221 1.1 christos 7222 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7223 1.1 christos 7224 1.1 christos * tui/tui-data.h (MAX_CONTENT_COUNT, TUI_NULL_STR) 7225 1.1 christos (DEFAULT_HISTORY_COUNT, WITH_LOCATOR, NO_LOCATOR): Remove 7226 1.1 christos defines. 7227 1.1 christos 7228 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7229 1.1 christos 7230 1.1 christos * tui/tui-winsource.h (tui_erase_source_content) 7231 1.1 christos (tui_clear_source_content): Remove "display_prompt" parameter. 7232 1.1 christos * tui/tui-winsource.c (tui_update_source_window_as_is) 7233 1.1 christos (tui_update_source_windows_with_addr): Update. 7234 1.1 christos (tui_clear_source_content): Remove "display_prompt" parameter. 7235 1.1 christos (tui_erase_source_content): Likewise. Simplify. 7236 1.1 christos (tui_show_source_content): Update. 7237 1.1 christos * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights): Update. 7238 1.1 christos * tui/tui-stack.c (tui_show_frame_info): Update. 7239 1.1 christos * tui/tui-data.h (EMPTY_SOURCE_PROMPT, NO_EMPTY_SOURCE_PROMPT): 7240 1.1 christos Remove defines. 7241 1.1 christos 7242 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7243 1.1 christos 7244 1.1 christos * tui/tui-winsource.c (tui_update_source_window_as_is): Update. 7245 1.1 christos * tui/tui-disasm.h (tui_set_disassem_content): Add win_info 7246 1.1 christos parameter. 7247 1.1 christos * tui/tui-disasm.c (tui_set_disassem_content): Add win_info 7248 1.1 christos parameter. 7249 1.1 christos 7250 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7251 1.1 christos 7252 1.1 christos * tui/tui-winsource.c (tui_clear_source_content) 7253 1.1 christos (tui_show_source_content, tui_show_exec_info_content) 7254 1.1 christos (tui_clear_exec_info_content): Update. 7255 1.1 christos * tui/tui-stack.c (tui_show_locator_content): Update. 7256 1.1 christos (tui_show_frame_info): Update. 7257 1.1 christos * tui/tui-source.h (tui_source_window): Don't declare. 7258 1.1 christos * tui/tui-source.c (tui_source_window::showing_source_p): Rename 7259 1.1 christos from tui_source_is_displayed. 7260 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <content_in_use>: 7261 1.1 christos Remove field. 7262 1.1 christos (struct tui_source_window_base) <content_in_use>: New field. Now 7263 1.1 christos bool. 7264 1.1 christos (struct tui_source_window) <showing_source_p>: New method. 7265 1.1 christos (TUI_SRC_WIN): Change cast. 7266 1.1 christos * tui/tui-data.c (tui_initialize_static_data): Update. 7267 1.1 christos 7268 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7269 1.1 christos 7270 1.1 christos * tui/tui-winsource.c (tui_update_breakpoint_info): Use 7271 1.1 christos location_matches_p. 7272 1.1 christos * tui/tui-source.c (tui_source_window::location_matches_p): New 7273 1.1 christos method. 7274 1.1 christos * tui/tui-disasm.c (tui_disasm_window::location_matches_p): New 7275 1.1 christos method. 7276 1.1 christos * tui/tui-data.h (struct tui_source_window_base) 7277 1.1 christos <location_matches_p>: New method. 7278 1.1 christos (struct tui_source_window, struct tui_disasm_window) 7279 1.1 christos <location_matches_p>: Likewise. 7280 1.1 christos 7281 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7282 1.1 christos 7283 1.1 christos * tui/tui-win.c (tui_set_win_height_command): Rename from 7284 1.1 christos tui_set_win_height. 7285 1.1 christos (tui_set_win_height_command): Remove. 7286 1.1 christos 7287 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7288 1.1 christos 7289 1.1 christos * tui/tui-source.c (tui_source_window): New constructor. Add 7290 1.1 christos observer. 7291 1.1 christos (~tui_source_window): New destructor. 7292 1.1 christos (tui_source_window::style_changed): New method. 7293 1.1 christos * tui/tui-hooks.c (tui_redisplay_source): Remove. 7294 1.1 christos (tui_attach_detach_observers): Update. 7295 1.1 christos * tui/tui-data.h (struct tui_source_window): Make constructor not 7296 1.1 christos inline. Add destructor. 7297 1.1 christos (struct tui_source_window) <style_changed>: New method. 7298 1.1 christos <m_observable>: New member. 7299 1.1 christos 7300 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7301 1.1 christos 7302 1.1 christos * tui/tui-data.c (tui_clear_source_windows_detail): Fix typo. 7303 1.1 christos * tui/tui-win.c (tui_resize_all): Fix typo. 7304 1.1 christos 7305 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7306 1.1 christos 7307 1.1 christos * tui/tui-wingeneral.h (tui_refresh_all): Update. 7308 1.1 christos * tui/tui-wingeneral.c (make_all_visible): Use foreach. 7309 1.1 christos (tui_refresh_all): Remove "list" parameter. Use foreach. 7310 1.1 christos * tui/tui-win.c (window_name_completer): Use foreach. 7311 1.1 christos (tui_refresh_all_win, tui_rehighlight_all, tui_all_windows_info) 7312 1.1 christos (update_tab_width): Likewise. 7313 1.1 christos * tui/tui-layout.c (show_layout): Update. 7314 1.1 christos * tui/tui-data.h (class tui_window_iterator): New. 7315 1.1 christos (struct all_tui_windows): New. 7316 1.1 christos * tui/tui-data.c (tui_partial_win_by_name): Use foreach. 7317 1.1 christos 7318 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7319 1.1 christos 7320 1.1 christos * tui/tui-regs.c (tui_reg_next, tui_reg_prev): Add "current_group" 7321 1.1 christos parameter. Don't reference globals. 7322 1.1 christos (tui_reg_command): Update. 7323 1.1 christos 7324 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7325 1.1 christos 7326 1.1 christos * tui/tui-regs.c (tui_show_registers): Simplify. 7327 1.1 christos 7328 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7329 1.1 christos 7330 1.1 christos * tui/tui-regs.c (tui_show_registers): Update. 7331 1.1 christos (tui_show_register_group): Add win_info parameter. 7332 1.1 christos 7333 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7334 1.1 christos 7335 1.1 christos * tui/tui-regs.c (tui_data_window::display_reg_element_at_line): 7336 1.1 christos Rename from tui_display_reg_element_at_line. 7337 1.1 christos (tui_data_window::display_registers_from_line): Update. 7338 1.1 christos * tui/tui-data.h (struct tui_data_window) 7339 1.1 christos <display_reg_element_at_line>: New method. 7340 1.1 christos 7341 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7342 1.1 christos 7343 1.1 christos * tui/tui-regs.h (tui_display_registers_from) 7344 1.1 christos (tui_display_registers_from_line): Don't declare. 7345 1.1 christos * tui/tui-windata.c (tui_data_window::display_all_data) 7346 1.1 christos (tui_data_window::refresh_all) 7347 1.1 christos (tui_data_window::do_scroll_vertical): Update. 7348 1.1 christos * tui/tui-regs.c (tui_data_window::display_registers_from): Rename 7349 1.1 christos from tui_display_registers_from. 7350 1.1 christos (tui_display_reg_element_at_line): Update. 7351 1.1 christos (tui_data_window::display_registers_from_line): Rename from 7352 1.1 christos tui_display_registers_from_line. 7353 1.1 christos * tui/tui-data.h (struct tui_data_window) <display_registers_from, 7354 1.1 christos display_registers_from_line>: New methods. 7355 1.1 christos 7356 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7357 1.1 christos 7358 1.1 christos * tui/tui-windata.h (tui_erase_data_content): Don't declare. 7359 1.1 christos * tui/tui-windata.c (tui_data_window::erase_data_content): Rename 7360 1.1 christos from tui_erase_data_content. 7361 1.1 christos (tui_data_window::display_all_data) 7362 1.1 christos (tui_data_window::refresh_all) 7363 1.1 christos (tui_data_window::do_scroll_vertical): Update. 7364 1.1 christos * tui/tui-regs.c (tui_show_registers): Update. 7365 1.1 christos * tui/tui-data.h (struct tui_data_window) <erase_data_content>: 7366 1.1 christos New method. 7367 1.1 christos 7368 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7369 1.1 christos 7370 1.1 christos * tui/tui-windata.h (tui_delete_data_content_windows): Don't 7371 1.1 christos declare. 7372 1.1 christos * tui/tui-windata.c 7373 1.1 christos (tui_data_window::delete_data_content_windows): Rename from 7374 1.1 christos tui_delete_data_content_windows. 7375 1.1 christos (tui_data_window::display_all_data) 7376 1.1 christos (tui_data_window::do_scroll_vertical): Update. 7377 1.1 christos * tui/tui-data.h (struct tui_data_window) 7378 1.1 christos <delete_data_content_windows>: New method. 7379 1.1 christos 7380 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7381 1.1 christos 7382 1.1 christos * tui/tui-windata.h (tui_refresh_data_win): Don't declare. 7383 1.1 christos * tui/tui-regs.h (tui_first_reg_element_inline): Don't declare. 7384 1.1 christos 7385 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7386 1.1 christos 7387 1.1 christos * tui/tui-windata.h (tui_display_all_data): Don't declare. 7388 1.1 christos * tui/tui-windata.c (tui_data_window::display_all_data): Rename 7389 1.1 christos from tui_display_all_data. 7390 1.1 christos * tui/tui-win.c 7391 1.1 christos (tui_data_window::do_make_visible_with_new_height): Update. 7392 1.1 christos * tui/tui-regs.c (tui_show_registers): Update. 7393 1.1 christos * tui/tui-layout.c (tui_set_layout): Update. 7394 1.1 christos * tui/tui-data.h (struct tui_data_window) <display_all_data>: New 7395 1.1 christos method. 7396 1.1 christos 7397 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7398 1.1 christos 7399 1.1 christos * tui/tui-windata.h (tui_display_data_from): Don't declare. 7400 1.1 christos * tui/tui-windata.c (tui_display_data_from): Remove. 7401 1.1 christos (tui_data_window::refresh_all): Update. 7402 1.1 christos 7403 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7404 1.1 christos 7405 1.1 christos * tui/tui-windata.h (tui_display_data_from_line): Don't declare. 7406 1.1 christos * tui/tui-windata.c (tui_display_data_from_line): Remove. 7407 1.1 christos (tui_display_data_from, tui_data_window::do_scroll_vertical): Call 7408 1.1 christos tui_display_registers_from_line. 7409 1.1 christos * tui/tui-regs.h (tui_display_registers_from_line): Update. 7410 1.1 christos * tui/tui-regs.c (tui_display_registers_from_line): Remove 7411 1.1 christos "force_display" parameter. 7412 1.1 christos 7413 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7414 1.1 christos 7415 1.1 christos * tui/tui-regs.h (tui_first_reg_element_no_inline): Don't 7416 1.1 christos declare. 7417 1.1 christos * tui/tui-regs.c (tui_data_window::first_reg_element_no_inline): 7418 1.1 christos Rename from tui_first_reg_element_no_inline. 7419 1.1 christos (tui_display_reg_element_at_line) 7420 1.1 christos (tui_display_registers_from_line): Update. 7421 1.1 christos * tui/tui-data.h (struct tui_data_window) 7422 1.1 christos <first_reg_element_no_inline>: New method. 7423 1.1 christos 7424 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7425 1.1 christos 7426 1.1 christos * tui/tui-windata.c (tui_display_data_from) 7427 1.1 christos (tui_data_window::do_scroll_vertical): Update. 7428 1.1 christos * tui/tui-regs.h (tui_line_from_reg_element_no): Don't declare. 7429 1.1 christos * tui/tui-regs.c (tui_data_window::line_from_reg_element_no): 7430 1.1 christos Rename from tui_line_from_reg_element_no. 7431 1.1 christos (tui_display_registers_from_line): Update. 7432 1.1 christos * tui/tui-data.h (struct tui_data_window) 7433 1.1 christos <line_from_reg_element_no>: New method. 7434 1.1 christos 7435 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7436 1.1 christos 7437 1.1 christos * tui/tui-regs.h (tui_last_regs_line_no): Don't declare. 7438 1.1 christos * tui/tui-regs.c (tui_data_window::last_regs_line_no): Rename from 7439 1.1 christos tui_last_regs_line_no. 7440 1.1 christos (tui_display_reg_element_at_line) 7441 1.1 christos (tui_display_registers_from_line): Update. 7442 1.1 christos * tui/tui-data.h (struct tui_data_window) <last_regs_line_no>: New 7443 1.1 christos method. 7444 1.1 christos 7445 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7446 1.1 christos 7447 1.1 christos PR tui/24722: 7448 1.1 christos * tui/tui-winsource.h (tui_update_all_breakpoint_info) 7449 1.1 christos (tui_update_breakpoint_info): Add "being_deleted" parameter. 7450 1.1 christos * tui/tui-winsource.c (tui_update_source_window_as_is): Update. 7451 1.1 christos (tui_update_all_breakpoint_info): Add "being_deleted" parameter. 7452 1.1 christos (tui_update_breakpoint_info): Likewise. 7453 1.1 christos * tui/tui-hooks.c (tui_event_create_breakpoint) 7454 1.1 christos (tui_event_delete_breakpoint, tui_event_modify_breakpoint): 7455 1.1 christos Update. 7456 1.1 christos 7457 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7458 1.1 christos 7459 1.1 christos * tui/tui-stack.c (tui_show_frame_info): Consolidate "if"s. 7460 1.1 christos 7461 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7462 1.1 christos 7463 1.1 christos * tui/tui-winsource.c (tui_update_source_window_as_is) 7464 1.1 christos (tui_update_source_windows_with_addr): Update. 7465 1.1 christos * tui/tui-source.h (tui_set_source_content) 7466 1.1 christos (tui_show_symtab_source): Add "win_info" parameter. 7467 1.1 christos * tui/tui-source.c (tui_set_source_content): Add "win_info" 7468 1.1 christos parameter. 7469 1.1 christos (tui_show_symtab_source): Likewise. 7470 1.1 christos 7471 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7472 1.1 christos 7473 1.1 christos * tui/tui-wingeneral.c 7474 1.1 christos (tui_check_and_display_highlight_if_needed): Check can_highlight. 7475 1.1 christos 7476 1.1 christos 2019-07-17 Tom Tromey <tom (a] tromey.com> 7477 1.1 christos 7478 1.1 christos * tui/tui-data.h (struct tui_win_info) <can_scroll>: New method. 7479 1.1 christos (struct tui_cmd_window) <can_scroll>: New method. 7480 1.1 christos * tui/tui-command.c (tui_dispatch_ctrl_char): Use can_scroll 7481 1.1 christos method. 7482 1.1 christos 7483 1.1 christos 2019-07-17 Tom Tromey <tromey (a] adacore.com> 7484 1.1 christos 7485 1.1 christos * ui-out.h (class ui_out) <field_signed, field_fmt_signed, 7486 1.1 christos do_field_signed>: Rename. Change type of "value". 7487 1.1 christos * ui-out.c (ui_out::field_signed): Rename from field_int. 7488 1.1 christos Change type of "value". 7489 1.1 christos (ui_out::field_fmt_signed): Rename from field_fmt_int. Change 7490 1.1 christos type of "value". 7491 1.1 christos * tui/tui-out.h (class tui_ui_out) <do_field_signed>: Rename from 7492 1.1 christos do_field_int. Change type of "value". 7493 1.1 christos * tui/tui-out.c (tui_ui_out::do_field_signed): Rename from 7494 1.1 christos do_field_int. Change type of "value". 7495 1.1 christos * tracepoint.c (trace_status_mi, tfind_1) 7496 1.1 christos (print_one_static_tracepoint_marker): Update. 7497 1.1 christos * thread.c (print_thread_info_1, print_selected_thread_frame): 7498 1.1 christos Update. 7499 1.1 christos * stack.c (print_frame, print_frame_info): Update. 7500 1.1 christos * spu-tdep.c (info_spu_signal_command, info_spu_dma_cmdlist): 7501 1.1 christos Update. 7502 1.1 christos * source.c (print_source_lines_base): Update. 7503 1.1 christos * skip.c (info_skip_command): Update. 7504 1.1 christos * record-btrace.c (btrace_ui_out_decode_error) 7505 1.1 christos (btrace_call_history_src_line): Update. 7506 1.1 christos * python/py-framefilter.c (py_print_single_arg, py_print_frame): 7507 1.1 christos Update. 7508 1.1 christos * progspace.c (print_program_space): Update. 7509 1.1 christos * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Update. 7510 1.1 christos * mi/mi-out.h (class mi_ui_out) <do_field_signed>: Rename from 7511 1.1 christos do_field_int. Change type of "value". 7512 1.1 christos * mi/mi-out.c (mi_ui_out::do_table_begin) 7513 1.1 christos (mi_ui_out::do_table_header): Update. 7514 1.1 christos (mi_ui_out::do_field_signed): Rename from do_field_int. Change 7515 1.1 christos type of "value". 7516 1.1 christos * mi/mi-main.c (mi_cmd_thread_list_ids, print_one_inferior) 7517 1.1 christos (mi_cmd_data_list_changed_registers, output_register) 7518 1.1 christos (mi_cmd_data_read_memory, mi_load_progress) 7519 1.1 christos (mi_cmd_trace_frame_collected): Update. 7520 1.1 christos * mi/mi-interp.c (mi_on_normal_stop_1, mi_output_solib_attribs): 7521 1.1 christos Update. 7522 1.1 christos * mi/mi-cmd-var.c (print_varobj, mi_cmd_var_create) 7523 1.1 christos (mi_cmd_var_delete, mi_cmd_var_info_num_children) 7524 1.1 christos (mi_cmd_var_list_children, varobj_update_one): Update. 7525 1.1 christos * mi/mi-cmd-stack.c (mi_cmd_stack_info_depth) 7526 1.1 christos (mi_cmd_stack_list_args, list_arg_or_local): Update. 7527 1.1 christos * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Update. 7528 1.1 christos * inferior.c (print_inferior): Update. 7529 1.1 christos * gdb_bfd.c (print_one_bfd): Update. 7530 1.1 christos * disasm.c (gdb_pretty_print_disassembler::pretty_print_insn): 7531 1.1 christos Update. 7532 1.1 christos * darwin-nat-info.c (darwin_debug_regions_recurse): Update. 7533 1.1 christos * cli-out.h (class cli_ui_out) <do_field_signed>: Rename from 7534 1.1 christos do_field_int. Change type of "value". 7535 1.1 christos * cli-out.c (cli_ui_out::do_field_signed): Rename from 7536 1.1 christos do_field_int. Change type of "value". 7537 1.1 christos * breakpoint.c (watchpoint_check, print_breakpoint_location) 7538 1.1 christos (print_one_breakpoint_location, print_it_catch_fork) 7539 1.1 christos (print_one_catch_fork, print_it_catch_vfork) 7540 1.1 christos (print_one_catch_vfork, print_it_catch_solib) 7541 1.1 christos (print_it_catch_exec, print_it_ranged_breakpoint) 7542 1.1 christos (print_mention_watchpoint, print_mention_masked_watchpoint) 7543 1.1 christos (bkpt_print_it, update_static_tracepoint): Update. 7544 1.1 christos * break-catch-throw.c (print_it_exception_catchpoint): Update. 7545 1.1 christos * break-catch-syscall.c (print_it_catch_syscall): Update. 7546 1.1 christos * ada-tasks.c (print_ada_task_info): Update. 7547 1.1 christos * ada-lang.c (print_it_exception, print_mention_exception): 7548 1.1 christos Update. 7549 1.1 christos 7550 1.1 christos 2019-07-17 Andrew Burgess <andrew.burgess (a] embecosm.com> 7551 1.1 christos 7552 1.1 christos PR breakpoints/24541 7553 1.1 christos * gdbarch.c: Regenerate. 7554 1.1 christos * gdbarch.h: Regenerate. 7555 1.1 christos * gdbarch.sh: Adjust return type and parameter types for 7556 1.1 christos 'stap_adjust_register'. 7557 1.1 christos (i386_stap_adjust_register): Adjust signature and return new 7558 1.1 christos register name. 7559 1.1 christos * stap-probe.c (stap_parse_register_operand): Adjust use of 7560 1.1 christos 'gdbarch_stap_adjust_register'. 7561 1.1 christos 7562 1.1 christos 2019-07-17 Tom Tromey <tromey (a] adacore.com> 7563 1.1 christos 7564 1.1 christos * s390-linux-nat.c (s390_watch_area): Remove typedef. Don't 7565 1.1 christos declare VEC. 7566 1.1 christos (struct s390_debug_reg_state) <watch_areas, break_areas>: Now 7567 1.1 christos std::vector. 7568 1.1 christos (struct s390_process_info): Add initializers. 7569 1.1 christos (s390_add_process): Use new. 7570 1.1 christos (s390_linux_nat_target::low_forget_process): Use delete. 7571 1.1 christos (s390_linux_nat_target::low_new_fork) 7572 1.1 christos (s390_linux_nat_target::stopped_by_watchpoint) 7573 1.1 christos (s390_linux_nat_target::low_prepare_to_resume) 7574 1.1 christos (s390_linux_nat_target::insert_watchpoint) 7575 1.1 christos (s390_linux_nat_target::insert_hw_breakpoint) 7576 1.1 christos (s390_linux_nat_target::remove_watchpoint) 7577 1.1 christos (s390_linux_nat_target::remove_hw_breakpoint): Update. 7578 1.1 christos 7579 1.1 christos 2019-07-16 John Baldwin <jhb (a] FreeBSD.org> 7580 1.1 christos 7581 1.1 christos * aarch64-fbsd-nat.c: Include regcache.h. 7582 1.1 christos (getregs_supplies, getfpregs_supplies): Remove unused gdbarch 7583 1.1 christos argument. 7584 1.1 christos (aarch64_fbsd_nat_target::fetch_registers) 7585 1.1 christos (aarch64_fbsd_nat_target::store_registers): Remove gdbarch 7586 1.1 christos variable. 7587 1.1 christos * arm-fbsd-nat.c, riscv-fbsd-nat.c: Likewise. 7588 1.1 christos 7589 1.1 christos 2019-07-16 John Baldwin <jhb (a] FreeBSD.org> 7590 1.1 christos 7591 1.1 christos * fbsd-nat.c: Include gdbarch.h. 7592 1.1 christos 7593 1.1 christos 2019-07-15 Tom Tromey <tromey (a] adacore.com> 7594 1.1 christos 7595 1.1 christos * mi/mi-out.c (mi_ui_out::do_field_int): Use plongest. 7596 1.1 christos 7597 1.1 christos 2019-07-15 Tom Tromey <tromey (a] adacore.com> 7598 1.1 christos 7599 1.1 christos * mi/mi-out.h (class mi_ui_out) <do_field_unsigned>: Declare. 7600 1.1 christos * mi/mi-out.c (mi_ui_out::do_field_unsigned): New method. 7601 1.1 christos * cli-out.h (class cli_ui_out) <do_field_unsigned>: Declare. 7602 1.1 christos * cli-out.c (cli_ui_out::do_field_int): New method. 7603 1.1 christos * ui-out.c (ui_out::field_unsigned): New method. 7604 1.1 christos * symfile.c (generic_load): Use field_unsigned. 7605 1.1 christos (print_transfer_performance): Likewise. 7606 1.1 christos * record-btrace.c (ui_out_field_uint): Remove. 7607 1.1 christos (btrace_call_history_insn_range, btrace_call_history): Use 7608 1.1 christos field_unsigned. 7609 1.1 christos * disasm.c (gdb_pretty_print_disassembler::pretty_print_insn): Use 7610 1.1 christos field_unsigned. 7611 1.1 christos * ui-out.h (class ui_out) <field_unsigned>: New method. 7612 1.1 christos <do_field_unsigned>: Likewise. 7613 1.1 christos 7614 1.1 christos 2019-07-15 Tom Tromey <tromey (a] adacore.com> 7615 1.1 christos 7616 1.1 christos * mi/mi-main.c (list_available_thread_groups): Use field_string. 7617 1.1 christos * mi/mi-interp.c (mi_memory_changed): Use field_string. 7618 1.1 christos * target.c (flash_erase_command): Use field_string. 7619 1.1 christos * infrun.c (print_signal_received_reason): Use field_string. 7620 1.1 christos * i386-tdep.c (i386_mpx_print_bounds): Use field_string. 7621 1.1 christos * breakpoint.c (maybe_print_thread_hit_breakpoint): Use 7622 1.1 christos field_string. 7623 1.1 christos * ada-tasks.c (print_ada_task_info): Use field_string. 7624 1.1 christos 7625 1.1 christos 2019-07-15 Tom Tromey <tromey (a] adacore.com> 7626 1.1 christos 7627 1.1 christos * target.c (flash_erase_command): Use field_core_addr. 7628 1.1 christos * symfile.c (generic_load): Use field_core_addr. 7629 1.1 christos * sparc64-linux-tdep.c (sparc64_linux_handle_segmentation_fault): 7630 1.1 christos Use field_core_addr. 7631 1.1 christos * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): Use 7632 1.1 christos field_core_addr. 7633 1.1 christos 7634 1.1 christos 2019-07-12 Andrew Burgess <andrew.burgess (a] embecosm.com> 7635 1.1 christos 7636 1.1 christos * dwarf2loc.c (dwarf2_evaluate_property): Sign extend property 7637 1.1 christos value if its desired type is smaller than a CORE_ADDR and signed. 7638 1.1 christos 7639 1.1 christos 2019-07-12 Andrew Burgess <andrew.burgess (a] embecosm.com> 7640 1.1 christos 7641 1.1 christos * dwarf2loc.c (dwarf2_evaluate_property): Update to take account 7642 1.1 christos of changes to field names, and use new is_reference field to 7643 1.1 christos decide if a property is a reference or not. 7644 1.1 christos * dwarf2loc.h (struct dwarf2_locexpr_baton): Add 'is_reference' 7645 1.1 christos field. 7646 1.1 christos (struct dwarf2_property_baton): Update header comment, rename 7647 1.1 christos 'referenced_type' to 'property_type' and update comments. 7648 1.1 christos * dwarf2read.c (attr_to_dynamic_prop): Add extra parameter to hold 7649 1.1 christos default property type, store in property baton, update to take 7650 1.1 christos accound of renamed field. 7651 1.1 christos (read_func_scope): Update call to attr_to_dynamic_prop. 7652 1.1 christos (read_array_type): Likewise. 7653 1.1 christos (dwarf2_per_cu_addr_sized_int_type): New function. 7654 1.1 christos (read_subrange_index_type): Move type finding code to 7655 1.1 christos dwarf2_per_cu_addr_sized_int_type. 7656 1.1 christos (read_subrange_type): Update calls to attr_to_dynamic_prop. 7657 1.1 christos (dwarf2_per_cu_addr_type): New function. 7658 1.1 christos (set_die_type): Update calls to attr_to_dynamic_prop. 7659 1.1 christos 7660 1.1 christos 2019-07-12 Andrew Burgess <andrew.burgess (a] embecosm.com> 7661 1.1 christos 7662 1.1 christos * dwarf2read.c (read_subrange_index_type): New function. 7663 1.1 christos (read_subrange_type): Move code into new function and call it. 7664 1.1 christos * gdbtypes.c (create_range_type): Add some asserts. 7665 1.1 christos 7666 1.1 christos 2019-07-12 Andrew Burgess <andrew.burgess (a] embecosm.com> 7667 1.1 christos 7668 1.1 christos * dwarf2loc.c (dwarf2_evaluate_property): Change return type, and 7669 1.1 christos update return statements. 7670 1.1 christos * dwarf2loc.h (dwarf2_evaluate_property): Update return type on 7671 1.1 christos declaration, and update comment to match. 7672 1.1 christos * gdbtypes.c (resolve_dynamic_array): Update call to 7673 1.1 christos dwarf2_evaluate_property to match new return type. 7674 1.1 christos 7675 1.1 christos 2019-07-12 Andrew Burgess <andrew.burgess (a] embecosm.com> 7676 1.1 christos 7677 1.1 christos * valarith.c (value_subscripted_rvalue): Change lowerbound 7678 1.1 christos parameter type from int to LONGEST. 7679 1.1 christos * value.h (value_subscripted_rvalue): Likewise in declaration. 7680 1.1 christos 7681 1.1 christos 2019-07-11 Andrew Burgess <andrew.burgess (a] embecosm.com> 7682 1.1 christos 7683 1.1 christos * cli/cli-utils.c (info_print_command_completer): New function. 7684 1.1 christos * cli/cli-utils.h: Add 'completer.h' include, and forward 7685 1.1 christos declaration for 'struct cmd_list_element'. 7686 1.1 christos (info_print_command_completer): Declare. 7687 1.1 christos * stack.c (_initialize_stack): Add completer for 'info locals' and 7688 1.1 christos 'info args'. 7689 1.1 christos * symtab.c (_initialize_symtab): Add completer for 'info 7690 1.1 christos variables' and 'info functions'. 7691 1.1 christos * NEWS: Mention completion for additional info commands. 7692 1.1 christos 7693 1.1 christos 2019-07-11 Andrew Burgess <andrew.burgess (a] embecosm.com> 7694 1.1 christos 7695 1.1 christos * cli/cli-utils.c (extract_info_print_args): Delete. 7696 1.1 christos (extract_arg_maybe_quoted): Delete. 7697 1.1 christos (info_print_options_defs): New variable. 7698 1.1 christos (make_info_print_options_def_group): New function. 7699 1.1 christos (extract_info_print_options): Define new function. 7700 1.1 christos * cli/cli-utils.h (extract_info_print_args): Delete. 7701 1.1 christos (struct info_print_options): New structure. 7702 1.1 christos (extract_info_print_options): Declare new function. 7703 1.1 christos * stack.c (info_locals_command): Update to use new 7704 1.1 christos extract_info_print_options, also add a header comment. 7705 1.1 christos (info_args_command): Likewise. 7706 1.1 christos * symtab.c (info_variables_command): Likewise. 7707 1.1 christos (info_functions_command): Likewise. 7708 1.1 christos 7709 1.1 christos 2019-07-11 Andrew Burgess <andrew.burgess (a] embecosm.com> 7710 1.1 christos 7711 1.1 christos * cli/cli-option.c (parse_option): Use extract_string_maybe_quoted 7712 1.1 christos to extract string arguments. 7713 1.1 christos * common/common-utils.c (extract_string_maybe_quoted): New function. 7714 1.1 christos * common/common-utils.h (extract_string_maybe_quoted): Declare. 7715 1.1 christos 7716 1.1 christos 2019-07-11 Tom Tromey <tromey (a] adacore.com> 7717 1.1 christos 7718 1.1 christos * main.c (get_init_files): Use GDBINIT, not gdbinit. 7719 1.1 christos * auto-load.c (file_is_auto_load_safe): Use GDBINIT, not gdbinit. 7720 1.1 christos * top.h (gdbinit): Don't declare. 7721 1.1 christos * cli/cli-cmds.c (init_cli_cmds): Remove, merging contents 7722 1.1 christos into... 7723 1.1 christos (_initialize_cli_cmds): ...here. Use GDBINIT, not gdbinit. 7724 1.1 christos * top.c (gdb_init): Don't call init_cli_cmds. 7725 1.1 christos (gdbinit): Remove. 7726 1.1 christos * cli/cli-cmds.h (init_cli_cmds): Don't declare. 7727 1.1 christos 7728 1.1 christos 2019-07-11 Tom Tromey <tromey (a] adacore.com> 7729 1.1 christos 7730 1.1 christos * python/py-inferior.c (add_thread_object): Don't use thread_obj 7731 1.1 christos after it has been moved. 7732 1.1 christos 7733 1.1 christos 2019-07-10 Simon Marchi <simon.marchi (a] polymtl.ca> 7734 1.1 christos 7735 1.1 christos * valops.c (value_must_coerce_to_target): Change return type to 7736 1.1 christos bool. 7737 1.1 christos * value.h (value_must_coerce_to_target): Likewise. 7738 1.1 christos 7739 1.1 christos 2019-07-10 Simon Marchi <simon.marchi (a] efficios.com> 7740 1.1 christos 7741 1.1 christos * breakpoint.c (is_hardware_watchpoint): Remove 7742 1.1 christos forward-declaration. 7743 1.1 christos (is_masked_watchpoint): Change return type to bool. 7744 1.1 christos (is_tracepoint): Likewise. 7745 1.1 christos (is_breakpoint): Likewise. 7746 1.1 christos (is_hardware_watchpoint): Likewise. 7747 1.1 christos (is_watchpoint): Likewise. 7748 1.1 christos (is_no_memory_software_watchpoint): Likewise. 7749 1.1 christos (is_catchpoint): Likewise. 7750 1.1 christos (breakpoint_1): Make FILTER parameter's return type bool. 7751 1.1 christos is_masked_watchpoint): Change return type to bool. 7752 1.1 christos (save_breakpoints): Make FILTER parameter's return type bool. 7753 1.1 christos * breakpoint.h (is_breakpoint): Change return type to bool. 7754 1.1 christos (is_watchpoint): Likewise. 7755 1.1 christos (is_catchpoint): Likewise. 7756 1.1 christos (is_tracepoint): Likewise. 7757 1.1 christos 7758 1.1 christos 2019-07-10 Tom Tromey <tom (a] tromey.com> 7759 1.1 christos 7760 1.1 christos * defs.h: Don't include gdbarch.h. 7761 1.1 christos * aarch64-ravenscar-thread.c, aarch64-tdep.c, alpha-bsd-tdep.h, 7762 1.1 christos alpha-linux-tdep.c, alpha-mdebug-tdep.c, arch-utils.h, arm-tdep.h, 7763 1.1 christos ax-general.c, btrace.c, buildsym-legacy.c, buildsym.h, c-lang.c, 7764 1.1 christos cli/cli-decode.h, cli/cli-dump.c, cli/cli-script.h, 7765 1.1 christos cli/cli-style.h, coff-pe-read.h, compile/compile-c-support.c, 7766 1.1 christos compile/compile-cplus.h, compile/compile-loc2c.c, corefile.c, 7767 1.1 christos cp-valprint.c, cris-linux-tdep.c, ctf.c, d-lang.c, d-namespace.c, 7768 1.1 christos dcache.c, dicos-tdep.c, dictionary.c, disasm-selftests.c, 7769 1.1 christos dummy-frame.c, dummy-frame.h, dwarf2-frame-tailcall.c, 7770 1.1 christos dwarf2expr.c, expression.h, f-lang.c, frame-base.c, 7771 1.1 christos frame-unwind.c, frv-linux-tdep.c, gdbarch-selftests.c, gdbtypes.h, 7772 1.1 christos go-lang.c, hppa-nbsd-tdep.c, hppa-obsd-tdep.c, i386-dicos-tdep.c, 7773 1.1 christos i386-tdep.h, ia64-vms-tdep.c, interps.h, language.c, 7774 1.1 christos linux-record.c, location.h, m2-lang.c, m32r-linux-tdep.c, 7775 1.1 christos mem-break.c, memattr.c, mn10300-linux-tdep.c, nios2-linux-tdep.c, 7776 1.1 christos objfiles.h, opencl-lang.c, or1k-linux-tdep.c, p-lang.c, 7777 1.1 christos parser-defs.h, ppc-tdep.h, probe.h, python/py-record-btrace.c, 7778 1.1 christos record-btrace.c, record.h, regcache-dump.c, regcache.h, 7779 1.1 christos riscv-fbsd-tdep.c, riscv-linux-tdep.c, rust-exp.y, 7780 1.1 christos sh-linux-tdep.c, sh-nbsd-tdep.c, source-cache.c, 7781 1.1 christos sparc-nbsd-tdep.c, sparc-obsd-tdep.c, sparc-ravenscar-thread.c, 7782 1.1 christos sparc64-fbsd-tdep.c, std-regs.c, target-descriptions.h, 7783 1.1 christos target-float.c, tic6x-linux-tdep.c, tilegx-linux-tdep.c, top.c, 7784 1.1 christos tracefile.c, trad-frame.c, type-stack.h, ui-style.c, utils.c, 7785 1.1 christos utils.h, valarith.c, valprint.c, varobj.c, x86-tdep.c, 7786 1.1 christos xml-support.h, xtensa-linux-tdep.c, cli/cli-cmds.h: Update. 7787 1.1 christos * s390-linux-nat.c, procfs.c, inf-ptrace.c: Likewise. 7788 1.1 christos 7789 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7790 1.1 christos 7791 1.1 christos * ada-lang.h (is_ada_exception_catchpoint): Declare. 7792 1.1 christos * breakpoint.c (init_ada_exception_breakpoint): Register as 7793 1.1 christos bp_catchpoint. 7794 1.1 christos (print_one_breakpoint_location, print_one_breakpoint): Use 7795 1.1 christos is_ada_exception_catchpoint. 7796 1.1 christos * ada-lang.c (class ada_catchpoint_location): Pass 7797 1.1 christos bp_loc_software_breakpoint to bp_location constructor. 7798 1.1 christos (is_ada_exception_catchpoint): New function. 7799 1.1 christos 7800 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7801 1.1 christos 7802 1.1 christos * arm-tdep.c (arm_exidx_entry_s): Remove typedef. Don't define 7803 1.1 christos VEC. 7804 1.1 christos (struct arm_exidx_entry): New method operator<. 7805 1.1 christos (struct arm_exidx_data) <section_maps>: Change type. 7806 1.1 christos (arm_exidx_data_free): Remove. 7807 1.1 christos (arm_exidx_data_key): Change type. Move lower. 7808 1.1 christos (arm_exidx_new_objfile): Update. 7809 1.1 christos (arm_compare_exidx_entries): Remove. 7810 1.1 christos (arm_find_exidx_entry, _initialize_arm_tdep) 7811 1.1 christos 7812 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7813 1.1 christos 7814 1.1 christos * solib-spu.c (ocl_program_data_key): Change type. 7815 1.1 christos (append_ocl_sos, ocl_enable_break, _initialize_spu_solib): 7816 1.1 christos Update. 7817 1.1 christos 7818 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7819 1.1 christos 7820 1.1 christos * solib-aix.c (lm_info_aix_p): Remove typedef. Don't define VEC. 7821 1.1 christos (struct solib_aix_inferior_data) <library_list>: Change type. 7822 1.1 christos (solib_aix_inferior_data_handle): Change type. 7823 1.1 christos (get_solib_aix_inferior_data): Update. 7824 1.1 christos (solib_aix_free_library_list): Remove. 7825 1.1 christos (library_list_start_library): Update. 7826 1.1 christos (solib_aix_parse_libraries, solib_aix_get_library_list): Change 7827 1.1 christos return type. 7828 1.1 christos (solib_aix_get_library_list) 7829 1.1 christos (solib_aix_solib_create_inferior_hook, solib_aix_current_sos) 7830 1.1 christos (solib_aix_normal_stop_observer, _initialize_solib_aix): Update. 7831 1.1 christos 7832 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7833 1.1 christos 7834 1.1 christos * solib-dsbt.c (struct dsbt_info): Add initializers. 7835 1.1 christos (solib_dsbt_pspace_data): Change type. 7836 1.1 christos (dsbt_pspace_data_cleanup): Remove. 7837 1.1 christos (get_dsbt_info, _initialize_dsbt_solib): Update. 7838 1.1 christos 7839 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7840 1.1 christos 7841 1.1 christos * spu-tdep.c (spu_overlay_data): Change type. 7842 1.1 christos (spu_get_overlay_table, spu_overlay_new_objfile) 7843 1.1 christos (_initialize_spu_tdep): Update. 7844 1.1 christos 7845 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7846 1.1 christos 7847 1.1 christos * gdb-stabs.h (struct dbx_symfile_info): Add initializers and 7848 1.1 christos destructor. 7849 1.1 christos (dbx_objfile_data_key): Change type and declare later. 7850 1.1 christos (DBX_SYMFILE_INFO): Rewrite. 7851 1.1 christos * dbxread.c (dbx_objfile_data_key): Change type. 7852 1.1 christos (dbx_symfile_init): Update. 7853 1.1 christos (~dbx_symfile_info): Rename from dbx_free_symfile_info. Update. 7854 1.1 christos (coffstab_build_psymtabs, elfstab_build_psymtabs) 7855 1.1 christos (stabsect_build_psymtabs, _initialize_dbxread): Update. 7856 1.1 christos 7857 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7858 1.1 christos 7859 1.1 christos * jit.c (jit_program_space_key): Change type. Move lower. 7860 1.1 christos (get_jit_program_space_data): Update. 7861 1.1 christos (jit_program_space_data_cleanup): Remove. 7862 1.1 christos (jit_breakpoint_deleted, free_objfile_data, _initialize_jit): 7863 1.1 christos Update. 7864 1.1 christos (struct jit_program_space_data): Add initializers. 7865 1.1 christos 7866 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7867 1.1 christos 7868 1.1 christos * solib-darwin.c (struct darwin_info): Add initializers. 7869 1.1 christos (solib_darwin_pspace_data): Change type. 7870 1.1 christos (darwin_pspace_data_cleanup): Remove. 7871 1.1 christos (get_darwin_info, _initialize_darwin_solib): Update. 7872 1.1 christos 7873 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7874 1.1 christos 7875 1.1 christos * remote-sim.c (struct sim_inferior_data): Add initializers, 7876 1.1 christos constructor, and destructor. 7877 1.1 christos (sim_inferior_data_key): Change type. Move lower. 7878 1.1 christos (check_for_duplicate_sim_descriptor): Update. 7879 1.1 christos (get_sim_inferior_data): Use new. Update. 7880 1.1 christos (~sim_inferior_data_cleanup): Rename from 7881 1.1 christos sim_inferior_data_cleanup. Simplify. 7882 1.1 christos (gdbsim_close_inferior, simulator_command) 7883 1.1 christos (sim_command_completer, _initialize_remote_sim): Update. 7884 1.1 christos (next_pid, INITIAL_PID): Move earlier. 7885 1.1 christos 7886 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7887 1.1 christos 7888 1.1 christos * python/python-internal.h (create_thread_object): Return 7889 1.1 christos gdbpy_ref. 7890 1.1 christos * python/py-infthread.c (create_thread_object): Return gdbpy_ref. 7891 1.1 christos * python/py-inferior.c (struct threadlist_entry): Add 7892 1.1 christos constructor. 7893 1.1 christos <thread_obj>: Now a gdbpy_ref. 7894 1.1 christos (thread_to_thread_object): Update. 7895 1.1 christos (add_thread_object): Use new. 7896 1.1 christos (delete_thread_object): Use delete. 7897 1.1 christos (infpy_threads): Update. 7898 1.1 christos (py_free_inferior): Update. Construct "inf_obj" after acquiring 7899 1.1 christos GIL. 7900 1.1 christos 7901 1.1 christos 2019-07-10 Tom Tromey <tromey (a] adacore.com> 7902 1.1 christos 7903 1.1 christos * valops.c (value_cast): Specialize error message for Ada. 7904 1.1 christos 7905 1.1 christos 2019-07-10 Simon Marchi <simon.marchi (a] polymtl.ca> 7906 1.1 christos 7907 1.1 christos * breakpoint.c (breakpoint_1): Update doc and parameter names. 7908 1.1 christos 7909 1.1 christos 2019-07-10 Simon Marchi <simon.marchi (a] polymtl.ca> 7910 1.1 christos 7911 1.1 christos * breakpoint.h (bpstat_explains_signal, bpstat_causes_stop, 7912 1.1 christos bpstat_should_step): Return bool, adjust comments. 7913 1.1 christos * breakpoint.c (bpstat_explains_signal, bpstat_causes_stop, 7914 1.1 christos bpstat_should_step): Likewise. 7915 1.1 christos 7916 1.1 christos 2019-07-10 Alan Hayward <alan.hayward (a] arm.com> 7917 1.1 christos 7918 1.1 christos * features/Makefile: Use feature target descriptions for Arm. 7919 1.1 christos * features/arm/arm-core.c: Generate new file. 7920 1.1 christos * features/arm/arm-fpa.c: Likewise. 7921 1.1 christos * features/arm/arm-m-profile-with-fpa.xml: Likewise. 7922 1.1 christos * features/arm/arm-m-profile.c: Likewise. 7923 1.1 christos * features/arm/arm-vfpv2.c: Likewise. 7924 1.1 christos * features/arm/arm-vfpv3.c: Likewise. 7925 1.1 christos * features/arm/xscale-iwmmxt.c: Likewise. 7926 1.1 christos * target-descriptions.c (maint_print_c_tdesc_cmd): Add Arm. 7927 1.1 christos 7928 1.1 christos 2019-07-10 Alan Hayward <alan.hayward (a] arm.com> 7929 1.1 christos 7930 1.1 christos * arm-linux-nat.c (arm_linux_nat_target::read_description): Check 7931 1.1 christos ptrace earlier. 7932 1.1 christos 7933 1.1 christos 2019-07-10 Alan Hayward <alan.hayward (a] arm.com> 7934 1.1 christos 7935 1.1 christos * features/aarch64-pauth.c: Regenerate. 7936 1.1 christos 7937 1.1 christos 2019-07-09 Simon Marchi <simon.marchi (a] polymtl.ca> 7938 1.1 christos 7939 1.1 christos * breakpoint.h (struct bpstat_what) <is_longjmp>: Change type to 7940 1.1 christos bool. 7941 1.1 christos (bpstat_what): Use false instead of 0. 7942 1.1 christos 7943 1.1 christos 2019-07-09 Pedro Alves <palves (a] redhat.com> 7944 1.1 christos 7945 1.1 christos * break-catch-throw.c (is_exception_catchpoint): New. 7946 1.1 christos * breakpoint.c (print_one_breakpoint_location): New parameter 7947 1.1 christos 'raw_loc'. Handle it. Use 7948 1.1 christos is_watchpoint/is_catchpoint/is_exception_catchpoint instead of 7949 1.1 christos looking at the breakpoint's type. 7950 1.1 christos (print_one_breakpoint): If handling "maint info breakpoints", also 7951 1.1 christos print locations of exception catchpoints. 7952 1.1 christos * breakpoint.h (is_exception_catchpoint): Declare. 7953 1.1 christos 7954 1.1 christos 2019-07-09 Pedro Alves <palves (a] redhat.com> 7955 1.1 christos 7956 1.1 christos * break-catch-throw.c (print_one_exception_catchpoint): Skip the 7957 1.1 christos "addr" field. 7958 1.1 christos (allocate_location_exception_catchpoint): New. 7959 1.1 christos (handle_gnu_v3_exceptions): Don't reset 'type' to bp_breakpoint. 7960 1.1 christos (initialize_throw_catchpoint_ops): Install 7961 1.1 christos allocate_location_exception_catchpoint as allocate_location 7962 1.1 christos method. 7963 1.1 christos * breakpoint.c (bpstat_what) <bp_catch>: Set action to 7964 1.1 christos BPSTAT_WHAT_SINGLE if not stopping and the location's type is not 7965 1.1 christos bp_loc_other. 7966 1.1 christos (breakpoint_address_is_meaningful): Delete. 7967 1.1 christos (bl_address_is_meaningful): New. 7968 1.1 christos (breakpoint_locations_match): Adjust comment. 7969 1.1 christos (bp_location_from_bp_type): New, factored out of... 7970 1.1 christos (bp_location::bp_location(breakpoint *)): ... this. 7971 1.1 christos (bp_location::bp_location(breakpoint *, bp_loc_type)): New, 7972 1.1 christos factored out of... 7973 1.1 christos (bp_location::bp_location(breakpoint *)): ... this. Reimplement. 7974 1.1 christos (bp_loc_is_permanent): Use bl_address_is_meaningful instead of 7975 1.1 christos breakpoint_address_is_meaningful. 7976 1.1 christos (bp_locations_compare): Adjust comment. 7977 1.1 christos (update_global_location_list): Use bl_address_is_meaningful 7978 1.1 christos instead of breakpoint_address_is_meaningful. 7979 1.1 christos * breakpoint.h (bp_location::bp_location(breakpoint *)): New 7980 1.1 christos explicit. 7981 1.1 christos (bp_location::bp_location(breakpoint *, bp_loc_type)): Declare. 7982 1.1 christos * python/py-breakpoint.c (bppy_get_location): No longer check 7983 1.1 christos whether location is null. 7984 1.1 christos 7985 1.1 christos 2019-07-09 Pedro Alves <palves (a] redhat.com> 7986 1.1 christos 7987 1.1 christos PR c++/15468 7988 1.1 christos * breakpoint.c (print_one_breakpoint_location): Remove 7989 1.1 christos single-location assert. 7990 1.1 christos 7991 1.1 christos 2019-07-09 Tom Tromey <tom (a] tromey.com> 7992 1.1 christos 7993 1.1 christos * contrib/ari/gdb_ari.sh: Change common to gdbsupport. 7994 1.1 christos * configure: Rebuild. 7995 1.1 christos * configure.ac: Change common to gdbsupport. 7996 1.1 christos * gdbsupport: Rename from common. 7997 1.1 christos * acinclude.m4: Change common to gdbsupport. 7998 1.1 christos * Makefile.in (CONFIG_SRC_SUBDIR, COMMON_SFILES) 7999 1.1 christos (HFILES_NO_SRCDIR, stamp-version, ALLDEPFILES): Change common to 8000 1.1 christos gdbsupport. 8001 1.1 christos * aarch64-tdep.c, ada-lang.c, ada-lang.h, agent.c, alloc.c, 8002 1.1 christos amd64-darwin-tdep.c, amd64-dicos-tdep.c, amd64-fbsd-nat.c, 8003 1.1 christos amd64-fbsd-tdep.c, amd64-linux-nat.c, amd64-linux-tdep.c, 8004 1.1 christos amd64-nbsd-tdep.c, amd64-obsd-tdep.c, amd64-sol2-tdep.c, 8005 1.1 christos amd64-tdep.c, amd64-windows-tdep.c, arch-utils.c, 8006 1.1 christos arch/aarch64-insn.c, arch/aarch64.c, arch/aarch64.h, arch/amd64.c, 8007 1.1 christos arch/amd64.h, arch/arm-get-next-pcs.c, arch/arm-linux.c, 8008 1.1 christos arch/arm.c, arch/i386.c, arch/i386.h, arch/ppc-linux-common.c, 8009 1.1 christos arch/riscv.c, arch/riscv.h, arch/tic6x.c, arm-tdep.c, auto-load.c, 8010 1.1 christos auxv.c, ax-gdb.c, ax-general.c, ax.h, breakpoint.c, breakpoint.h, 8011 1.1 christos btrace.c, btrace.h, build-id.c, build-id.h, c-lang.h, charset.c, 8012 1.1 christos charset.h, cli/cli-cmds.c, cli/cli-cmds.h, cli/cli-decode.c, 8013 1.1 christos cli/cli-dump.c, cli/cli-option.h, cli/cli-script.c, 8014 1.1 christos coff-pe-read.c, command.h, compile/compile-c-support.c, 8015 1.1 christos compile/compile-c.h, compile/compile-cplus-symbols.c, 8016 1.1 christos compile/compile-cplus-types.c, compile/compile-cplus.h, 8017 1.1 christos compile/compile-loc2c.c, compile/compile.c, completer.c, 8018 1.1 christos completer.h, contrib/ari/gdb_ari.sh, corefile.c, corelow.c, 8019 1.1 christos cp-support.c, cp-support.h, cp-valprint.c, csky-tdep.c, ctf.c, 8020 1.1 christos darwin-nat.c, debug.c, defs.h, disasm-selftests.c, disasm.c, 8021 1.1 christos disasm.h, dtrace-probe.c, dwarf-index-cache.c, 8022 1.1 christos dwarf-index-cache.h, dwarf-index-write.c, dwarf2-frame.c, 8023 1.1 christos dwarf2expr.c, dwarf2loc.c, dwarf2read.c, event-loop.c, 8024 1.1 christos event-top.c, exceptions.c, exec.c, extension.h, fbsd-nat.c, 8025 1.1 christos features/aarch64-core.c, features/aarch64-fpu.c, 8026 1.1 christos features/aarch64-pauth.c, features/aarch64-sve.c, 8027 1.1 christos features/i386/32bit-avx.c, features/i386/32bit-avx512.c, 8028 1.1 christos features/i386/32bit-core.c, features/i386/32bit-linux.c, 8029 1.1 christos features/i386/32bit-mpx.c, features/i386/32bit-pkeys.c, 8030 1.1 christos features/i386/32bit-segments.c, features/i386/32bit-sse.c, 8031 1.1 christos features/i386/64bit-avx.c, features/i386/64bit-avx512.c, 8032 1.1 christos features/i386/64bit-core.c, features/i386/64bit-linux.c, 8033 1.1 christos features/i386/64bit-mpx.c, features/i386/64bit-pkeys.c, 8034 1.1 christos features/i386/64bit-segments.c, features/i386/64bit-sse.c, 8035 1.1 christos features/i386/x32-core.c, features/riscv/32bit-cpu.c, 8036 1.1 christos features/riscv/32bit-csr.c, features/riscv/32bit-fpu.c, 8037 1.1 christos features/riscv/64bit-cpu.c, features/riscv/64bit-csr.c, 8038 1.1 christos features/riscv/64bit-fpu.c, features/tic6x-c6xp.c, 8039 1.1 christos features/tic6x-core.c, features/tic6x-gp.c, filename-seen-cache.h, 8040 1.1 christos findcmd.c, findvar.c, fork-child.c, gcore.c, gdb_bfd.c, gdb_bfd.h, 8041 1.1 christos gdb_proc_service.h, gdb_regex.c, gdb_select.h, gdb_usleep.c, 8042 1.1 christos gdbarch-selftests.c, gdbthread.h, gdbtypes.h, gnu-nat.c, 8043 1.1 christos go32-nat.c, guile/guile.c, guile/scm-ports.c, 8044 1.1 christos guile/scm-safe-call.c, guile/scm-type.c, i386-fbsd-nat.c, 8045 1.1 christos i386-fbsd-tdep.c, i386-go32-tdep.c, i386-linux-nat.c, 8046 1.1 christos i386-linux-tdep.c, i386-tdep.c, i387-tdep.c, 8047 1.1 christos ia64-libunwind-tdep.c, ia64-linux-nat.c, inf-child.c, 8048 1.1 christos inf-ptrace.c, infcall.c, infcall.h, infcmd.c, inferior-iter.h, 8049 1.1 christos inferior.c, inferior.h, inflow.c, inflow.h, infrun.c, infrun.h, 8050 1.1 christos inline-frame.c, language.h, linespec.c, linux-fork.c, linux-nat.c, 8051 1.1 christos linux-tdep.c, linux-thread-db.c, location.c, machoread.c, 8052 1.1 christos macrotab.h, main.c, maint.c, maint.h, memattr.c, memrange.h, 8053 1.1 christos mi/mi-cmd-break.h, mi/mi-cmd-env.c, mi/mi-cmd-stack.c, 8054 1.1 christos mi/mi-cmd-var.c, mi/mi-interp.c, mi/mi-main.c, mi/mi-parse.h, 8055 1.1 christos minsyms.c, mips-linux-tdep.c, namespace.h, 8056 1.1 christos nat/aarch64-linux-hw-point.c, nat/aarch64-linux-hw-point.h, 8057 1.1 christos nat/aarch64-linux.c, nat/aarch64-sve-linux-ptrace.c, 8058 1.1 christos nat/amd64-linux-siginfo.c, nat/fork-inferior.c, 8059 1.1 christos nat/linux-btrace.c, nat/linux-btrace.h, nat/linux-namespaces.c, 8060 1.1 christos nat/linux-nat.h, nat/linux-osdata.c, nat/linux-personality.c, 8061 1.1 christos nat/linux-procfs.c, nat/linux-ptrace.c, nat/linux-ptrace.h, 8062 1.1 christos nat/linux-waitpid.c, nat/mips-linux-watch.c, 8063 1.1 christos nat/mips-linux-watch.h, nat/ppc-linux.c, nat/x86-dregs.c, 8064 1.1 christos nat/x86-dregs.h, nat/x86-linux-dregs.c, nat/x86-linux.c, 8065 1.1 christos nto-procfs.c, nto-tdep.c, objfile-flags.h, objfiles.c, objfiles.h, 8066 1.1 christos obsd-nat.c, observable.h, osdata.c, p-valprint.c, parse.c, 8067 1.1 christos parser-defs.h, ppc-linux-nat.c, printcmd.c, probe.c, proc-api.c, 8068 1.1 christos procfs.c, producer.c, progspace.h, psymtab.h, 8069 1.1 christos python/py-framefilter.c, python/py-inferior.c, python/py-ref.h, 8070 1.1 christos python/py-type.c, python/python.c, record-btrace.c, record-full.c, 8071 1.1 christos record.c, record.h, regcache-dump.c, regcache.c, regcache.h, 8072 1.1 christos remote-fileio.c, remote-fileio.h, remote-sim.c, remote.c, 8073 1.1 christos riscv-tdep.c, rs6000-aix-tdep.c, rust-exp.y, s12z-tdep.c, 8074 1.1 christos selftest-arch.c, ser-base.c, ser-event.c, ser-pipe.c, ser-tcp.c, 8075 1.1 christos ser-unix.c, skip.c, solib-aix.c, solib-target.c, solib.c, 8076 1.1 christos source-cache.c, source.c, source.h, sparc-nat.c, spu-linux-nat.c, 8077 1.1 christos stack.c, stap-probe.c, symfile-add-flags.h, symfile.c, symfile.h, 8078 1.1 christos symtab.c, symtab.h, target-descriptions.c, target-descriptions.h, 8079 1.1 christos target-memory.c, target.c, target.h, target/waitstatus.c, 8080 1.1 christos target/waitstatus.h, thread-iter.h, thread.c, tilegx-tdep.c, 8081 1.1 christos top.c, top.h, tracefile-tfile.c, tracefile.c, tracepoint.c, 8082 1.1 christos tracepoint.h, tui/tui-io.c, ui-file.c, ui-out.h, 8083 1.1 christos unittests/array-view-selftests.c, 8084 1.1 christos unittests/child-path-selftests.c, unittests/cli-utils-selftests.c, 8085 1.1 christos unittests/common-utils-selftests.c, 8086 1.1 christos unittests/copy_bitwise-selftests.c, unittests/environ-selftests.c, 8087 1.1 christos unittests/format_pieces-selftests.c, 8088 1.1 christos unittests/function-view-selftests.c, 8089 1.1 christos unittests/lookup_name_info-selftests.c, 8090 1.1 christos unittests/memory-map-selftests.c, unittests/memrange-selftests.c, 8091 1.1 christos unittests/mkdir-recursive-selftests.c, 8092 1.1 christos unittests/observable-selftests.c, 8093 1.1 christos unittests/offset-type-selftests.c, unittests/optional-selftests.c, 8094 1.1 christos unittests/parse-connection-spec-selftests.c, 8095 1.1 christos unittests/ptid-selftests.c, unittests/rsp-low-selftests.c, 8096 1.1 christos unittests/scoped_fd-selftests.c, 8097 1.1 christos unittests/scoped_mmap-selftests.c, 8098 1.1 christos unittests/scoped_restore-selftests.c, 8099 1.1 christos unittests/string_view-selftests.c, unittests/style-selftests.c, 8100 1.1 christos unittests/tracepoint-selftests.c, unittests/unpack-selftests.c, 8101 1.1 christos unittests/utils-selftests.c, unittests/xml-utils-selftests.c, 8102 1.1 christos utils.c, utils.h, valarith.c, valops.c, valprint.c, value.c, 8103 1.1 christos value.h, varobj.c, varobj.h, windows-nat.c, x86-linux-nat.c, 8104 1.1 christos xml-support.c, xml-support.h, xml-tdesc.h, xstormy16-tdep.c, 8105 1.1 christos xtensa-linux-nat.c, dwarf2read.h: Change common to gdbsupport. 8106 1.1 christos 8107 1.1 christos 2019-07-09 Andrew Burgess <andrew.burgess (a] embecosm.com> 8108 1.1 christos 8109 1.1 christos * linespec.c (decode_digits_list_mode): Set explicit_line to a 8110 1.1 christos bool value. 8111 1.1 christos (decode_digits_ordinary): Set explicit_line field in sal. 8112 1.1 christos * symtab.c (skip_prologue_sal): Don't skip prologue for a 8113 1.1 christos symtab_and_line that was set on an explicit line number in 8114 1.1 christos assembler code. Do always update the recorded symtab and line if 8115 1.1 christos we do skip the prologue. 8116 1.1 christos 8117 1.1 christos 2019-07-09 Andrew Burgess <andrew.burgess (a] embecosm.com> 8118 1.1 christos 8119 1.1 christos * breakpoint.c (set_breakpoint_location_function): Remove 8120 1.1 christos explicit_loc parameter. 8121 1.1 christos (momentary_breakpoint_from_master): Update call to 8122 1.1 christos set_breakpoint_location_function. 8123 1.1 christos (add_location_to_breakpoint): Likewise. 8124 1.1 christos 8125 1.1 christos 2019-07-09 Andrew Burgess <andrew.burgess (a] embecosm.com> 8126 1.1 christos 8127 1.1 christos * riscv-tdep.c (riscv_features_from_gdbarch_info): Don't modify 8128 1.1 christos required features based on default bfd type when no specific bfd 8129 1.1 christos is present. 8130 1.1 christos 8131 1.1 christos 2019-07-08 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 8132 1.1 christos 8133 1.1 christos * NEWS: Mention that GDB printf and eval commands can now print 8134 1.1 christos C-style and Ada-style convenience var strings without 8135 1.1 christos calling the inferior. 8136 1.1 christos * printcmd.c (printf_c_string): Locally print GDB internal var 8137 1.1 christos instead of transiting via the inferior. 8138 1.1 christos (printf_wide_c_string): Likewise. 8139 1.1 christos 8140 1.1 christos 2019-07-04 Alan Hayward <alan.hayward (a] arm.com> 8141 1.1 christos 8142 1.1 christos PR breakpoints/25011 8143 1.1 christos * symfile.c (symbol_file_command): Call solib_create_inferior_hook. 8144 1.1 christos 8145 1.1 christos 2019-07-04 Tom Tromey <tom (a] tromey.com> 8146 1.1 christos 8147 1.1 christos PR tui/24724: 8148 1.1 christos * tui/tui-winsource.c (tui_clear_source_content): Update. 8149 1.1 christos (tui_source_window_base::set_is_exec_point_at): Fix comment. 8150 1.1 christos (tui_update_breakpoint_info): Update. 8151 1.1 christos (tui_set_exec_info_content): Update. 8152 1.1 christos * tui/tui-source.c (tui_set_source_content_nil): Update. 8153 1.1 christos * tui/tui-disasm.c (tui_set_disassem_content): Don't set 8154 1.1 christos has_break. 8155 1.1 christos * tui/tui-data.h (enum tui_bp_flag): New. 8156 1.1 christos (tui_bp_flags): New enum flags type. 8157 1.1 christos (struct tui_source_element) <break_mode>: Change type. Rename 8158 1.1 christos from has_break. 8159 1.1 christos (TUI_BP_ENABLED, TUI_BP_DISABLED, TUI_BP_HIT) 8160 1.1 christos (TUI_BP_CONDITIONAL, TUI_BP_HARDWARE): Don't define. Now enum 8161 1.1 christos constants. 8162 1.1 christos * tui/tui-winsource.h: Fix comment. 8163 1.1 christos 8164 1.1 christos 2019-07-04 Alan Hayward <alan.hayward (a] arm.com> 8165 1.1 christos 8166 1.1 christos * aarch32-linux-nat.h (VFP_REGS_SIZE): Remove define. 8167 1.1 christos * aarch64-linux-nat.c (fetch_fpregs_from_thread) 8168 1.1 christos (store_fpregs_to_thread) 8169 1.1 christos (aarch64_linux_nat_target::read_description): Use ARM_VFP3_REGS_SIZE. 8170 1.1 christos * arch/arm.h (IWMMXT_VEC_REGISTER_SIZE, ARM_CORE_REGS_SIZE) 8171 1.1 christos (ARM_FP_REGS_SIZE, ARM_VFP2_REGS_SIZE, ARM_VFP3_REGS_SIZE) 8172 1.1 christos (IWMMXT_REGS_SIZE): Add define. 8173 1.1 christos * arm-linux-nat.c (IWMMXT_REGS_SIZE): Remove define. 8174 1.1 christos (fetch_vfp_regs, store_vfp_regs) 8175 1.1 christos (arm_linux_nat_target::read_description): Use ARM_VFP3_REGS_SIZE. 8176 1.1 christos * arm-tdep.c (arm_register_g_packet_guesses): Use new defines. 8177 1.1 christos 8178 1.1 christos 2019-07-04 Alan Hayward <alan.hayward (a] arm.com> 8179 1.1 christos 8180 1.1 christos * arch/arm-get-next-pcs.c (thumb_get_next_pcs_raw): Use ARM_ 8181 1.1 christos defines. 8182 1.1 christos * arch/arm-linux.c (arm_linux_sigreturn_next_pc_offset): Likewise. 8183 1.1 christos * arch/arm.h (INT_REGISTER_SIZE) Rename from... 8184 1.1 christos (ARM_INT_REGISTER_SIZE): ...to this. 8185 1.1 christos (ARM_FP_REGISTER_SIZE) (ARM_VFP_REGISTER_SIZE): Add define. 8186 1.1 christos * arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE) 8187 1.1 christos (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset) 8188 1.1 christos (arm_linux_collect_gregset, supply_nwfpe_register) 8189 1.1 christos (collect_nwfpe_register, arm_linux_collect_nwfpe): Use ARM_ 8190 1.1 christos defines. 8191 1.1 christos * arm-linux-tdep.h (ARM_LINUX_SIZEOF_NWFPE, NWFPE_FPSR_OFFSET) 8192 1.1 christos (NWFPE_FPCR_OFFSET, NWFPE_TAGS_OFFSET): Likewise 8193 1.1 christos * arm-nbsd-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Likewise. 8194 1.1 christos * arm-tdep.c (arm_push_dummy_call, arm_extract_return_value) 8195 1.1 christos (arm_return_in_memory, arm_store_return_value) 8196 1.1 christos (arm_get_longjmp_target, arm_register_g_packet_guesses) 8197 1.1 christos (arm_record_ld_st_multiple): Likewise. 8198 1.1 christos * arm-tdep.h (FP_REGISTER_SIZE, VFP_REGISTER_SIZE): Remove. 8199 1.1 christos * arm-wince-tdep.c (ARM_WINCE_JB_ELEMENT_SIZE): Use ARM_ defines. 8200 1.1 christos 8201 1.1 christos 2019-07-04 Alan Hayward <alan.hayward (a] arm.com> 8202 1.1 christos 8203 1.1 christos * aarch64-linux-tdep.c (aarch64_linux_init_abi): Use 8204 1.1 christos AARCH64_DISPLACED_MODIFIED_INSNS. 8205 1.1 christos * aarch64-tdep.c (struct aarch64_displaced_step_data) 8206 1.1 christos (aarch64_displaced_step_copy_insn): Likewise. 8207 1.1 christos * aarch64-tdep.h (DISPLACED_MODIFIED_INSNS): Rename from.. 8208 1.1 christos (AARCH64_DISPLACED_MODIFIED_INSNS): ...to this. 8209 1.1 christos * arm-linux-tdep.c (arm_linux_cleanup_svc): Use 8210 1.1 christos ARM_DISPLACED_MODIFIED_INSNS. 8211 1.1 christos * arm-tdep.c (arm_gdbarch_init): Likewise. 8212 1.1 christos * arm-tdep.h (DISPLACED_MODIFIED_INSNS): Rename from.. 8213 1.1 christos (ARM_DISPLACED_MODIFIED_INSNS): ...to this. 8214 1.1 christos (struct arm_displaced_step_closure): Use 8215 1.1 christos ARM_DISPLACED_MODIFIED_INSNS. 8216 1.1 christos 8217 1.1 christos 2019-07-04 Alan Hayward <alan.hayward (a] arm.com> 8218 1.1 christos 8219 1.1 christos * features/Makefile: Remove unused xml files. 8220 1.1 christos * features/aarch64.xml: Remove. 8221 1.1 christos * features/i386/amd64-avx-avx512-linux.xml: Remove. 8222 1.1 christos * features/i386/amd64-avx-avx512.xml: Remove. 8223 1.1 christos * features/i386/amd64-avx-linux.xml: Remove. 8224 1.1 christos * features/i386/amd64-avx-mpx-avx512-pku-linux.xml: Remove. 8225 1.1 christos * features/i386/amd64-avx-mpx-avx512-pku.xml: Remove. 8226 1.1 christos * features/i386/amd64-avx-mpx-linux.xml: Remove. 8227 1.1 christos * features/i386/amd64-avx-mpx.xml: Remove. 8228 1.1 christos * features/i386/amd64-avx.xml: Remove. 8229 1.1 christos * features/i386/amd64-linux.xml: Remove. 8230 1.1 christos * features/i386/amd64-mpx-linux.xml: Remove. 8231 1.1 christos * features/i386/amd64-mpx.xml: Remove. 8232 1.1 christos * features/i386/amd64.xml: Remove. 8233 1.1 christos * features/i386/i386-avx-avx512-linux.xml: Remove. 8234 1.1 christos * features/i386/i386-avx-avx512.xml: Remove. 8235 1.1 christos * features/i386/i386-avx-linux.xml: Remove. 8236 1.1 christos * features/i386/i386-avx-mpx-avx512-pku-linux.xml: Remove. 8237 1.1 christos * features/i386/i386-avx-mpx-avx512-pku.xml: Remove. 8238 1.1 christos * features/i386/i386-avx-mpx-linux.xml: Remove. 8239 1.1 christos * features/i386/i386-avx-mpx.xml: Remove. 8240 1.1 christos * features/i386/i386-avx.xml: Remove. 8241 1.1 christos * features/i386/i386-linux.xml: Remove. 8242 1.1 christos * features/i386/i386-mmx-linux.xml: Remove. 8243 1.1 christos * features/i386/i386-mmx.xml: Remove. 8244 1.1 christos * features/i386/i386-mpx-linux.xml: Remove. 8245 1.1 christos * features/i386/i386-mpx.xml: Remove. 8246 1.1 christos * features/i386/i386.xml: Remove. 8247 1.1 christos * features/i386/x32-avx-avx512-linux.xml: Remove. 8248 1.1 christos * features/i386/x32-avx-linux.xml: Remove. 8249 1.1 christos * features/i386/x32-linux.xml: Remove. 8250 1.1 christos 8251 1.1 christos 2019-07-04 Alan Hayward <alan.hayward (a] arm.com> 8252 1.1 christos 8253 1.1 christos * regformats/aarch64.dat: Remove. 8254 1.1 christos * regformats/i386/amd64-avx-avx512-linux.dat: Remove. 8255 1.1 christos * regformats/i386/amd64-avx-linux.dat: Remove. 8256 1.1 christos * regformats/i386/amd64-avx-mpx-avx512-pku-linux.dat: Remove. 8257 1.1 christos * regformats/i386/amd64-avx-mpx-linux.dat: Remove. 8258 1.1 christos * regformats/i386/amd64-linux.dat: Remove. 8259 1.1 christos * regformats/i386/amd64-mpx-linux.dat: Remove. 8260 1.1 christos * regformats/i386/amd64.dat: Remove. 8261 1.1 christos * regformats/i386/i386-avx-avx512-linux.dat: Remove. 8262 1.1 christos * regformats/i386/i386-avx-linux.dat: Remove. 8263 1.1 christos * regformats/i386/i386-avx-mpx-avx512-pku-linux.dat: Remove. 8264 1.1 christos * regformats/i386/i386-avx-mpx-linux.dat: Remove. 8265 1.1 christos * regformats/i386/i386-linux.dat: Remove. 8266 1.1 christos * regformats/i386/i386-mmx-linux.dat: Remove. 8267 1.1 christos * regformats/i386/i386-mpx-linux.dat: Remove. 8268 1.1 christos * regformats/i386/i386.dat: Remove. 8269 1.1 christos * regformats/i386/x32-avx-avx512-linux.dat: Remove. 8270 1.1 christos * regformats/i386/x32-avx-linux.dat: Remove. 8271 1.1 christos * regformats/i386/x32-linux.dat: Remove. 8272 1.1 christos 8273 1.1 christos 2019-07-04 Alan Hayward <alan.hayward (a] arm.com> 8274 1.1 christos 8275 1.1 christos * aarch64-tdep.c: Remove xml self tests. 8276 1.1 christos * amd64-linux-tdep.c: Likewise. 8277 1.1 christos * amd64-tdep.c: Likewise. 8278 1.1 christos * i386-linux-tdep.c: Likewise. 8279 1.1 christos * i386-tdep.c: Likewise. 8280 1.1 christos 8281 1.1 christos 2019-07-03 Pedro Alves <palves (a] redhat.com> 8282 1.1 christos 8283 1.1 christos PR cli/24732 8284 1.1 christos * cli/cli-cmds.c (struct pipe_cmd_opts): New. 8285 1.1 christos (pipe_cmd_option_defs): New. 8286 1.1 christos (make_pipe_cmd_options_def_group): New. 8287 1.1 christos (pipe_command): Use gdb::option::process_options. 8288 1.1 christos (pipe_command_completer): New function. 8289 1.1 christos (_initialize_cli_cmds): Install completer for "pipe" command. 8290 1.1 christos 8291 1.1 christos 2019-07-03 Pedro Alves <palves (a] redhat.com> 8292 1.1 christos 8293 1.1 christos * cli/cli-option.c (union option_value) <string>: New field. 8294 1.1 christos (struct option_def_and_value): Add ctor, move ctor, dtor and 8295 1.1 christos use DISABLE_COPY_AND_ASSIGN. 8296 1.1 christos (option_def_and_value::clear_value): New. 8297 1.1 christos (parse_option, save_option_value_in_ctx, get_val_type_str) 8298 1.1 christos (add_setshow_cmds_for_options): Handle var_string. 8299 1.1 christos * cli-option.h (union option_def::var_address) <string>: New 8300 1.1 christos field. 8301 1.1 christos (struct string_option_def): New. 8302 1.1 christos * maint-test-options.c (struct test_options_opts): Add default 8303 1.1 christos ctor and use DISABLE_COPY_AND_ASSIGN. 8304 1.1 christos <string_opt>: New field. 8305 1.1 christos (test_options_opts::~test_options_opts): New. 8306 1.1 christos (test_options_opts::dump): Also dump "-string". 8307 1.1 christos (test_options_option_defs): Install "string. 8308 1.1 christos 8309 1.1 christos 2019-07-03 Pedro Alves <palves (a] redhat.com> 8310 1.1 christos 8311 1.1 christos * cli/cli-option.c (parse_option) <var_enum>: Don't return an 8312 1.1 christos option_value with a null enumeration. 8313 1.1 christos (complete_options): Save the option values in the context. 8314 1.1 christos (save_option_value_in_ctx): New, factored out from ... 8315 1.1 christos (process_options): ... here. 8316 1.1 christos * cli/cli-utils.c (get_ulongest): Don't advance PP until the end 8317 1.1 christos of the function. 8318 1.1 christos * maint-test-options.c (test_options_opts::dump): New, factored 8319 1.1 christos out from ... 8320 1.1 christos (maintenance_test_options_command_mode): ... here. 8321 1.1 christos (maintenance_test_options_command_completion_result): Delete. 8322 1.1 christos (maintenance_test_options_command_completion_text): Update 8323 1.1 christos comment. 8324 1.1 christos (maintenance_show_test_options_completion_result): Change 8325 1.1 christos prototype. Just print 8326 1.1 christos maintenance_test_options_command_completion_text. 8327 1.1 christos (save_completion_result): New. 8328 1.1 christos (maintenance_test_options_completer_mode): Pass options context to 8329 1.1 christos complete_options, and then save a dump. 8330 1.1 christos (_initialize_maint_test_options): Use add_cmd to install "maint 8331 1.1 christos show test-options-completion-result". 8332 1.1 christos 8333 1.1 christos 2019-07-03 Pedro Alves <palves (a] redhat.com> 8334 1.1 christos 8335 1.1 christos * NEWS (New commands): Mention "with" and "maint with". 8336 1.1 christos * cli/cli-cmds.c (with_command_1, with_command_completer_1) 8337 1.1 christos (with_command, with_command_completer): New. 8338 1.1 christos (pipe_command): Adjust to new repeat_previous 8339 1.1 christos interface. 8340 1.1 christos (_initialize_cli_cmds): Install the "with" command and its "w" 8341 1.1 christos alias. 8342 1.1 christos * cli/cli-cmds.h (with_command_1, with_command_completer_1): New 8343 1.1 christos declarations. 8344 1.1 christos * cli/cli-setshow.c (parse_cli_var_uinteger) 8345 1.1 christos (parse_cli_var_zuinteger_unlimited, do_set_command): Handle empty 8346 1.1 christos argument strings for all var_types. 8347 1.1 christos (get_setshow_command_value_string): New, factored out from ... 8348 1.1 christos (do_show_command): ... this. 8349 1.1 christos * cli/cli-setshow.h: Include <string>. 8350 1.1 christos (get_setshow_command_value_string): Declare. 8351 1.1 christos * command.h (repeat_previous): Now returns const char *. Adjust 8352 1.1 christos comment. 8353 1.1 christos * maint.c: Include "cli/cli-cmds.h". 8354 1.1 christos (maintenance_with_cmd, maintenance_with_cmd_completer): New. 8355 1.1 christos (_initialize_maint_cmds): Register the "maintenance with" command. 8356 1.1 christos * top.c (repeat_previous): Move bits from pipe_command here: 8357 1.1 christos Return the saved command line, if any; error out if there's no 8358 1.1 christos command to relaunch. 8359 1.1 christos 8360 1.1 christos 2019-07-03 Pedro Alves <palves (a] redhat.com> 8361 1.1 christos 8362 1.1 christos * NEWS (New commands): Mention "maint set/show test-settings" 8363 1.1 christos instead of "maint test-settings". 8364 1.1 christos * maint-test-settings.c (maintenance_test_settings_list): Delete. 8365 1.1 christos (maintenance_test_settings_set_list): Rename to ... 8366 1.1 christos (maintenance_set_test_settings_list): ... this. 8367 1.1 christos (maintenance_test_settings_show_list): Rename to ... 8368 1.1 christos (maintenance_show_test_settings_list): ... this. 8369 1.1 christos (maintenance_test_settings_cmd): Delete. 8370 1.1 christos (maintenance_test_settings_set_cmd): ... 8371 1.1 christos (maintenance_set_test_settings_cmd): ... this. 8372 1.1 christos (maintenance_test_settings_show_cmd): ... 8373 1.1 christos (maintenance_show_test_settings_cmd): ... this. 8374 1.1 christos (maintenance_test_settings_show_value_cmd): 8375 1.1 christos (maintenance_show_test_settings_value_cmd): ... this. 8376 1.1 christos (_initialize_maint_test_settings): No longer install the "maint 8377 1.1 christos test-settings" prefix command. Rename "maint test-settings set" 8378 1.1 christos to "maint set test-settings", and "maint test-settings show" to 8379 1.1 christos "maint show test-settings". Adjust all subcommands. 8380 1.1 christos 8381 1.1 christos 2019-07-03 Pedro Alves <palves (a] redhat.com> 8382 1.1 christos 8383 1.1 christos * maint-test-settings.c: Fix file's intro comment. Replace all 8384 1.1 christos references to "test-options" with references to "test-settings", 8385 1.1 christos in comments. 8386 1.1 christos 8387 1.1 christos 2019-07-03 Pedro Alves <palves (a] redhat.com> 8388 1.1 christos 8389 1.1 christos * maint-test-settings.c (maintenance_test_settings_xxx) 8390 1.1 christos (maintenance_test_settings_yyy, maintenance_test_settings_zzz): 8391 1.1 christos New. 8392 1.1 christos (maintenance_test_settings_enums): Use them. 8393 1.1 christos (maintenance_test_settings_enum): Default to 8394 1.1 christos maintenance_test_settings_xxx. 8395 1.1 christos (_initialize_maint_test_settings): Initialize 8396 1.1 christos MAINTENANCE_TEST_SETTINGS_FILENAME. 8397 1.1 christos 8398 1.1 christos 2019-07-02 Simon Marchi <simon.marchi (a] polymtl.ca> 8399 1.1 christos 8400 1.1 christos * breakpoint.h (remove_breakpoints_inf): Change return type to 8401 1.1 christos void, move function documentation here. 8402 1.1 christos * breakpoint.c (remove_breakpoints_inf): Change return type to 8403 1.1 christos void, move function documentation to header. 8404 1.1 christos 8405 1.1 christos 2019-07-02 Pedro Alves <palves (a] redhat.com> 8406 1.1 christos 8407 1.1 christos * NEWS (Completion improvements): Mention "info threads". 8408 1.1 christos * thread.c (struct info_threads_opts, info_threads_option_defs) 8409 1.1 christos (make_info_threads_options_def_group): New. 8410 1.1 christos (info_threads_command): Use gdb::option::process_options. 8411 1.1 christos (info_threads_command_completer): New. 8412 1.1 christos (_initialize_thread): Use gdb::option::build_help to build the 8413 1.1 christos help text for "info threads". 8414 1.1 christos 8415 1.1 christos 2019-07-02 Simon Marchi <simon.marchi (a] polymtl.ca> 8416 1.1 christos 8417 1.1 christos * defs.h (generic_load): Move from here... 8418 1.1 christos * symfile.h (generic_load): ... to here. Rename name parameter 8419 1.1 christos to args. 8420 1.1 christos * symfile.c (generic_load): Add comment. 8421 1.1 christos 8422 1.1 christos 2019-07-01 Tom Tromey <tromey (a] adacore.com> 8423 1.1 christos 8424 1.1 christos * dwarf2read.c 8425 1.1 christos (dw2_debug_names_iterator::find_vec_in_debug_names): Hoist 8426 1.1 christos declaration of without_params. Fix formatting. 8427 1.1 christos 8428 1.1 christos 2019-07-01 Tom Tromey <tromey (a] adacore.com> 8429 1.1 christos 8430 1.1 christos * ada-exp.y (find_primitive_type): Update. 8431 1.1 christos * ada-lang.h (ada_lookup_symbol): Update. 8432 1.1 christos * ada-lang.c (ada_lookup_symbol): Remove "is_a_field_of_this" 8433 1.1 christos parameter. 8434 1.1 christos (ada_lookup_encoded_symbol, ada_lookup_symbol_nonlocal): Update. 8435 1.1 christos 8436 1.1 christos 2019-06-28 Sergio Durigan Junior <sergiodj (a] redhat.com> 8437 1.1 christos 8438 1.1 christos PR breakpoints/24541 8439 1.1 christos * gdbarch.c: Regenerate. 8440 1.1 christos * gdbarch.h: Regenerate. 8441 1.1 christos * gdbarch.sh: Add 'stap_adjust_register'. 8442 1.1 christos * i386-tdep.c: Include '<unordered_set>'. 8443 1.1 christos (i386_stap_adjust_register): New function. 8444 1.1 christos (i386_elf_init_abi): Register 'i386_stap_adjust_register'. 8445 1.1 christos * stap-probe.c (stap_parse_register_operand): Call 8446 1.1 christos 'gdbarch_stap_adjust_register'. 8447 1.1 christos 8448 1.1 christos 2019-06-28 Sergio Durigan Junior <sergiodj (a] redhat.com> 8449 1.1 christos 8450 1.1 christos PR python/24742 8451 1.1 christos https://bugzilla.redhat.com/show_bug.cgi?id=1723564 8452 1.1 christos * python/python.c (do_start_initialization): Use 'xmalloc' 8453 1.1 christos instead of 'PyMem_Malloc'. 8454 1.1 christos 8455 1.1 christos 2019-06-28 Tom Tromey <tromey (a] adacore.com> 8456 1.1 christos 8457 1.1 christos * dwarf2read.c (partial_die_info::read): Prefer the linkage name 8458 1.1 christos for Ada. 8459 1.1 christos 8460 1.1 christos 2019-06-27 Tom Tromey <tromey (a] adacore.com> 8461 1.1 christos 8462 1.1 christos * arm-tdep.c (arm_objfile_data_key): Move lower. Change type to 8463 1.1 christos objfile_key. 8464 1.1 christos (arm_find_mapping_symbol, arm_record_special_symbol) 8465 1.1 christos (_initialize_arm_tdep): Update. 8466 1.1 christos (arm_objfile_data_free): Remove. 8467 1.1 christos 8468 1.1 christos 2019-06-27 Tom Tromey <tromey (a] adacore.com> 8469 1.1 christos 8470 1.1 christos * cp-valprint.c (cp_print_value_fields): Pass opts, not options, 8471 1.1 christos to cp_print_static_field. 8472 1.1 christos 8473 1.1 christos 2019-06-26 Tom Tromey <tromey (a] adacore.com> 8474 1.1 christos 8475 1.1 christos * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove. 8476 1.1 christos * minsyms.h (lookup_minimal_symbol_solib_trampoline): Don't 8477 1.1 christos declare. 8478 1.1 christos 8479 1.1 christos 2019-06-26 Alan Hayward <alan.hayward (a] arm.com> 8480 1.1 christos 8481 1.1 christos * features/aarch64-core.c (create_feature_aarch64_core): 8482 1.1 christos Regenerate. 8483 1.1 christos * features/aarch64-core.xml: Add cpsr flags. 8484 1.1 christos 8485 1.1 christos 2019-06-26 Alan Hayward <alan.hayward (a] arm.com> 8486 1.1 christos 8487 1.1 christos * arm-tdep.c (arm_gnu_triplet_regexp): New function. 8488 1.1 christos (arm_gdbarch_init): Add arm_gnu_triplet_regexp. 8489 1.1 christos 8490 1.1 christos 2019-06-25 Simon Marchi <simon.marchi (a] polymtl.ca> 8491 1.1 christos 8492 1.1 christos * arm-tdep.c (struct arm_per_objfile) <section_maps_sorted>: New 8493 1.1 christos field. 8494 1.1 christos (arm_find_mapping_symbol): Sort mapping symbol vectors on first 8495 1.1 christos use. 8496 1.1 christos (arm_record_special_symbol): Don't insert new symbol in sorted 8497 1.1 christos position, push it at the end. 8498 1.1 christos 8499 1.1 christos 2019-06-25 Simon Marchi <simon.marchi (a] polymtl.ca> 8500 1.1 christos 8501 1.1 christos * arm-tdep.c (struct arm_mapping_symbol) (operator <): New. 8502 1.1 christos (arm_mapping_symbol_s): Remove. 8503 1.1 christos (DEF_VEC_O(arm_mapping_symbol_s)): Remove. 8504 1.1 christos (arm_mapping_symbol_vec): New typedef. 8505 1.1 christos (struct arm_per_objfile): Add constructor. 8506 1.1 christos <section_maps>: Change type to 8507 1.1 christos std::unique_ptr<arm_mapping_symbol_vec[]>. 8508 1.1 christos (arm_compare_mapping_symbols): Remove. 8509 1.1 christos (arm_find_mapping_symbol): Adjust to section_maps type change. 8510 1.1 christos (arm_objfile_data_free): Call delete on arm_per_objfile. 8511 1.1 christos (arm_record_special_symbol): Adjust to section_maps type change. 8512 1.1 christos Allocate arm_per_objfile with new. 8513 1.1 christos 8514 1.1 christos 2019-06-25 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 8515 1.1 christos 8516 1.1 christos * cli/cli-cmds.c (alias_command): Compare the alias prefix 8517 1.1 christos with the command prefix. 8518 1.1 christos 8519 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8520 1.1 christos 8521 1.1 christos * tui/tui-wingeneral.c (tui_delete_win): Remove "return". 8522 1.1 christos * tui/tui-data.c (~tui_gen_win_info): Remove "if". 8523 1.1 christos 8524 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8525 1.1 christos 8526 1.1 christos * tui/tui-layout.c (init_and_make_win): Assert on unrecognized 8527 1.1 christos type. 8528 1.1 christos * tui/tui-data.h (struct tui_gen_win_info): Make constructor 8529 1.1 christos protected. 8530 1.1 christos 8531 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8532 1.1 christos 8533 1.1 christos * tui/tui-winsource.c 8534 1.1 christos (tui_source_window_base::set_is_exec_point_at): Add check against 8535 1.1 christos LOA_ADDRESS. 8536 1.1 christos 8537 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8538 1.1 christos 8539 1.1 christos * tui/tui-source.c (tui_set_source_content): Don't check before 8540 1.1 christos xfree. 8541 1.1 christos * tui/tui-disasm.c (tui_disassemble): Don't check before xfree. 8542 1.1 christos 8543 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8544 1.1 christos 8545 1.1 christos * tui/tui-winsource.h (tui_update_source_window_as_is) 8546 1.1 christos (tui_alloc_source_buffer, tui_line_is_displayed) 8547 1.1 christos (tui_addr_is_displayed): Change type of win_info. 8548 1.1 christos * tui/tui-winsource.c (tui_update_source_window_as_is) 8549 1.1 christos (tui_clear_source_content, tui_show_source_line) 8550 1.1 christos (tui_show_source_content, tui_source_window_base::refill) 8551 1.1 christos (tui_source_window_base::set_is_exec_point_at) 8552 1.1 christos (tui_source_window_base::set_is_exec_point_at) 8553 1.1 christos (tui_update_breakpoint_info, tui_set_exec_info_content): Update. 8554 1.1 christos (tui_alloc_source_buffer, tui_line_is_displayed) 8555 1.1 christos (tui_addr_is_displayed): Change type of win_info. Update. 8556 1.1 christos * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights) 8557 1.1 christos (tui_source_window_base::do_make_visible_with_new_height): 8558 1.1 christos Update. 8559 1.1 christos * tui/tui-source.c (tui_set_source_content) 8560 1.1 christos (tui_set_source_content_nil) 8561 1.1 christos (tui_source_window::do_scroll_vertical): Update. 8562 1.1 christos * tui/tui-layout.c (show_layout): Update. 8563 1.1 christos * tui/tui-disasm.c (tui_set_disassem_content) 8564 1.1 christos (tui_disasm_window::do_scroll_vertical): Update. 8565 1.1 christos * tui/tui-data.h (tui_win_content): Remove. 8566 1.1 christos (struct tui_gen_win_info) <content, content_size>: Remove. 8567 1.1 christos (struct tui_source_element): Add initializers and destructor. 8568 1.1 christos (union tui_which_element, struct tui_win_element): Remove. 8569 1.1 christos (struct tui_source_window_base) <content>: New field. 8570 1.1 christos (struct tui_data_window): Remove destructor. 8571 1.1 christos (tui_alloc_content, tui_free_win_content) 8572 1.1 christos (tui_free_all_source_wins_content): Don't declare. 8573 1.1 christos * tui/tui-data.c (tui_initialize_static_data): Update. 8574 1.1 christos (init_content_element, tui_alloc_content): Remove. 8575 1.1 christos (~tui_gen_win_info): Update. 8576 1.1 christos (~tui_data_window, tui_free_all_source_wins_content) 8577 1.1 christos (tui_free_win_content, free_content, free_content_elements): 8578 1.1 christos Remove. 8579 1.1 christos 8580 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8581 1.1 christos 8582 1.1 christos * tui/tui-winsource.h (tui_clear_source_content) 8583 1.1 christos (tui_erase_source_content, tui_show_source_content): Change type 8584 1.1 christos of win_info. 8585 1.1 christos * tui/tui-winsource.c (tui_clear_source_content) 8586 1.1 christos (tui_erase_source_content, tui_show_source_content): Change type 8587 1.1 christos of win_info. 8588 1.1 christos * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights): Update. 8589 1.1 christos * tui/tui-source.h (tui_set_source_content_nil): Change type of 8590 1.1 christos win_info. 8591 1.1 christos * tui/tui-source.c (tui_set_source_content_nil): Change type of 8592 1.1 christos win_info. 8593 1.1 christos * tui/tui-layout.c (show_source_or_disasm_and_command): Update. 8594 1.1 christos 8595 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8596 1.1 christos 8597 1.1 christos * tui/tui-winsource.c (tui_clear_source_content) 8598 1.1 christos (tui_source_window_base::set_is_exec_point_at): Update. 8599 1.1 christos * tui/tui-source.c (tui_set_source_content_nil): Update. 8600 1.1 christos * tui/tui-data.h (struct tui_source_element) <is_exec_point>: Now 8601 1.1 christos a bool. 8602 1.1 christos * tui/tui-data.c (init_content_element): Update. 8603 1.1 christos 8604 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8605 1.1 christos 8606 1.1 christos * tui/tui-wingeneral.c (tui_gen_win_info::make_visible): Update. 8607 1.1 christos * tui/tui-win.c (make_invisible_and_set_new_height): Update. 8608 1.1 christos * tui/tui-layout.c (init_and_make_win): Update. 8609 1.1 christos * tui/tui.h (enum tui_win_type): Update. 8610 1.1 christos * tui/tui-data.h (tui_win_is_auxiliary): Rename from 8611 1.1 christos tui_win_is_auxillary. 8612 1.1 christos * tui/tui-data.c (tui_win_is_auxiliary): Rename from 8613 1.1 christos tui_win_is_auxillary. 8614 1.1 christos 8615 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8616 1.1 christos 8617 1.1 christos * tui/tui-wingeneral.c (tui_data_window::refresh_window): Update. 8618 1.1 christos * tui/tui-windata.c (tui_data_window::first_data_item_displayed) 8619 1.1 christos (tui_delete_data_content_windows, tui_display_all_data) 8620 1.1 christos (tui_data_window::do_scroll_vertical, tui_display_data_from): 8621 1.1 christos Update. 8622 1.1 christos * tui/tui-win.c (tui_data_window::set_new_height): Simplify. 8623 1.1 christos * tui/tui-regs.c (tui_last_regs_line_no) 8624 1.1 christos (tui_line_from_reg_element_no, tui_first_reg_element_no_inline) 8625 1.1 christos (tui_show_registers): Update. 8626 1.1 christos (tui_show_register_group): Return void. Update. 8627 1.1 christos (tui_display_registers_from, tui_display_reg_element_at_line) 8628 1.1 christos (tui_display_registers_from_line, tui_check_register_values): 8629 1.1 christos Update. 8630 1.1 christos * tui/tui-data.h (union tui_which_element) <data_window>: Remove 8631 1.1 christos member. 8632 1.1 christos (struct tui_data_window) <regs_content>: Now a std::vector. 8633 1.1 christos <regs_content_count>: Remove. 8634 1.1 christos (tui_add_content_elements, tui_free_data_content): Don't declare. 8635 1.1 christos * tui/tui-data.c (tui_data_window::clear_detail): Update. 8636 1.1 christos (init_content_element): Remove DATA_WIN case. Add assert. 8637 1.1 christos (tui_add_content_elements): Remove. 8638 1.1 christos (tui_data_window): Update. 8639 1.1 christos (tui_free_data_content): Remove. 8640 1.1 christos (free_content_elements): Remove DATA_WIN case. 8641 1.1 christos 8642 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8643 1.1 christos 8644 1.1 christos * tui/tui-data.c (tui_data_item_window): Update. 8645 1.1 christos * tui/tui-windata.h (tui_check_data_values): Don't declare. 8646 1.1 christos * tui/tui-windata.c (tui_display_all_data) 8647 1.1 christos (tui_display_data_from_line): Update. 8648 1.1 christos (tui_check_data_values): Remove. 8649 1.1 christos * tui/tui-regs.c (tui_show_register_group) 8650 1.1 christos (tui_display_reg_element_at_line): Update. 8651 1.1 christos * tui/tui-hooks.c (tui_register_changed) 8652 1.1 christos (tui_refresh_frame_and_register_information): Call 8653 1.1 christos tui_check_register_values. 8654 1.1 christos * tui/tui-data.h (struct tui_data_window) <data_content, 8655 1.1 christos data_content_count, data_type>: Remove. 8656 1.1 christos (enum tui_data_type): Remove. 8657 1.1 christos 8658 1.1 christos * tui/tui-data.c (tui_data_window::clear_detail) 8659 1.1 christos (~tui_data_window): Update. 8660 1.1 christos 8661 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8662 1.1 christos 8663 1.1 christos * tui/tui-windata.h (tui_first_data_item_displayed): Don't 8664 1.1 christos declare. 8665 1.1 christos * tui/tui-windata.c (tui_data_window::first_data_item_displayed): 8666 1.1 christos Rename from tui_first_data_item_displayed. Update. 8667 1.1 christos (tui_data_window::refresh_all) 8668 1.1 christos (tui_data_window::do_scroll_vertical): Update. 8669 1.1 christos * tui/tui-data.h (struct tui_data_window) 8670 1.1 christos <first_data_item_displayed>: Declare new method. 8671 1.1 christos 8672 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8673 1.1 christos 8674 1.1 christos * tui/tui-data.h (tui_init_generic_part): Don't declare. 8675 1.1 christos * tui/tui-data.c (tui_init_generic_part): Remove, moving 8676 1.1 christos contents... 8677 1.1 christos (tui_initialize_static_data): ...here. 8678 1.1 christos 8679 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8680 1.1 christos 8681 1.1 christos * tui/tui-regs.c (tui_show_registers, tui_show_register_group) 8682 1.1 christos (tui_display_registers_from, tui_check_register_values): Update. 8683 1.1 christos (tui_display_register): Remove win_info parameter; update. 8684 1.1 christos (tui_get_register): Change type of parameters. 8685 1.1 christos * tui/tui-data.h (struct tui_data_element): Remove. 8686 1.1 christos (union tui_which_element) <data>: Remove. 8687 1.1 christos <data_window>: Change type. 8688 1.1 christos (struct tui_data_item_window): New. 8689 1.1 christos * tui/tui-data.c (init_content_element): Remove DATA_ITEM_WIN 8690 1.1 christos case. Add assert. 8691 1.1 christos (~tui_data_item_window): New destructor. 8692 1.1 christos (free_content_elements): Remove DATA_ITEM_WIN case. 8693 1.1 christos 8694 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8695 1.1 christos 8696 1.1 christos * tui/tui.h (enum tui_win_type) <MAX_WINDOWS, UNDEFINED_WIN>: 8697 1.1 christos Remove. 8698 1.1 christos 8699 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8700 1.1 christos 8701 1.1 christos * tui/tui-data.h (struct tui_command_element): Remove. 8702 1.1 christos (union tui_which_element) <command>: Remove. 8703 1.1 christos * tui/tui-data.c (init_content_element): Remove CMD_WIN case. Add 8704 1.1 christos assert. 8705 1.1 christos (free_content_elements): Remove CMD_WIN case. 8706 1.1 christos 8707 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8708 1.1 christos 8709 1.1 christos * tui/tui-layout.c (tui_set_layout): Update. 8710 1.1 christos * tui/tui-data.h (struct tui_layout_def) <split>: Remove. 8711 1.1 christos * tui/tui-data.c (layout_def): Update. 8712 1.1 christos 8713 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8714 1.1 christos 8715 1.1 christos * tui/tui-wingeneral.c (tui_refresh_all): Update. 8716 1.1 christos * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights) 8717 1.1 christos (tui_source_window_base::set_new_height): Update. 8718 1.1 christos * tui/tui-stack.c (tui_make_status_line): Change parameter type. 8719 1.1 christos Update. 8720 1.1 christos (tui_set_locator_fullname, tui_set_locator_info) 8721 1.1 christos (tui_show_frame_info): Update. 8722 1.1 christos * tui/tui-source.c (tui_set_source_content) 8723 1.1 christos (tui_source_is_displayed): Update. 8724 1.1 christos * tui/tui-layout.c (show_source_disasm_command, show_data) 8725 1.1 christos (show_source_or_disasm_and_command): Update. 8726 1.1 christos * tui/tui-disasm.c (tui_set_disassem_content) 8727 1.1 christos (tui_get_begin_asm_address): Update. 8728 1.1 christos * tui/tui-data.h (struct tui_locator_element): Remove. 8729 1.1 christos (union tui_which_element) <locator>: Remove. 8730 1.1 christos (struct tui_locator_window): New. 8731 1.1 christos (tui_locator_win_info_ptr): Change return type. 8732 1.1 christos * tui/tui-data.c (_locator): Change type. 8733 1.1 christos (tui_locator_win_info_ptr): Change return type. 8734 1.1 christos (init_content_element): Remove LOCATOR_WIN case. Add assert. 8735 1.1 christos (tui_alloc_content): Add assert. 8736 1.1 christos 8737 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8738 1.1 christos 8739 1.1 christos * tui/tui-winsource.c 8740 1.1 christos (tui_exec_info_window::maybe_allocate_content): New method. 8741 1.1 christos (tui_set_exec_info_content, tui_show_exec_info_content): Update. 8742 1.1 christos * tui/tui-layout.c (init_and_make_win): Add EXEC_INFO_WIN case. 8743 1.1 christos (make_source_or_disasm_window): Add cast. 8744 1.1 christos * tui/tui-data.h (union tui_which_element) <simple_string>: 8745 1.1 christos Remove. 8746 1.1 christos (struct tui_source_info): New. 8747 1.1 christos (struct tui_source_window_base) <execution_info>: Change type. 8748 1.1 christos * tui/tui-data.c (init_content_element): Remove EXEC_INFO_WIN 8749 1.1 christos case, and add assert. 8750 1.1 christos (tui_alloc_content): Add assert. 8751 1.1 christos 8752 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8753 1.1 christos 8754 1.1 christos * tui/tui-data.h (tui_alloc_win_info): Don't declare. 8755 1.1 christos * tui/tui-layout.c (init_and_make_win): Use "new" directly. 8756 1.1 christos * tui/tui-data.c (tui_alloc_win_info): Remove. 8757 1.1 christos 8758 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8759 1.1 christos 8760 1.1 christos * tui/tui-win.c (tui_set_win_focus_to): Don't check window type. 8761 1.1 christos * tui/tui-wingeneral.c (tui_unhighlight_win): Check 8762 1.1 christos can_highlight. 8763 1.1 christos 8764 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8765 1.1 christos 8766 1.1 christos * tui/tui-win.c (tui_source_window_base::update_tab_width): Call 8767 1.1 christos make_visible_with_new_height method. 8768 1.1 christos (tui_win_info::make_visible_with_new_height): New method. 8769 1.1 christos (tui_source_window_base::do_make_visible_with_new_height) 8770 1.1 christos (tui_data_window::do_make_visible_with_new_height) 8771 1.1 christos (tui_cmd_window::do_make_visible_with_new_height): New methods. 8772 1.1 christos (make_visible_with_new_height): Remove. 8773 1.1 christos (tui_resize_all, tui_adjust_win_heights): Use 8774 1.1 christos make_visible_with_new_height method. 8775 1.1 christos * tui/tui-data.h (struct tui_win_info) 8776 1.1 christos <do_make_visible_with_new_height, make_visible_with_new_height>: 8777 1.1 christos New methods. 8778 1.1 christos (struct tui_source_window_base, struct tui_data_window) 8779 1.1 christos (struct tui_cmd_window) <do_make_visible_with_new_height>: New 8780 1.1 christos methods. 8781 1.1 christos 8782 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8783 1.1 christos 8784 1.1 christos * tui/tui-win.c (tui_source_window_base::update_tab_width): New 8785 1.1 christos method. 8786 1.1 christos (update_tab_width): Call update_tab_width method. 8787 1.1 christos * tui/tui-data.h (struct tui_win_info) 8788 1.1 christos (struct tui_source_window_base) <update_tab_width>: New methods. 8789 1.1 christos 8790 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8791 1.1 christos 8792 1.1 christos * tui/tui-wingeneral.h (tui_make_window): Change type of "box_it" 8793 1.1 christos parameter. 8794 1.1 christos * tui/tui-wingeneral.c (tui_make_window): Change type of "box_it" 8795 1.1 christos parameter. 8796 1.1 christos (tui_gen_win_info::make_visible): Update. 8797 1.1 christos * tui/tui-layout.c (init_and_make_win): Change type of "box_it" 8798 1.1 christos parameter. 8799 1.1 christos * tui/tui-data.h (enum tui_box): New enum. 8800 1.1 christos (BOX_WINDOW, DONT_BOX_WINDOW): Remove defines. 8801 1.1 christos 8802 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8803 1.1 christos 8804 1.1 christos * tui/tui-layout.c (make_source_or_disasm_window): Always use 8805 1.1 christos init_and_make_win for EXEC_INFO_WIN. 8806 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <~tui_gen_win_info>: No 8807 1.1 christos longer inline. 8808 1.1 christos (struct tui_win_info) <~tui_win_info>: Inline. 8809 1.1 christos (tui_source_exec_info_win_ptr, tui_disassem_exec_info_win_ptr): 8810 1.1 christos Don't declare. 8811 1.1 christos * tui/tui-data.c (source_win, disasm_win): Remove globals. 8812 1.1 christos (tui_source_exec_info_win_ptr, tui_disassem_exec_info_win_ptr): 8813 1.1 christos Remove. 8814 1.1 christos (tui_initialize_static_data): Update. 8815 1.1 christos (~tui_gen_win_info): Handle more cleanup here. 8816 1.1 christos (~tui_source_window_base): Delete "execution_info". 8817 1.1 christos (~tui_win_info): Move code to ~tui_gen_win_info; remove. 8818 1.1 christos 8819 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8820 1.1 christos 8821 1.1 christos * tui/tui-layout.c (make_command_window): Don't set 8822 1.1 christos can_highlight. 8823 1.1 christos (show_source_disasm_command): Call the reset method. 8824 1.1 christos (show_data): Don't set can_highlight. Call the reset method. 8825 1.1 christos (tui_gen_win_info::reset): Rename from init_gen_win_info 8826 1.1 christos (init_and_make_win): Simplify. Return tui_gen_win_info. 8827 1.1 christos (show_source_or_disasm_and_command): Call the reset method. 8828 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <reset>: New method. 8829 1.1 christos (struct tui_cmd_window): Set can_highlight. 8830 1.1 christos 8831 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8832 1.1 christos 8833 1.1 christos * tui/tui-wingeneral.c (tui_gen_win_info::make_visible): Rename 8834 1.1 christos from make_visible. 8835 1.1 christos (tui_make_visible, tui_make_invisible): Rewrite. 8836 1.1 christos (tui_win_info::make_visible): Remove. 8837 1.1 christos (tui_source_window_base::make_visible): Update. 8838 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <make_visible>: New 8839 1.1 christos method. Moved from... 8840 1.1 christos (struct tui_win_info) <make_visible>: ...here. 8841 1.1 christos 8842 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8843 1.1 christos 8844 1.1 christos * tui/tui-winsource.c 8845 1.1 christos (tui_source_window_base::do_scroll_horizontal): Remove direction 8846 1.1 christos parameter. 8847 1.1 christos * tui/tui-windata.c (tui_data_window::do_scroll_vertical): Remove 8848 1.1 christos direction parameter. 8849 1.1 christos * tui/tui-win.c (tui_win_info::forward_scroll) 8850 1.1 christos (tui_win_info::backward_scroll, tui_win_info::left_scroll) 8851 1.1 christos (tui_win_info::right_scroll): Update. 8852 1.1 christos * tui/tui-source.c (tui_source_window::do_scroll_vertical): Remove 8853 1.1 christos direction parameter. 8854 1.1 christos * tui/tui-disasm.c (tui_disasm_window::do_scroll_vertical): Remove 8855 1.1 christos direction parameter. 8856 1.1 christos * tui/tui-data.h (enum tui_scroll_direction): Remove. 8857 1.1 christos (struct tui_win_info) <do_scroll_vertical, do_scroll_horizontal>: 8858 1.1 christos Remove direction parameter. 8859 1.1 christos (struct tui_source_window_base, struct tui_source_window) 8860 1.1 christos (struct tui_disasm_window, struct tui_data_window) 8861 1.1 christos (struct tui_cmd_window): Update. 8862 1.1 christos 8863 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8864 1.1 christos 8865 1.1 christos * tui/tui-winsource.h (tui_set_exec_info_content) 8866 1.1 christos (tui_show_exec_info_content, tui_erase_exec_info_content) 8867 1.1 christos (tui_clear_exec_info_content, tui_update_exec_info): Change 8868 1.1 christos argument to tui_source_window_base. 8869 1.1 christos * tui/tui-winsource.c (tui_set_exec_info_content) 8870 1.1 christos (tui_show_exec_info_content, tui_erase_exec_info_content) 8871 1.1 christos (tui_clear_exec_info_content, tui_update_exec_info): Change 8872 1.1 christos argument to tui_source_window_base. 8873 1.1 christos 8874 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8875 1.1 christos 8876 1.1 christos * tui/tui-winsource.h (tui_set_exec_info_content): Return void. 8877 1.1 christos * tui/tui-winsource.c (tui_set_exec_info_content): Return void. 8878 1.1 christos 8879 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8880 1.1 christos 8881 1.1 christos * tui/tui-winsource.c (tui_set_exec_info_content): Remove NULL 8882 1.1 christos check. 8883 1.1 christos 8884 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8885 1.1 christos 8886 1.1 christos * tui/tui-winsource.h (tui_alloc_source_buffer): Change return 8887 1.1 christos type to void. 8888 1.1 christos * tui/tui-winsource.c (tui_alloc_source_buffer): Change return 8889 1.1 christos type to void. 8890 1.1 christos * tui/tui-source.c (tui_set_source_content): Update. 8891 1.1 christos * tui/tui-disasm.c (tui_set_disassem_content): Update. 8892 1.1 christos 8893 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8894 1.1 christos 8895 1.1 christos * tui/tui-win.c (window_name_completer, tui_set_focus) 8896 1.1 christos (tui_all_windows_info): Use name method. 8897 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) 8898 1.1 christos (struct tui_source_window, struct tui_disasm_window) 8899 1.1 christos (struct tui_data_window, struct tui_cmd_window) <name>: New 8900 1.1 christos method. 8901 1.1 christos (tui_win_name): Don't declare. 8902 1.1 christos * tui/tui-data.c (tui_partial_win_by_name): Use name method. 8903 1.1 christos (tui_win_name): Remove. 8904 1.1 christos 8905 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8906 1.1 christos 8907 1.1 christos * tui/tui-winsource.h (tui_update_source_window) 8908 1.1 christos (tui_update_source_window_as_is): Change parameter type. 8909 1.1 christos * tui/tui-winsource.c (tui_update_source_window): Change win_info 8910 1.1 christos to be a tui_source_window_base. 8911 1.1 christos (tui_update_source_window_as_is): Likewise. 8912 1.1 christos * tui/tui-win.c (make_visible_with_new_height): Update. 8913 1.1 christos 8914 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8915 1.1 christos 8916 1.1 christos * tui/tui-winsource.c (tui_erase_source_content) 8917 1.1 christos (tui_show_source_content, tui_show_exec_info_content) 8918 1.1 christos (tui_erase_exec_info_content): Use refresh_window method. 8919 1.1 christos * tui/tui-wingeneral.h (tui_refresh_win): Don't declare. 8920 1.1 christos * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Rename 8921 1.1 christos from tui_refresh_win. 8922 1.1 christos (tui_data_window::refresh_window): New method. 8923 1.1 christos (tui_win_info::refresh, tui_source_window_base::refresh) 8924 1.1 christos (tui_refresh_all): Use refresh_window method. 8925 1.1 christos * tui/tui-stack.c (tui_show_locator_content): Call refresh_window 8926 1.1 christos method. 8927 1.1 christos * tui/tui-regs.c (tui_display_register): Call refresh_window 8928 1.1 christos method. 8929 1.1 christos * tui/tui-layout.c (show_source_disasm_command) 8930 1.1 christos (show_source_or_disasm_and_command): Call refresh_window method. 8931 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) 8932 1.1 christos (struct tui_data_window, struct tui_cmd_window) <refresh_window>: 8933 1.1 christos New method. 8934 1.1 christos 8935 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8936 1.1 christos 8937 1.1 christos * tui/tui.c (tui_rl_other_window, tui_enable) 8938 1.1 christos (tui_is_window_visible, tui_get_command_dimension): Update. 8939 1.1 christos * tui/tui-winsource.c (tui_update_source_window_as_is) 8940 1.1 christos (tui_clear_source_content, tui_erase_source_content) 8941 1.1 christos (tui_show_source_line, tui_source_window_base::refill) 8942 1.1 christos (tui_source_window_base::do_scroll_horizontal) 8943 1.1 christos (tui_source_window_base::set_is_exec_point_at) 8944 1.1 christos (tui_update_breakpoint_info, tui_set_exec_info_content) 8945 1.1 christos (tui_alloc_source_buffer, tui_line_is_displayed) 8946 1.1 christos (tui_addr_is_displayed): Update. 8947 1.1 christos * tui/tui-wingeneral.c (tui_unhighlight_win, tui_highlight_win) 8948 1.1 christos (tui_check_and_display_highlight_if_needed) 8949 1.1 christos (tui_win_info::make_visible, tui_win_info::refresh) 8950 1.1 christos (tui_refresh_all): Update. 8951 1.1 christos * tui/tui-windata.c (tui_first_data_item_displayed) 8952 1.1 christos (tui_delete_data_content_windows, tui_erase_data_content) 8953 1.1 christos (tui_display_all_data, tui_data_window::refresh_all) 8954 1.1 christos (tui_check_data_values): Update. 8955 1.1 christos * tui/tui-win.c (window_name_completer, tui_update_gdb_sizes) 8956 1.1 christos (tui_set_win_focus_to, tui_win_info::forward_scroll) 8957 1.1 christos (tui_win_info::backward_scroll, tui_refresh_all_win) 8958 1.1 christos (tui_resize_all, tui_set_focus, tui_all_windows_info) 8959 1.1 christos (update_tab_width, tui_set_win_height, tui_adjust_win_heights) 8960 1.1 christos (tui_source_window_base::set_new_height) 8961 1.1 christos (tui_data_window::set_new_height) 8962 1.1 christos (make_invisible_and_set_new_height) 8963 1.1 christos (make_visible_with_new_height, new_height_ok) 8964 1.1 christos (parse_scrolling_args): Update. 8965 1.1 christos * tui/tui-stack.c (tui_show_frame_info): Update. 8966 1.1 christos * tui/tui-source.c (tui_set_source_content) 8967 1.1 christos (tui_set_source_content_nil, tui_source_is_displayed) 8968 1.1 christos (tui_source_window::do_scroll_vertical): Update. 8969 1.1 christos * tui/tui-regs.c (tui_show_registers, tui_show_register_group) 8970 1.1 christos (tui_display_registers_from, tui_display_reg_element_at_line) 8971 1.1 christos (tui_check_register_values, tui_reg_command): Update. 8972 1.1 christos * tui/tui-layout.c (tui_default_win_height) 8973 1.1 christos (show_source_disasm_command, show_data, init_and_make_win) 8974 1.1 christos (show_source_or_disasm_and_command): Update. 8975 1.1 christos * tui/tui-io.c (update_cmdwin_start_line, tui_putc, tui_puts) 8976 1.1 christos (tui_redisplay_readline, tui_mld_flush) 8977 1.1 christos (tui_mld_erase_entire_line, tui_mld_getc, tui_cont_sig) 8978 1.1 christos (tui_getc): Update. 8979 1.1 christos * tui/tui-disasm.c (tui_set_disassem_content) 8980 1.1 christos (tui_disasm_window::do_scroll_vertical): Update. 8981 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <~tui_gen_win_info>: 8982 1.1 christos Now virtual. 8983 1.1 christos (struct tui_win_info): Derive from tui_gen_win_info. 8984 1.1 christos <~tui_win_info>: Mark as override. 8985 1.1 christos <generic>: Remove member. 8986 1.1 christos * tui/tui-data.c (tui_cmd_window::clear_detail, tui_next_win) 8987 1.1 christos (tui_prev_win, tui_partial_win_by_name, tui_win_info) 8988 1.1 christos (~tui_data_window, ~tui_win_info) 8989 1.1 christos (tui_free_all_source_wins_content): Update. 8990 1.1 christos * tui/tui-command.c (tui_refresh_cmd_win): Update. 8991 1.1 christos 8992 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 8993 1.1 christos 8994 1.1 christos * tui/tui-layout.c (init_and_make_win): Use new. 8995 1.1 christos * tui/tui-data.h (struct tui_gen_win_info): Add constructor, 8996 1.1 christos destructor, initializers. 8997 1.1 christos (tui_alloc_generic_win_info): Don't declare. 8998 1.1 christos * tui/tui-data.c (_locator): Add argument to constructor. 8999 1.1 christos (source_win, disasm_win): New globals. 9000 1.1 christos (exec_info): Remove. 9001 1.1 christos (tui_source_exec_info_win_ptr, tui_disassem_exec_info_win_ptr): 9002 1.1 christos Update. 9003 1.1 christos (tui_alloc_generic_win_info): Remove. 9004 1.1 christos (init_content_element): Use new. 9005 1.1 christos (tui_win_info::tui_win_info): Update. 9006 1.1 christos (free_content_elements) <case DATA_WIN>: Use delete. 9007 1.1 christos 9008 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9009 1.1 christos 9010 1.1 christos * tui/tui-wingeneral.c (tui_refresh_win): Update. 9011 1.1 christos * tui/tui-windata.c (tui_first_data_item_displayed) 9012 1.1 christos (tui_delete_data_content_windows): Update. 9013 1.1 christos * tui/tui-win.c (tui_data_window::set_new_height): Update. 9014 1.1 christos * tui/tui-regs.c (tui_show_registers, tui_show_register_group) 9015 1.1 christos (tui_display_registers_from, tui_check_register_values): Update. 9016 1.1 christos * tui/tui-data.h (union tui_which_element) <data_window>: Now a 9017 1.1 christos pointer. 9018 1.1 christos * tui/tui-data.c (init_content_element): Update. Allocate the new 9019 1.1 christos window. 9020 1.1 christos (tui_free_data_content): Update. 9021 1.1 christos (free_content_elements) <case DATA_WIN>: Free the window. 9022 1.1 christos 9023 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9024 1.1 christos 9025 1.1 christos * tui/tui-wingeneral.c (tui_unhighlight_win, tui_highlight_win): 9026 1.1 christos Update. 9027 1.1 christos * tui/tui-layout.c (make_command_window) 9028 1.1 christos (show_source_disasm_command, show_data, init_and_make_win) 9029 1.1 christos (show_source_or_disasm_and_command): Update. 9030 1.1 christos * tui/tui-data.h (struct tui_win_info) <set_highlight>: New 9031 1.1 christos method. 9032 1.1 christos <can_highight, is_highlighted>: Now bool. 9033 1.1 christos (tui_set_win_highlight): Don't declare. 9034 1.1 christos * tui/tui-data.c (tui_set_win_highlight): Remove. 9035 1.1 christos 9036 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9037 1.1 christos 9038 1.1 christos * tui/tui-wingeneral.c (make_visible): Remove check of window 9039 1.1 christos type. 9040 1.1 christos 9041 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9042 1.1 christos 9043 1.1 christos * tui/tui-win.c (tui_win_info::max_height) 9044 1.1 christos (tui_cmd_window::max_height): New methods. 9045 1.1 christos (new_height_ok): Call max_height. 9046 1.1 christos * tui/tui-data.h (struct tui_win_info, struct tui_cmd_window) 9047 1.1 christos <max_height>: New method. 9048 1.1 christos 9049 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9050 1.1 christos 9051 1.1 christos * tui/tui-win.c (tui_source_window_base::set_new_height) 9052 1.1 christos (tui_data_window::set_new_height): New methods. 9053 1.1 christos (make_invisible_and_set_new_height): Call set_new_height method. 9054 1.1 christos * tui/tui-data.h (struct tui_win_info) 9055 1.1 christos (struct tui_source_window_base, struct tui_data_window) 9056 1.1 christos <set_new_height>: New method. 9057 1.1 christos 9058 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9059 1.1 christos 9060 1.1 christos * tui/tui.c (tui_rl_other_window): Call the refresh_all method. 9061 1.1 christos * tui/tui-windata.c (tui_data_window::refresh_all): Rename from 9062 1.1 christos tui_refresh_data_win. 9063 1.1 christos * tui/tui-win.c (tui_source_window_base::refresh_all): New 9064 1.1 christos method. 9065 1.1 christos (tui_refresh_all_win): Call the refresh_all method. 9066 1.1 christos (tui_set_focus): Likewise. 9067 1.1 christos * tui/tui-data.h (struct tui_win_info) <refresh_all>: New method. 9068 1.1 christos (struct tui_source_window_base, struct tui_data_window) <refresh>: 9069 1.1 christos Likewise. 9070 1.1 christos 9071 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9072 1.1 christos 9073 1.1 christos * tui/tui-winsource.h (tui_refill_source_window) 9074 1.1 christos (tui_set_is_exec_point_at): Don't declare. 9075 1.1 christos * tui/tui-winsource.c (tui_update_source_windows_with_addr) 9076 1.1 christos (tui_source_window_base::refill): Rename from 9077 1.1 christos tui_refill_source_window. 9078 1.1 christos (tui_source_window_base::do_scroll_horizontal): Update. 9079 1.1 christos (tui_source_window_base::set_is_exec_point_at): Rename from 9080 1.1 christos tui_set_is_exec_point_at. 9081 1.1 christos (tui_update_all_breakpoint_info): Update. 9082 1.1 christos * tui/tui-stack.c (tui_show_frame_info): Update. 9083 1.1 christos * tui/tui-layout.c (show_data): Add cast. 9084 1.1 christos * tui/tui-hooks.c (tui_redisplay_source): Call refill method. 9085 1.1 christos * tui/tui-data.h (struct tui_source_window_base) <refill, 9086 1.1 christos set_is_exec_point_at>: New methods. 9087 1.1 christos (tui_source_windows, tui_add_to_source_windows): Update types. 9088 1.1 christos (tui_add_to_source_windows): Remove redundant declaration. 9089 1.1 christos * tui/tui-data.c (source_windows): Store tui_source_window_base. 9090 1.1 christos (tui_source_windows): Change return type. 9091 1.1 christos (tui_clear_source_windows_detail): Update. 9092 1.1 christos (tui_add_to_source_windows): Change type of parameter. 9093 1.1 christos (tui_free_all_source_wins_content): Update. 9094 1.1 christos 9095 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9096 1.1 christos 9097 1.1 christos * tui/tui-wingeneral.c (tui_win_info::refresh) 9098 1.1 christos (tui_source_window_base::refresh): New methods. 9099 1.1 christos (tui_refresh_all): Call the refresh method. 9100 1.1 christos * tui/tui-data.h (struct tui_win_info) 9101 1.1 christos (struct tui_source_window_base) <refresh>: New method. 9102 1.1 christos 9103 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9104 1.1 christos 9105 1.1 christos * tui/tui.h (tui_is_window_visible): Return bool. 9106 1.1 christos * tui/tui.c (tui_is_window_visible): Return bool. 9107 1.1 christos * tui/tui-wingeneral.c (tui_make_window, make_visible) 9108 1.1 christos (tui_make_visible, tui_make_invisible) 9109 1.1 christos (tui_win_info::make_visible) 9110 1.1 christos (tui_source_window_base::make_visible, make_all_visible) 9111 1.1 christos (tui_make_all_visible, tui_make_all_invisible): Update. 9112 1.1 christos * tui/tui-windata.c (tui_delete_data_content_windows): Update. 9113 1.1 christos * tui/tui-data.h (struct tui_gen_win_info) <is_visible>: Now 9114 1.1 christos bool. 9115 1.1 christos (struct tui_win_info, struct tui_source_window_base) 9116 1.1 christos (struct tui_cmd_window) <make_visible>: Change parameter to bool. 9117 1.1 christos * tui/tui-data.c (tui_init_generic_part): Update. 9118 1.1 christos 9119 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9120 1.1 christos 9121 1.1 christos * tui/tui-wingeneral.c (tui_win_info::make_visible) 9122 1.1 christos (tui_source_window_base::make_visible): New methods. 9123 1.1 christos (make_all_visible): Make method call. 9124 1.1 christos * tui/tui-data.h (struct tui_win_info) <make_visible>: New method. 9125 1.1 christos (struct tui_source_window_base, struct tui_cmd_window): Override 9126 1.1 christos make_visible. 9127 1.1 christos (tui_win_is_source_type): Don't declare. 9128 1.1 christos * tui/tui-data.c (tui_win_is_source_type): Remove. 9129 1.1 christos 9130 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9131 1.1 christos 9132 1.1 christos * tui/tui-layout.c (show_source_or_disasm_and_command): Remove 9133 1.1 christos NULL check. 9134 1.1 christos 9135 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9136 1.1 christos 9137 1.1 christos * tui/tui-data.h (struct tui_data_window, struct tui_cmd_window): 9138 1.1 christos Inline constructor. Add initializers for members. 9139 1.1 christos * tui/tui-data.c (tui_data_window, tui_cmd_window): Remove 9140 1.1 christos constructors; now inline in class. 9141 1.1 christos 9142 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9143 1.1 christos 9144 1.1 christos * tui/tui-regs.c (tui_show_registers): Update. 9145 1.1 christos * tui/tui-data.h (struct tui_data_window) <display_regs>: Now 9146 1.1 christos bool. 9147 1.1 christos * tui/tui-data.c (tui_data_window::clear_detail) 9148 1.1 christos (tui_data_window): Update. 9149 1.1 christos 9150 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9151 1.1 christos 9152 1.1 christos * tui/tui-windata.c (tui_display_all_data) 9153 1.1 christos (tui_display_data_from_line, tui_display_data_from) 9154 1.1 christos (tui_check_data_values, tui_data_window::do_scroll_vertical): 9155 1.1 christos Update. 9156 1.1 christos * tui/tui-regs.c (tui_last_regs_line_no) 9157 1.1 christos (tui_line_from_reg_element_no, tui_first_reg_element_no_inline) 9158 1.1 christos (tui_show_registers, tui_show_register_group) 9159 1.1 christos (tui_display_registers_from, tui_display_reg_element_at_line) 9160 1.1 christos (tui_display_registers_from_line, tui_check_register_values) 9161 1.1 christos (tui_reg_next, tui_reg_prev): Update. 9162 1.1 christos * tui/tui-layout.c (tui_set_layout, show_data): Update. 9163 1.1 christos * tui/tui-data.h (struct tui_data_info): Remove. Move contents to 9164 1.1 christos tui_data_window. 9165 1.1 christos (struct tui_win_info) <detail>: Remove. Add new fields from 9166 1.1 christos tui_data_info. 9167 1.1 christos (TUI_DATA_WIN): Add cast. 9168 1.1 christos * tui/tui-data.c (tui_data_window::clear_detail, tui_data_window) 9169 1.1 christos (~tui_data_window): Simplify. 9170 1.1 christos 9171 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9172 1.1 christos 9173 1.1 christos * tui/tui-layout.c (show_source_disasm_command) 9174 1.1 christos (show_source_or_disasm_and_command): Update. 9175 1.1 christos * tui/tui-io.c (update_cmdwin_start_line) 9176 1.1 christos (tui_redisplay_readline): Update. 9177 1.1 christos * tui/tui-data.h (struct tui_command_info): Remove. 9178 1.1 christos (struct tui_win_info) <detail>: Remove command_info member. 9179 1.1 christos (struct tui_data_window) <start_line>: New member, from 9180 1.1 christos tui_command_info. 9181 1.1 christos (TUI_CMD_WIN): Add casts. 9182 1.1 christos 9183 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9184 1.1 christos 9185 1.1 christos * tui/tui-winsource.c (tui_update_source_window) 9186 1.1 christos (tui_refill_source_window) 9187 1.1 christos (tui_source_window_base::do_scroll_horizontal) 9188 1.1 christos (tui_update_breakpoint_info, tui_set_exec_info_content) 9189 1.1 christos (tui_show_exec_info_content, tui_erase_exec_info_content) 9190 1.1 christos (tui_clear_exec_info_content): Update. 9191 1.1 christos * tui/tui-wingeneral.c (make_all_visible, tui_refresh_all): 9192 1.1 christos Update. 9193 1.1 christos * tui/tui-win.c (make_invisible_and_set_new_height) 9194 1.1 christos (make_visible_with_new_height): Update. 9195 1.1 christos * tui/tui-source.c (tui_set_source_content) 9196 1.1 christos (tui_show_symtab_source): Update. 9197 1.1 christos * tui/tui-layout.c (extract_display_start_addr) 9198 1.1 christos (show_source_disasm_command, show_data) 9199 1.1 christos (make_source_or_disasm_window) 9200 1.1 christos (show_source_or_disasm_and_command): Update. 9201 1.1 christos * tui/tui-disasm.c (tui_set_disassem_content): Simplify. 9202 1.1 christos (tui_disasm_window::do_scroll_vertical): Remove shadowing 9203 1.1 christos "gdbarch". 9204 1.1 christos * tui/tui-data.h (struct tui_source_info): Remove. Move contents 9205 1.1 christos to tui_source_window_base. 9206 1.1 christos (struct tui_win_info) <detail>: Remove source_info member. 9207 1.1 christos (struct tui_source_window_base) <has_locator>: Inline. 9208 1.1 christos Move contents from tui_source_info; rename has_locator member to 9209 1.1 christos m_has_locator. 9210 1.1 christos (TUI_SRC_WIN, TUI_DISASM_WIN): Add casts. 9211 1.1 christos * tui/tui-data.c (tui_source_window_base::has_locator): Move to 9212 1.1 christos header file. 9213 1.1 christos (tui_source_window_base::clear_detail, ~tui_source_window_base): 9214 1.1 christos Simplify. 9215 1.1 christos (tui_free_all_source_wins_content): Cast to 9216 1.1 christos tui_source_window_base. 9217 1.1 christos 9218 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9219 1.1 christos 9220 1.1 christos * tui/tui-win.c (make_invisible_and_set_new_height) 9221 1.1 christos (make_visible_with_new_height): Call has_locator method. 9222 1.1 christos * tui/tui-layout.c (show_source_disasm_command, show_data) 9223 1.1 christos (show_source_or_disasm_and_command): Update for bool change. 9224 1.1 christos * tui/tui-data.h (struct tui_source_info) <has_locator>: Now bool. 9225 1.1 christos (tui_win_info) <has_locator>: New method. 9226 1.1 christos (struct tui_source_window_base) <has_locator>: New method. 9227 1.1 christos (tui_win_has_locator): Don't declare. 9228 1.1 christos * tui/tui-data.c (tui_source_window_base::has_locator): Rename 9229 1.1 christos from tui_win_has_locator. 9230 1.1 christos (tui_source_window_base): Use false, not FALSE. 9231 1.1 christos 9232 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9233 1.1 christos 9234 1.1 christos * tui/tui-data.h (tui_clear_win_detail): Don't declare. 9235 1.1 christos * tui/tui-data.c (tui_clear_source_windows_detail): Call the 9236 1.1 christos clear_detail method directly. 9237 1.1 christos (tui_clear_win_detail): Remove. 9238 1.1 christos 9239 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9240 1.1 christos 9241 1.1 christos * tui/tui-disasm.c (tui_disasm_window::do_scroll_vertical): Use 9242 1.1 christos "this", not TUI_DISASM_WIN. 9243 1.1 christos 9244 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9245 1.1 christos 9246 1.1 christos * tui/tui-winsource.h (tui_horizontal_source_scroll): Don't 9247 1.1 christos declare. 9248 1.1 christos * tui/tui-winsource.c 9249 1.1 christos (tui_source_window_base::do_scroll_horizontal): Rename from 9250 1.1 christos tui_horizontal_source_scroll. 9251 1.1 christos * tui/tui-windata.h (tui_vertical_data_scroll): Don't declare. 9252 1.1 christos * tui/tui-windata.c (tui_data_window::do_scroll_vertical): Rename 9253 1.1 christos from tui_vertical_data_scroll. 9254 1.1 christos * tui/tui-win.h (tui_scroll): Don't declare. 9255 1.1 christos * tui/tui-win.c (tui_win_info::forward_scroll) 9256 1.1 christos (tui_win_info::backward_scroll, tui_win_info::left_scroll) 9257 1.1 christos (tui_win_info::right_scroll): Rename and update. 9258 1.1 christos (tui_scroll_forward_command, tui_scroll_backward_command) 9259 1.1 christos (tui_scroll_left_command, tui_scroll_right_command): Update. 9260 1.1 christos (tui_scroll): Remove. 9261 1.1 christos * tui/tui-source.h: Don't declare tui_vertical_source_scroll. 9262 1.1 christos * tui/tui-source.c (tui_source_window::do_scroll_vertical): Rename 9263 1.1 christos from tui_vertical_source_scroll. 9264 1.1 christos * tui/tui-disasm.h (tui_vertical_disassem_scroll): Don't declare. 9265 1.1 christos * tui/tui-disasm.c (tui_disasm_window::do_scroll_vertical): Rename 9266 1.1 christos from tui_vertical_disassem_scroll. 9267 1.1 christos * tui/tui-data.h (struct tui_win_info) <do_scroll_vertical, 9268 1.1 christos do_scroll_horizontal>: New methods. 9269 1.1 christos <forward_scroll, backward_scroll, left_scroll, right_scroll>: 9270 1.1 christos Likewise. 9271 1.1 christos (struct tui_source_window_base): Add do_scroll_horizontal. 9272 1.1 christos (struct tui_source_window, struct tui_disasm_window): Add 9273 1.1 christos do_scroll_vertical. 9274 1.1 christos (struct tui_data_window, struct tui_cmd_window): Add 9275 1.1 christos do_scroll_horizontal and do_scroll_vertical. 9276 1.1 christos * tui/tui-command.c (tui_dispatch_ctrl_char): Use method calls. 9277 1.1 christos 9278 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9279 1.1 christos 9280 1.1 christos * tui/tui-data.h (struct tui_source_window_base): New struct. 9281 1.1 christos (struct tui_source_window): Derive from tui_source_window_base. 9282 1.1 christos (struct tui_disasm_window): New struct. 9283 1.1 christos * tui/tui-data.c (tui_source_window_base::clear_detail): Rename 9284 1.1 christos from tui_source_window::clear_detail. 9285 1.1 christos (tui_source_window_base): Rename from tui_source_window. 9286 1.1 christos (~tui_source_window_base): Rename from ~tui_source_window. 9287 1.1 christos (tui_alloc_win_info): Create a tui_disasm_window. 9288 1.1 christos 9289 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9290 1.1 christos 9291 1.1 christos * tui/tui-data.h (struct tui_source_window) 9292 1.1 christos (struct tui_data_window): Declare destructors. 9293 1.1 christos * tui/tui-data.c (~tui_source_window, ~tui_data_window): New 9294 1.1 christos destructors. 9295 1.1 christos (tui_win_info): Simplify. 9296 1.1 christos 9297 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9298 1.1 christos 9299 1.1 christos * tui/tui-winsource.c (tui_display_main) 9300 1.1 christos (tui_update_source_windows_with_addr) 9301 1.1 christos (tui_update_all_breakpoint_info): Update. 9302 1.1 christos * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights) 9303 1.1 christos (new_height_ok, parse_scrolling_args): Update. 9304 1.1 christos * tui/tui-stack.c (tui_show_frame_info): Update. 9305 1.1 christos * tui/tui-data.h (struct tui_list): Remove. 9306 1.1 christos (tui_source_windows): Return a reference to a std::vector. 9307 1.1 christos * tui/tui-data.c (source_windows): Now a std::vector. 9308 1.1 christos (tui_source_windows): Change return type. 9309 1.1 christos (tui_clear_source_windows): Rewrite. 9310 1.1 christos (tui_clear_source_windows_detail, tui_add_to_source_windows) 9311 1.1 christos (tui_free_all_source_wins_content): Rewrite. 9312 1.1 christos 9313 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9314 1.1 christos 9315 1.1 christos * tui/tui-data.h (struct tui_win_info, struct tui_source_window) 9316 1.1 christos (struct tui_data_window, struct tui_cmd_window): Declare 9317 1.1 christos clear_detail method. 9318 1.1 christos * tui/tui-data.c (tui_source_window::clear_detail) 9319 1.1 christos (tui_cmd_window::clear_detail, tui_data_window::clear_detail): New 9320 1.1 christos methods. 9321 1.1 christos (tui_clear_win_detail): Simplify. 9322 1.1 christos 9323 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9324 1.1 christos 9325 1.1 christos * tui/tui-layout.c (make_source_window, make_disasm_window) 9326 1.1 christos (make_source_or_disasm_window): Remove win_info_ptr parameter. 9327 1.1 christos Return the new window. 9328 1.1 christos (show_source_disasm_command, show_data) 9329 1.1 christos (show_source_or_disasm_and_command): Update. 9330 1.1 christos 9331 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9332 1.1 christos 9333 1.1 christos * tui/tui-layout.c (make_command_window): Remove win_info_ptr 9334 1.1 christos parameter. Return the new window. 9335 1.1 christos (show_source_disasm_command): Update and remove NULL check. 9336 1.1 christos (show_source_or_disasm_and_command): Update. 9337 1.1 christos 9338 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9339 1.1 christos 9340 1.1 christos * tui/tui-layout.c (init_and_make_win): Remove NULL check. 9341 1.1 christos 9342 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9343 1.1 christos 9344 1.1 christos * tui/tui-data.h (struct tui_win_info): Make constructor 9345 1.1 christos protected. Make destructor virtual. Add initializers. 9346 1.1 christos (tui_source_window, tui_data_window, tui_cmd_window): New 9347 1.1 christos classes. 9348 1.1 christos * tui/tui-data.c (tui_win_info): Rename from init_win_info. Now a 9349 1.1 christos constructor. Add "type" parameter. 9350 1.1 christos (tui_source_window, tui_data_window, tui_cmd_window): New 9351 1.1 christos constructors. 9352 1.1 christos (tui_alloc_win_info): Instantiate the appropriate subclass. 9353 1.1 christos 9354 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9355 1.1 christos 9356 1.1 christos * tui/tui-win.c (tui_resize_all): Use delete. 9357 1.1 christos * tui/tui-data.h (struct tui_win_info) <~tui_win_info>: Declare 9358 1.1 christos destructor. 9359 1.1 christos (tui_free_window): Don't declare. 9360 1.1 christos * tui/tui-data.c (~tui_win_info): Rename from tui_free_window. 9361 1.1 christos Update. 9362 1.1 christos 9363 1.1 christos 2019-06-25 Tom Tromey <tom (a] tromey.com> 9364 1.1 christos 9365 1.1 christos * tui/tui-data.h (struct tui_win_info): Add constructor. 9366 1.1 christos * tui/tui-data.c (tui_alloc_win_info): Use new. 9367 1.1 christos (tui_free_window): Use delete. 9368 1.1 christos 9369 1.1 christos 2019-06-22 Tom Tromey <tom (a] tromey.com> 9370 1.1 christos 9371 1.1 christos * tui/tui-windata.h (tui_first_data_element_no_in_line): Don't 9372 1.1 christos declare. 9373 1.1 christos * tui/tui-windata.c (tui_first_data_element_no_in_line): Remove. 9374 1.1 christos 9375 1.1 christos 2019-06-22 Tom Tromey <tom (a] tromey.com> 9376 1.1 christos 9377 1.1 christos * tui/tui-data.h (tui_del_window, tui_del_data_windows): Don't 9378 1.1 christos declare. 9379 1.1 christos * tui/tui-data.c (tui_del_window, tui_del_data_windows): Remove. 9380 1.1 christos 9381 1.1 christos 2019-06-22 Tom de Vries <tdevries (a] suse.de> 9382 1.1 christos 9383 1.1 christos * dwarf2read.c (create_addrmap_from_aranges) 9384 1.1 christos (read_debug_names_from_section): Print ptrdiff_t using '%s' and plongest 9385 1.1 christos instead of '%zu'. 9386 1.1 christos 9387 1.1 christos 2019-06-21 Simon Marchi <simon.marchi (a] efficios.com> 9388 1.1 christos 9389 1.1 christos * dwarf2read.h (dwarf2_section_info_def): Remove. 9390 1.1 christos (DEF_VEC_O (dwarf2_section_info_def)): Remove. 9391 1.1 christos * dwarf2read.c (struct dwo_sections) <types>: Change type to 9392 1.1 christos std::vector<dwarf2_section_info>. 9393 1.1 christos (struct dwo_file) <~dwo_file>: Remove. 9394 1.1 christos (dwarf2_per_objfile::~dwarf2_per_objfile): Don't manually free 9395 1.1 christos types field. 9396 1.1 christos (dwarf2_per_objfile::locate_sections): Adjust to std::vector. 9397 1.1 christos (dwarf2_read_debug_names): Likewise. 9398 1.1 christos (create_debug_types_hash_table): Change parameter type to 9399 1.1 christos array_view, adjust code accordingly. 9400 1.1 christos (dwarf2_locate_dwo_sections): Adjust to std::vector. 9401 1.1 christos (partial_die_info::fixup): Likewise. 9402 1.1 christos (determine_prefix): Likewise. 9403 1.1 christos * dwarf-index-write.c (write_psymtabs_to_index): Adjust. 9404 1.1 christos 9405 1.1 christos 2019-06-21 Simon Marchi <simon.marchi (a] polymtl.ca> 9406 1.1 christos 9407 1.1 christos * dwarf2read.c (struct dwo_file) <dbfd>: Change type to 9408 1.1 christos gdb_bfd_ref_ptr. 9409 1.1 christos <~dwo_file>: Remove call to gdb_bfd_unref. 9410 1.1 christos (open_and_init_dwo_file): Move gdb_bfd_ref_ptr into dbfd field. Call 9411 1.1 christos gdb_bfd_ref_ptr::get. 9412 1.1 christos 9413 1.1 christos 2019-06-21 Simon Marchi <simon.marchi (a] polymtl.ca> 9414 1.1 christos 9415 1.1 christos * dwarf2read.h (struct dwarf2_per_objfile) <dwo_files>: Change 9416 1.1 christos type to htab_up. 9417 1.1 christos * dwarf2read.c (struct dwo_file): Initialize fields. 9418 1.1 christos <~dwo_file>: New. 9419 1.1 christos (free_dwo_file): Remove, move content to ~dwo_file. 9420 1.1 christos (struct dwo_file_deleter): Remove. 9421 1.1 christos (dwo_file_up>: Remove custom deleter. 9422 1.1 christos (free_dwo_files): Remove. 9423 1.1 christos (dwarf2_per_objfile::~dwarf2_per_objfile): Don't explicitly free 9424 1.1 christos dwo_files. 9425 1.1 christos (process_skeletonless_type_units): Call unique_ptr::get. 9426 1.1 christos (allocate_dwo_file_hash_table): Add deleter to created hash 9427 1.1 christos table. Change return type to htab_up. 9428 1.1 christos (lookup_dwo_file_slot): Don't memset dwo_file, call 9429 1.1 christos unique_ptr::get. 9430 1.1 christos (create_dwo_unit_in_dwp_v1): Allocate dwo_file with new. 9431 1.1 christos (create_dwo_unit_in_dwp_v2): Likewise. 9432 1.1 christos (open_and_init_dwo_file): Likewise. 9433 1.1 christos (free_dwo_file_from_slot): Remove. 9434 1.1 christos 9435 1.1 christos 2019-06-21 Simon Marchi <simon.marchi (a] polymtl.ca> 9436 1.1 christos 9437 1.1 christos * dwarf2read.h (struct dwarf2_section_info) <readin, 9438 1.1 christos is_virtual>: Change type to bool. 9439 1.1 christos * dwarf2read.c (dwarf2_read_section, create_dwp_v2_section): Use 9440 1.1 christos true instead of 1. 9441 1.1 christos 9442 1.1 christos 2019-06-19 Tom Tromey <tom (a] tromey.com> 9443 1.1 christos 9444 1.1 christos * tui/tui-data.h (tui_init_content_element): Don't declare. 9445 1.1 christos 9446 1.1 christos 2019-06-19 Tom Tromey <tom (a] tromey.com> 9447 1.1 christos 9448 1.1 christos * tui/tui-data.h (tui_init_win_info): Don't declare. 9449 1.1 christos 9450 1.1 christos 2019-06-19 Tom de Vries <tdevries (a] suse.de> 9451 1.1 christos 9452 1.1 christos * dwarf2read.h (abstract_to_concrete): Change type to 9453 1.1 christos std::unordered_map<sect_offset, std::vector<sect_offset>, 9454 1.1 christos gdb::hash_enum<sect_offset>>. 9455 1.1 christos 9456 1.1 christos 2019-06-19 Tom Tromey <tromey (a] adacore.com> 9457 1.1 christos 9458 1.1 christos * ada-lang.c (ada_evaluate_subexp) <case OP_ATR_FIRST>: Handle 9459 1.1 christos EVAL_AVOID_SIDE_EFFECTS specially. 9460 1.1 christos 9461 1.1 christos 2019-06-19 Tom Tromey <tromey (a] adacore.com> 9462 1.1 christos 9463 1.1 christos * source-cache.c (highlighter): New global. 9464 1.1 christos (source_cache::get_source_lines): Create a highlighter on demand. 9465 1.1 christos 9466 1.1 christos 2019-06-18 Andrew Burgess <andrew.burgess (a] embecosm.com> 9467 1.1 christos 9468 1.1 christos * defs.h (deprecated_interactive_hook): Delete declaration. 9469 1.1 christos * interps.c (clear_interpreter_hooks): Remove use of 9470 1.1 christos deprecated_interactive_hook. 9471 1.1 christos * top.c (deprecated_interactive_hook): Delete definition. 9472 1.1 christos * utils.c (maybe_quit): Remove use of deprecated_interactive_hook. 9473 1.1 christos 9474 1.1 christos 2019-06-18 Tom de Vries <tdevries (a] suse.de> 9475 1.1 christos 9476 1.1 christos PR gdb/24515 9477 1.1 christos * dwarf2read.h (abstract_to_concrete): Change type from 9478 1.1 christos std::unordered_map<die_info_ptr, std::vector<die_info_ptr>> to 9479 1.1 christos std::unordered_map<sect_offset, std::vector<sect_offset>>. 9480 1.1 christos * dwarf2read.c (read_variable): Update. 9481 1.1 christos (dwarf2_fetch_die_loc_sect_off): Update. 9482 1.1 christos 9483 1.1 christos 2019-06-17 Tom de Vries <tdevries (a] suse.de> 9484 1.1 christos 9485 1.1 christos PR gdb/24617 9486 1.1 christos * common/pathstuff.c (child_path): Make sure parent_len > 0 before 9487 1.1 christos accessing parent[parent_len - 1]. 9488 1.1 christos 9489 1.1 christos 2019-06-17 Paul Pluzhnikov <ppluzhnikov (a] google.com> 9490 1.1 christos 9491 1.1 christos PR gdb/24364 9492 1.1 christos * dtrace-probe.c (dtrace_static_probe_ops::get_probe): Don't 9493 1.1 christos call dtrace_process_dof with NULL dof. 9494 1.1 christos 9495 1.1 christos 2019-06-16 Tom de Vries <tdevries (a] suse.de> 9496 1.1 christos 9497 1.1 christos PR gdb/24445 9498 1.1 christos * contrib/gdb-add-index.sh: Update to handle dwz-m-ed executable. 9499 1.1 christos 9500 1.1 christos 2019-06-16 Tom Tromey <tom (a] tromey.com> 9501 1.1 christos 9502 1.1 christos * tui/tui-wingeneral.c (tui_unhighlight_win, tui_highlight_win) 9503 1.1 christos (make_all_visible): Use address of member. 9504 1.1 christos 9505 1.1 christos 2019-06-16 Tom Tromey <tom (a] tromey.com> 9506 1.1 christos 9507 1.1 christos * tui/tui-data.c (tui_clear_win_detail, init_win_info) 9508 1.1 christos (tui_free_window, free_content, free_content_elements): Remove 9509 1.1 christos unnecessary cast. 9510 1.1 christos * tui/tui-windata.c (tui_display_all_data): Remove unnecessary 9511 1.1 christos cast. 9512 1.1 christos * tui/tui-regs.c (tui_show_register_group) 9513 1.1 christos (tui_display_registers_from, tui_display_reg_element_at_line): 9514 1.1 christos Remove unnecessary cast. 9515 1.1 christos 9516 1.1 christos 2019-06-16 Andrew Burgess <andrew.burgess (a] embecosm.com> 9517 1.1 christos 9518 1.1 christos * linux-nat.c (normal_mask): Delete. 9519 1.1 christos (_initialize_linux_nat): Don't initialise normal_mask. 9520 1.1 christos 9521 1.1 christos 2019-06-16 Simon Marchi <simon.marchi (a] polymtl.ca> 9522 1.1 christos 9523 1.1 christos PR gdb/24445 9524 1.1 christos * dwarf-index-write.h (write_psymtabs_to_index): Add 9525 1.1 christos dwz_basename parameter. 9526 1.1 christos * dwarf-index-write.c (write_gdbindex): Move file writing to 9527 1.1 christos write_gdbindex_1. Change return type void. 9528 1.1 christos (assert_file_size): Move up, remove filename parameter. 9529 1.1 christos (write_gdbindex_1): New function. 9530 1.1 christos (write_debug_names): Change return type to void, call 9531 1.1 christos assert_file_size. 9532 1.1 christos (struct index_wip_file): New struct. 9533 1.1 christos (write_psymtabs_to_index): Add dwz_basename parameter. Move 9534 1.1 christos file logic to index_wip_file. Write index for dwz file if 9535 1.1 christos needed. 9536 1.1 christos (save_gdb_index_command): Pass basename of dwz file, if present. 9537 1.1 christos * dwarf-index-cache.c (index_cache::store): Obtain and pass 9538 1.1 christos build-id of dwz file, if present. 9539 1.1 christos * dwarf2read.c (struct dwz_file): Move to dwarf2read.h. 9540 1.1 christos (dwarf2_get_dwz_file): Likewise. 9541 1.1 christos * dwarf2read.h (struct dwz_file): Move from dwarf2read.c. 9542 1.1 christos (dwarf2_get_dwz_file): Likewise. 9543 1.1 christos 9544 1.1 christos 2019-06-16 Tom Tromey <tom (a] tromey.com> 9545 1.1 christos 9546 1.1 christos * coffread.c (process_coff_symbol): Use xstrdup. 9547 1.1 christos * value.c (create_internalvar): Use xstrdup. 9548 1.1 christos 9549 1.1 christos 2019-06-16 Tom Tromey <tom (a] tromey.com> 9550 1.1 christos 9551 1.1 christos * valops.c (value_cast, value_slice): Remove unnecessary cast. 9552 1.1 christos * breakpoint.c (stopin_command, stopat_command) 9553 1.1 christos (until_break_command, decode_location_default): Remove unnecessary 9554 1.1 christos cast. 9555 1.1 christos * utils.c (subset_compare): Remove unnecessary cast. 9556 1.1 christos * ada-lang.c (ada_update_initial_language): Remove unnecessary 9557 1.1 christos cast. 9558 1.1 christos * linespec.c (decode_line_with_last_displayed): Remove unnecessary 9559 1.1 christos cast. 9560 1.1 christos * infcmd.c (path_command): Remove unnecessary cast. 9561 1.1 christos * coffread.c (decode_type): Remove unnecessary cast. 9562 1.1 christos * xcoffread.c (read_xcoff_symtab): Remove unnecessary cast. 9563 1.1 christos * mipsread.c (mipscoff_symfile_read): Remove unnecessary cast. 9564 1.1 christos * tui/tui-stack.c (tui_show_locator_content) 9565 1.1 christos (tui_show_frame_info): Remove unnecessary cast. 9566 1.1 christos * tui/tui-win.c (tui_scroll_forward_command) 9567 1.1 christos (tui_scroll_backward_command, tui_set_focus, tui_set_win_height) 9568 1.1 christos (parse_scrolling_args): Remove unnecessary cast. 9569 1.1 christos * tui/tui-data.c (init_win_info, tui_del_window) 9570 1.1 christos (tui_free_window, tui_del_data_windows, tui_free_data_content) 9571 1.1 christos (free_content_elements): Remove unnecessary cast. 9572 1.1 christos * tui/tui-windata.c (tui_first_data_item_displayed): Remove 9573 1.1 christos unnecessary cast. 9574 1.1 christos * tui/tui-source.c (tui_set_source_content) 9575 1.1 christos (tui_vertical_source_scroll): Remove unnecessary cast. 9576 1.1 christos * tui/tui-layout.c (tui_default_win_height): Remove unnecessary 9577 1.1 christos cast. 9578 1.1 christos * tui/tui-io.c (tui_initialize_io): Remove unnecessary cast. 9579 1.1 christos * tui/tui-regs.c (tui_display_registers_from) 9580 1.1 christos (tui_display_register): Remove unnecessary cast. 9581 1.1 christos * tui/tui-wingeneral.c (tui_refresh_win, tui_delete_win) 9582 1.1 christos (tui_unhighlight_win, tui_highlight_win, tui_make_window) 9583 1.1 christos (make_visible): Remove unnecessary cast. 9584 1.1 christos * tui/tui-winsource.c (tui_erase_source_content) 9585 1.1 christos (tui_update_breakpoint_info, tui_set_exec_info_content): Remove 9586 1.1 christos unnecessary cast. 9587 1.1 christos * ax-gdb.c (agent_command_1): Remove unnecessary cast. 9588 1.1 christos * cli/cli-setshow.c (cmd_show_list): Remove unnecessary cast. 9589 1.1 christos * stabsread.c (read_type, read_array_type, read_range_type): 9590 1.1 christos Remove unnecessary cast. 9591 1.1 christos * mdebugread.c (mdebug_build_psymtabs): Remove unnecessary cast. 9592 1.1 christos (parse_symbol, parse_type, upgrade_type, parse_external) 9593 1.1 christos (parse_partial_symbols, psymtab_to_symtab_1, cross_ref): Remove 9594 1.1 christos unnecessary cast. 9595 1.1 christos * gdb_bfd.c (gdb_bfd_map_section): Remove unnecessary cast. 9596 1.1 christos 9597 1.1 christos 2019-06-16 Tom Tromey <tom (a] tromey.com> 9598 1.1 christos 9599 1.1 christos * tui/tui-data.c (tui_alloc_generic_win_info) 9600 1.1 christos (tui_alloc_win_info, tui_add_content_elements): Remove NULL 9601 1.1 christos checks. 9602 1.1 christos 9603 1.1 christos 2019-06-16 Bernhard Heckel <bernhard.heckel (a] intel.com> 9604 1.1 christos Andrew Burgess <andrew.burgess (a] embecosm.com> 9605 1.1 christos 9606 1.1 christos * f-typeprint.c (f_print_type): Don't return early for not 9607 1.1 christos associated or not allocated types. 9608 1.1 christos (f_type_print_varspec_suffix): Add print_rank parameter and print 9609 1.1 christos ranks of array types in case they dangling. 9610 1.1 christos (f_type_print_base): Add print_rank parameter. 9611 1.1 christos 9612 1.1 christos 2019-06-15 Andrew Burgess <andrew.burgess (a] embecosm.com> 9613 1.1 christos 9614 1.1 christos * NEWS: Mention new MI commands. 9615 1.1 christos * break-catch-throw.c (enum exception_event_kind): Move to 9616 1.1 christos breakpoint.h. 9617 1.1 christos (print_mention_exception_catchpoint): Output text as a single 9618 1.1 christos message. 9619 1.1 christos (catch_exception_command_1): Rename to... 9620 1.1 christos (catch_exception_event): ...this, make non-static, update header 9621 1.1 christos command, and change some parameter types. 9622 1.1 christos (catch_catch_command): Update for changes to 9623 1.1 christos catch_exception_command_1. 9624 1.1 christos (catch_throw_command): Likewise. 9625 1.1 christos (catch_rethrow_command): Likewise. 9626 1.1 christos * breakpoint.c (enum exception_event_kind): Delete. 9627 1.1 christos * breakpoint.h (enum exception_event_kind): Moved here from 9628 1.1 christos break-catch-throw.c. 9629 1.1 christos (catch_exception_event): Declare. 9630 1.1 christos * mi/mi-cmd-catch.c (mi_cmd_catch_exception_event): New function. 9631 1.1 christos (mi_cmd_catch_throw): New function. 9632 1.1 christos (mi_cmd_catch_rethrow): New function. 9633 1.1 christos (mi_cmd_catch_catch): New function. 9634 1.1 christos * mi/mi-cmds.c (mi_cmds): Add 'catch-throw', 'catch-rethrow', and 9635 1.1 christos 'catch-catch' entries. 9636 1.1 christos * mi/mi-cmds.h (mi_cmd_catch_throw): Declare. 9637 1.1 christos (mi_cmd_catch_rethrow): Declare. 9638 1.1 christos (mi_cmd_catch_catch): Declare. 9639 1.1 christos 9640 1.1 christos 2019-06-15 Andrew Burgess <andrew.burgess (a] embecosm.com> 9641 1.1 christos 9642 1.1 christos * annotate.c (annotate_source_line): Change return type to void, 9643 1.1 christos update implementation to match. 9644 1.1 christos * annotate.h (annotate_source_line): Change return type to void, 9645 1.1 christos update header comment. 9646 1.1 christos * stack.c (print_frame_info): Don't change what frame information 9647 1.1 christos is printed based on whether annotations are on or not. 9648 1.1 christos 9649 1.1 christos 2019-06-15 Andrew Burgess <andrew.burgess (a] embecosm.com> 9650 1.1 christos 9651 1.1 christos * annotate.c: Add 'source.h' and 'objfiles.h' includes. 9652 1.1 christos (annotate_source): Make static. 9653 1.1 christos (annotate_source_line): Moved from source.c and renamed from 9654 1.1 christos identify_source_line. Update the return type. 9655 1.1 christos * annotate.h (annotate_source): Delete declaration. 9656 1.1 christos (annotate_source_line): Declaration moved from source.h, and 9657 1.1 christos renamed from identify_source_line. Return type updated. 9658 1.1 christos * source.c (identify_source_line): Moved to annotate.c and renamed 9659 1.1 christos to annotate_source_line. 9660 1.1 christos (info_line_command): Remove check of annotation_level. 9661 1.1 christos * source.h (identify_source_line): Move declaration to annotate.h 9662 1.1 christos and rename to annotate_source_line. 9663 1.1 christos * stack.c: Add 'annotate.h' include. 9664 1.1 christos (print_frame_info): Remove check of annotation_level before 9665 1.1 christos calling annotate_source_line. 9666 1.1 christos 9667 1.1 christos 2019-06-15 Andrew Burgess <andrew.burgess (a] embecosm.com> 9668 1.1 christos 9669 1.1 christos * source-cache.c (source_cache::get_plain_source_lines): Use 9670 1.1 christos open_source_file_with_line_charpos instead of just 9671 1.1 christos open_source_file, remove call to find_source_lines. 9672 1.1 christos (source_cache::get_source_lines): Likewise. 9673 1.1 christos * source.c (find_source_lines): Make static. 9674 1.1 christos (get_filename_and_charpos): Renamed into... 9675 1.1 christos (open_source_file_with_line_charpos): ..this along with changes to 9676 1.1 christos return a scoped_fd, and some other minor clean ups. 9677 1.1 christos (identify_source_line): Use open_source_file_with_line_charpos. 9678 1.1 christos (search_command_helper): Use open_source_file_with_line_charpos 9679 1.1 christos instead of just open_source_file, remove call to 9680 1.1 christos find_source_lines. 9681 1.1 christos * source.h (open_source_file_with_line_charpos): Declare new 9682 1.1 christos function. 9683 1.1 christos (find_source_lines): Delete declaration. 9684 1.1 christos 9685 1.1 christos 2019-06-15 Andrew Burgess <andrew.burgess (a] embecosm.com> 9686 1.1 christos 9687 1.1 christos * source.c (get_filename_and_charpos): Remove fullname 9688 1.1 christos parameter. 9689 1.1 christos (identify_source_line): Update call to get_filename_and_charpos. 9690 1.1 christos 9691 1.1 christos 2019-06-14 Tom Tromey <tromey (a] adacore.com> 9692 1.1 christos 9693 1.1 christos PR gdb/24502: 9694 1.1 christos * ui-style.h (skip_ansi_escape): Update comment. 9695 1.1 christos * ui-file.h (class no_terminal_escape_file): New class. 9696 1.1 christos * ui-file.c (no_terminal_escape_file::write) 9697 1.1 christos (no_terminal_escape_file::puts): New methods. 9698 1.1 christos * cli/cli-logging.c (handle_redirections): Use 9699 1.1 christos no_terminal_escape_file. 9700 1.1 christos 9701 1.1 christos 2019-06-14 Tom Tromey <tromey (a] adacore.com> 9702 1.1 christos 9703 1.1 christos * NEWS: Move convenience variable news above Python news. 9704 1.1 christos 9705 1.1 christos 2019-06-14 Tom Tromey <tom (a] tromey.com> 9706 1.1 christos 9707 1.1 christos * gnulib: Move directory to top-level. 9708 1.1 christos * configure.ac: Don't configure gnulib. 9709 1.1 christos * configure: Rebuild. 9710 1.1 christos * common/common-defs.h: Use new path to gnulib. 9711 1.1 christos * Makefile.in (GNULIB_BUILDDIR): Now ../gnulib. 9712 1.1 christos (GNULIB_H): Remove. 9713 1.1 christos (INCGNU): Look in new gnulib location. 9714 1.1 christos (HFILES_NO_SRCDIR): Remove gnulib files. 9715 1.1 christos (SUBDIR, REQUIRED_SUBDIRS): Remove gnulib. 9716 1.1 christos (generated_files): Remove GNULIB_H. 9717 1.1 christos ($(LIBGNU), all-lib): Remove targets. 9718 1.1 christos (distclean): Don't mention GNULIB_BUILDDIR. 9719 1.1 christos ($(GNULIB_BUILDDIR)/Makefile): Remove target. 9720 1.1 christos 9721 1.1 christos 2019-06-14 Tom Tromey <tromey (a] adacore.com> 9722 1.1 christos 9723 1.1 christos * symfile.c (add_symbol_file_command): Remove obsolete comment. 9724 1.1 christos Warn if symbol file does not provide any symbols. 9725 1.1 christos 9726 1.1 christos 2019-06-14 Tom Tromey <tromey (a] adacore.com> 9727 1.1 christos 9728 1.1 christos * source.c (find_and_open_source): Respect basenames_may_differ. 9729 1.1 christos 9730 1.1 christos 2019-06-14 Andrew Burgess <andrew.burgess (a] embecosm.com> 9731 1.1 christos 9732 1.1 christos * annotate.c (annotate_breakpoints_invalid): Make use of 9733 1.1 christos scoped_restore_terminal_state. 9734 1.1 christos (annotate_frames_invalid): Likewise. 9735 1.1 christos 9736 1.1 christos 2019-06-14 Tom Tromey <tromey (a] adacore.com> 9737 1.1 christos 9738 1.1 christos * ada-lang.c (ada_evaluate_subexp) <case BINOP_ASSIGN>: Always 9739 1.1 christos allow assignment to an internalvar. 9740 1.1 christos 9741 1.1 christos 2019-06-14 Tom Tromey <tromey (a] adacore.com> 9742 1.1 christos 9743 1.1 christos * ada-lex.l: Allow "_" in attribute names. 9744 1.1 christos 9745 1.1 christos 2019-06-14 Tom Tromey <tromey (a] adacore.com> 9746 1.1 christos 9747 1.1 christos PR gdb/24653: 9748 1.1 christos * regcache.c (registers_changed): Don't call alloca. 9749 1.1 christos * top.c (execute_command): Don't call alloca. 9750 1.1 christos 9751 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9752 1.1 christos 9753 1.1 christos * cli/cli-setshow.c (cli/cli-setshow.c): New parameter 9754 1.1 christos 'expression'. When parsing an expression, error out if there's 9755 1.1 christos junk after "unlimited". 9756 1.1 christos (parse_cli_var_uinteger, parse_cli_var_zuinteger_unlimited) 9757 1.1 christos (do_set_command): Adjust calls to is_unlimited_literal. 9758 1.1 christos 9759 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9760 1.1 christos 9761 1.1 christos * compile/compile.c (make_compile_options_def_group): Add braces 9762 1.1 christos around array_view initializer. 9763 1.1 christos * thread.c (make_thread_apply_all_options_def_group) 9764 1.1 christos (make_thread_apply_all_options_def_group): Likewise. 9765 1.1 christos 9766 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9767 1.1 christos 9768 1.1 christos * NEWS (New commands): Mention "maint test-options 9769 1.1 christos require-delimiter", "maint test-options unknown-is-error", "maint 9770 1.1 christos test-options unknown-is-operand" and "maint show 9771 1.1 christos test-options-completion-result". 9772 1.1 christos (New command options, command completion): New section. 9773 1.1 christos (Completion improvements): New section. 9774 1.1 christos Mention that you can abbreviate "unlimited". 9775 1.1 christos 9776 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9777 1.1 christos 9778 1.1 christos * cli/cli-utils.c (parse_flags, parse_flags_qcs): Delete. 9779 1.1 christos * cli/cli-utils.h (parse_flags, parse_flags_qcs): Delete. 9780 1.1 christos * unittests/cli-utils-selftests.c (test_parse_flags) 9781 1.1 christos (test_parse_flags_qcs): Delete. 9782 1.1 christos (test_cli_utils): Don't call deleted functions. 9783 1.1 christos 9784 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9785 1.1 christos 9786 1.1 christos * thread.c: Include "cli/cli-option.h". 9787 1.1 christos (tp_array_compar_ascending): Global. 9788 1.1 christos (tp_array_compar): Delete function. 9789 1.1 christos (tp_array_compar_ascending, tp_array_compar_descending): New 9790 1.1 christos functions. 9791 1.1 christos (ascending_option_def, qcs_flag_option_def) 9792 1.1 christos (thr_qcs_flags_option_defs) 9793 1.1 christos (make_thread_apply_all_options_def_group) 9794 1.1 christos (make_thread_apply_options_def_group): New. 9795 1.1 christos (thread_apply_all_command): Use gdb::option::process_options. 9796 1.1 christos (thread_apply_command_completer) 9797 1.1 christos (thread_apply_all_command_completer): New. 9798 1.1 christos (thread_apply_command): Use gdb::option::process_options. 9799 1.1 christos (_initialize_thread): Delete THREAD_APPLY_FLAGS_HELP, replace it 9800 1.1 christos with a new THREAD_APPLY_OPTION_HELP. Use gdb::option::build_help 9801 1.1 christos to generate help text of "thread apply". Adjust "taas"'s help. 9802 1.1 christos * tid-parse.c (tid_range_parser::in_thread_range): New method. 9803 1.1 christos * tid-parse.h (tid_range_parser::in_thread_range): New method. 9804 1.1 christos 9805 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9806 1.1 christos 9807 1.1 christos * thread.c (thread_apply_command): Check for invalid TID with 9808 1.1 christos isdigit instead of !isalpha. 9809 1.1 christos 9810 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9811 1.1 christos 9812 1.1 christos * cli/cli-utils.c (parse_flags_qcs): Use validate_flags_qcs. 9813 1.1 christos (validate_flags_qcs): New. 9814 1.1 christos * cli/cli-utils.h (struct qcs_flags): Change field types to int. 9815 1.1 christos (validate_flags_qcs): Declare. 9816 1.1 christos * stack.c (qcs_flag_option_def, fr_qcs_flags_option_defs): New. 9817 1.1 christos (make_frame_apply_options_def_group): New. 9818 1.1 christos (frame_apply_command_count): Process options with 9819 1.1 christos gdb::option::process_options. 9820 1.1 christos (frame_apply_completer): New. 9821 1.1 christos (frame_apply_level_completer, frame_apply_all_completer) 9822 1.1 christos (frame_apply_completer): New. 9823 1.1 christos (_initialize_stack): Update help of "frame apply", "frame apply 9824 1.1 christos level", "frame apply all" and "faas" to mention supported options 9825 1.1 christos and install command completers. 9826 1.1 christos * stack.h (frame_apply_all_completer): Declare. 9827 1.1 christos * thread.c: Include "stack.h". 9828 1.1 christos (tfaas_command): Add "--". 9829 1.1 christos (_initialize_thread): Update help "tfaas" to mention supported 9830 1.1 christos options and install command completer. 9831 1.1 christos 9832 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9833 1.1 christos 9834 1.1 christos * completer.c (complete_nested_command_line): New. 9835 1.1 christos (gdb_completion_word_break_characters_throw): Add assertion. 9836 1.1 christos * completer.h (complete_nested_command_line): Declare. 9837 1.1 christos 9838 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9839 1.1 christos 9840 1.1 christos * stack.c (parse_backtrace_qualifiers): New. 9841 1.1 christos (backtrace_command): Use it. 9842 1.1 christos (backtrace_command_completer): Complete on qualifiers. 9843 1.1 christos 9844 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9845 1.1 christos 9846 1.1 christos * frame.c: Include "cli/cli-option.h. 9847 1.1 christos (user_set_backtrace_options): New. 9848 1.1 christos (backtrace_past_main, backtrace_past_entry, backtrace_limit): 9849 1.1 christos Delete. 9850 1.1 christos (get_prev_frame): Adjust. 9851 1.1 christos (boolean_option_def, uinteger_option_def) 9852 1.1 christos (set_backtrace_option_defs): New. 9853 1.1 christos (_initialize_frame): Adjust and use 9854 1.1 christos gdb::option::add_setshow_cmds_for_options to install "set 9855 1.1 christos backtrace past-main" and "set backtrace past-entry". 9856 1.1 christos * frame.h: Include "cli/cli-option.h". 9857 1.1 christos (struct frame_print_options): Forward declare. 9858 1.1 christos (print_frame_arguments_all, print_frame_arguments_scalars) 9859 1.1 christos (print_frame_arguments_none): Declare. 9860 1.1 christos (print_entry_values): Delete declaration. 9861 1.1 christos (struct frame_print_options, user_frame_print_options): New. 9862 1.1 christos (struct set_backtrace_options): New. 9863 1.1 christos (set_backtrace_option_defs, user_set_backtrace_options): Declare. 9864 1.1 christos * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames) 9865 1.1 christos (mi_cmd_stack_list_locals, mi_cmd_stack_list_args) 9866 1.1 christos (mi_cmd_stack_list_variables): Pass down USER_FRAME_PRINT_OPTIONS. 9867 1.1 christos (list_args_or_locals): Add frame_print_options parameter. 9868 1.1 christos (mi_cmd_stack_info_frame): Pass down USER_FRAME_PRINT_OPTIONS. 9869 1.1 christos * python/py-framefilter.c (enumerate_args): Pass down 9870 1.1 christos USER_FRAME_PRINT_OPTIONS. 9871 1.1 christos * stack.c: Include "cli/cli-option.h". 9872 1.1 christos (print_frame_arguments_all, print_frame_arguments_scalars) 9873 1.1 christos (print_frame_arguments_none): Declare. 9874 1.1 christos (print_raw_frame_arguments, print_entry_values): Delete. 9875 1.1 christos (user_frame_print_options): New. 9876 1.1 christos (boolean_option_def, enum_option_def, frame_print_option_defs): 9877 1.1 christos New. 9878 1.1 christos (struct backtrace_cmd_options): New. 9879 1.1 christos (bt_flag_option_def): New. 9880 1.1 christos (backtrace_command_option_defs): New. 9881 1.1 christos (print_stack_frame): Pass down USER_FRAME_PRINT_OPTIONS. 9882 1.1 christos (print_frame_arg, read_frame_arg, print_frame_args) 9883 1.1 christos (print_frame_info, print_frame): Add frame_print_options parameter 9884 1.1 christos and use it. 9885 1.1 christos (info_frame_command_core): Pass down USER_FRAME_PRINT_OPTIONS. 9886 1.1 christos (backtrace_command_1): Add frame_print_options and 9887 1.1 christos backtrace_cmd_options parameters and use them. 9888 1.1 christos (make_backtrace_options_def_group): New. 9889 1.1 christos (backtrace_command): Process command options with 9890 1.1 christos gdb::option::process_options. 9891 1.1 christos (backtrace_command_completer): New. 9892 1.1 christos (_initialize_stack): Extend "backtrace"'s help to mention 9893 1.1 christos supported options. Install completer for "backtrace". 9894 1.1 christos Install some settings commands with add_setshow_cmds_for_options. 9895 1.1 christos 9896 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9897 1.1 christos 9898 1.1 christos * NEWS (Changed commands): Mention set/show print raw-frame-arguments, 9899 1.1 christos and that "set/show print raw frame-arguments" are now deprecated. 9900 1.1 christos 9901 1.1 christos * cli/cli-decode.c (add_setshow_boolean_cmd): Now returns the 9902 1.1 christos command. 9903 1.1 christos * command.h (add_setshow_boolean_cmd): Return cmd_list_element *. 9904 1.1 christos * stack.c (_initialize_stack): Install "set/show print 9905 1.1 christos raw-frame-arguments", and deprecate "set/show print raw 9906 1.1 christos frame-arguments". 9907 1.1 christos * valprint.c (_initialize_valprint): Deprecate "set/show print 9908 1.1 christos raw". 9909 1.1 christos 9910 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9911 1.1 christos 9912 1.1 christos * compile/compile.c (struct compile_options): New. 9913 1.1 christos (compile_flag_option_def, compile_command_option_defs) 9914 1.1 christos (make_compile_options_def_group): New. 9915 1.1 christos (compile_file_command): Handle options with 9916 1.1 christos gdb::option::process_options. 9917 1.1 christos (compile_file_command_completer): New function. 9918 1.1 christos (compile_code_command): Handle options with 9919 1.1 christos gdb::option::process_options. 9920 1.1 christos (compile_code_command_completer): New function. 9921 1.1 christos (_initialize_compiler): Install completers for "compile code" and 9922 1.1 christos "compile file". Mention available options in "compile code" and 9923 1.1 christos "compile code"'s help. 9924 1.1 christos * completer.c (advance_to_completion_word): New, factored out from 9925 1.1 christos ... 9926 1.1 christos (advance_to_expression_complete_word_point): ... this. 9927 1.1 christos (advance_to_filename_complete_word_point): New. 9928 1.1 christos * completer.h (advance_to_filename_complete_word_point): New 9929 1.1 christos declaration. 9930 1.1 christos 9931 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9932 1.1 christos 9933 1.1 christos * compile/compile.c: Include "cli/cli-option.h". 9934 1.1 christos (compile_print_value): Scope data pointer is now a 9935 1.1 christos value_print_options pointer; adjust. 9936 1.1 christos (compile_print_command): Process options. Scope data pointer is 9937 1.1 christos now a value_print_options pointer; adjust. 9938 1.1 christos (_initialize_compile): Update "compile print"'s help to include 9939 1.1 christos supported options. Install a completer for "compile print". 9940 1.1 christos * cp-valprint.c (show_vtblprint, show_objectprint) 9941 1.1 christos (show_static_field_print): Delete. 9942 1.1 christos (_initialize_cp_valprint): Don't install "set print 9943 1.1 christos static-members", "set print vtbl", "set print object" here. 9944 1.1 christos * printcmd.c: Include "cli/cli-option.h" and 9945 1.1 christos "common/gdb_optional.h". 9946 1.1 christos (print_command_parse_format): Rework to fill in a 9947 1.1 christos value_print_options instead of a format_data. 9948 1.1 christos (print_value): Change parameter type from format_data pointer to 9949 1.1 christos value_print_options reference. Adjust. 9950 1.1 christos (print_command_1): Process options. Adjust to pass down a 9951 1.1 christos value_print_options. 9952 1.1 christos (print_command_completer): New. 9953 1.1 christos (_initialize_printcmd): Install print_command_completer as 9954 1.1 christos handle_brkchars completer for the "print" command. Update 9955 1.1 christos "print"'s help to include supported options. 9956 1.1 christos * valprint.c: Include "cli/cli-option.h". 9957 1.1 christos (show_vtblprint, show_objectprint, show_static_field_print): Moved 9958 1.1 christos here from cp-valprint.c. 9959 1.1 christos (boolean_option_def, uinteger_option_def) 9960 1.1 christos (value_print_option_defs, make_value_print_options_def_group): 9961 1.1 christos New. Use gdb::option::add_setshow_cmds_for_options to install 9962 1.1 christos "set print elements", "set print null-stop", "set print repeats", 9963 1.1 christos "set print pretty", "set print union", "set print array", "set 9964 1.1 christos print address", "set print symbol", "set print array-indexes". 9965 1.1 christos * valprint.h: Include <string> and "cli/cli-option.h". 9966 1.1 christos (make_value_print_options_def_group): Declare. 9967 1.1 christos (print_value): Change parameter type from format_data pointer to 9968 1.1 christos value_print_options reference. 9969 1.1 christos (print_command_completer): Declare. 9970 1.1 christos 9971 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9972 1.1 christos 9973 1.1 christos * Makefile.in (SUBDIR_CLI_SRCS): Add cli/cli-option.c. 9974 1.1 christos (COMMON_SFILES): Add maint-test-settings.c. 9975 1.1 christos * cli/cli-decode.c (boolean_enums): New global, factored out from 9976 1.1 christos ... 9977 1.1 christos (add_setshow_boolean_cmd): ... here. 9978 1.1 christos * cli/cli-decode.h (boolean_enums): Declare. 9979 1.1 christos * cli/cli-option.c: New file. 9980 1.1 christos * cli/cli-option.h: New file. 9981 1.1 christos * cli/cli-setshow.c (parse_cli_boolean_value(const char **)): New, 9982 1.1 christos factored out from ... 9983 1.1 christos (parse_cli_boolean_value(const char *)): ... this. 9984 1.1 christos (is_unlimited_literal): Change parameter type to pointer to 9985 1.1 christos pointer. Adjust and advance ARG pointer. 9986 1.1 christos (parse_cli_var_uinteger, parse_cli_var_zuinteger_unlimited) 9987 1.1 christos (parse_cli_var_enum): New, factored out from ... 9988 1.1 christos (do_set_command): ... this. Adjust. 9989 1.1 christos * cli/cli-setshow.h (parse_cli_boolean_value) 9990 1.1 christos (parse_cli_var_uinteger, parse_cli_var_zuinteger_unlimited) 9991 1.1 christos (parse_cli_var_enum): Declare. 9992 1.1 christos * cli/cli-utils.c: Include "cli/cli-option.h". 9993 1.1 christos (get_ulongest): New. 9994 1.1 christos * cli/cli-utils.h (get_ulongest): Declare. 9995 1.1 christos (check_for_argument): New overloads. 9996 1.1 christos * maint-test-options.c: New file. 9997 1.1 christos 9998 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 9999 1.1 christos 10000 1.1 christos * cli/cli-utils.c (number_or_range_parser::get_number): Do not 10001 1.1 christos parse a range if "-" is at the end of the string. 10002 1.1 christos 10003 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 10004 1.1 christos 10005 1.1 christos * cli/cli-setshow.c (parse_auto_binary_operation) 10006 1.1 christos (parse_cli_boolean_value): Don't allow "o". 10007 1.1 christos 10008 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 10009 1.1 christos 10010 1.1 christos * Makefile.in (COMMON_SFILES): Add maint-test-settings.c. 10011 1.1 christos * NEWS: Mention maint test-settings KIND. 10012 1.1 christos * maint-test-settings.c: New file. 10013 1.1 christos 10014 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 10015 1.1 christos 10016 1.1 christos * cli/cli-decode.c (add_setshow_cmd_full): Remove "show" 10017 1.1 christos completer. 10018 1.1 christos (add_setshow_string_cmd, add_setshow_string_noescape_cmd): Remove 10019 1.1 christos "set" completers. 10020 1.1 christos 10021 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 10022 1.1 christos 10023 1.1 christos * cli/cli-setshow.c (do_set_command) <var_enum>: Detect junk 10024 1.1 christos after item. 10025 1.1 christos 10026 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 10027 1.1 christos 10028 1.1 christos * cli/cli-setshow.c (is_unlimited_literal): Allow abbreviations. 10029 1.1 christos 10030 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 10031 1.1 christos 10032 1.1 christos * ax-gdb.c (agent_command_1): Remove skip_spaces call. 10033 1.1 christos * breakpoint.c (watch_maybe_just_location): Remove skip_spaces 10034 1.1 christos call. 10035 1.1 christos * cli/cli-cmds.c (apropos_command): Remove skip_spaces call. 10036 1.1 christos * cli/cli-utils.c (extract_info_print_args): Remove skip_spaces 10037 1.1 christos calls. 10038 1.1 christos (check_for_argument): Skip spaces after argument. 10039 1.1 christos 10040 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 10041 1.1 christos 10042 1.1 christos * thread.c (thread_apply_command): Adjust TID parsing. 10043 1.1 christos * tid-parse.c (tid_range_parser::finished): Ensure parsing end is 10044 1.1 christos detected before end of string. 10045 1.1 christos (tid_is_in_list): Error out if LIST is invalid. 10046 1.1 christos 10047 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 10048 1.1 christos 10049 1.1 christos * completer.c (complete_line_internal_1): Rewind completion word 10050 1.1 christos point. 10051 1.1 christos (completion_tracker::advance_custom_word_point_by): Change 10052 1.1 christos parameter type to int. 10053 1.1 christos * completer.h (completion_tracker::advance_custom_word_point_by): 10054 1.1 christos Likewise. 10055 1.1 christos 10056 1.1 christos 2019-06-13 Pedro Alves <palves (a] redhat.com> 10057 1.1 christos 10058 1.1 christos * completer.c (advance_to_completion_word): Handle delimiters. 10059 1.1 christos 10060 1.1 christos 2019-06-11 Bernhard Heckel <bernhard.heckel (a] intel.com> 10061 1.1 christos 10062 1.1 christos * dwarf2read.c (add_partial_symbol): Skip nameless modules. 10063 1.1 christos 10064 1.1 christos 2019-06-11 Tom Tromey <tom (a] tromey.com> 10065 1.1 christos 10066 1.1 christos * common/common-utils.c (xmalloc, xrealloc, xcalloc) 10067 1.1 christos (xmalloc_failed): Move to alloc.c. 10068 1.1 christos * alloc.c: New file. 10069 1.1 christos * Makefile.in (COMMON_SFILES): Add alloc.c. 10070 1.1 christos 10071 1.1 christos 2019-06-11 Tom Tromey <tom (a] tromey.com> 10072 1.1 christos 10073 1.1 christos * nat/linux-waitpid.c: Don't include server.h. 10074 1.1 christos (linux_debug): Remove. 10075 1.1 christos (my_waitpid): Update. 10076 1.1 christos 10077 1.1 christos 2019-06-11 Tom Tromey <tromey (a] adacore.com> 10078 1.1 christos 10079 1.1 christos * infcall.c (_initialize_infcall): Remove trailing newline from 10080 1.1 christos help. 10081 1.1 christos * user-regs.c (_initialize_user_regs): Remove trailing newline 10082 1.1 christos from help. 10083 1.1 christos * typeprint.c (_initialize_typeprint): Remove trailing newline 10084 1.1 christos from help. 10085 1.1 christos * reverse.c (_initialize_reverse): Remove trailing newlines from 10086 1.1 christos help. 10087 1.1 christos * tracepoint.c (_initialize_tracepoint): Remove trailing newlines 10088 1.1 christos from help. 10089 1.1 christos * language.c (add_set_language_command): Remove trailing newline 10090 1.1 christos from help. 10091 1.1 christos * infcmd.c (_initialize_infcmd): Remove trailing newlines from 10092 1.1 christos help. 10093 1.1 christos * disasm.c (_initialize_disasm): Remove trailing newline from 10094 1.1 christos help. 10095 1.1 christos * top.c (init_main): Remove trailing newline from help. 10096 1.1 christos * interps.c (_initialize_interpreter): Remove trailing newline 10097 1.1 christos from help. 10098 1.1 christos * btrace.c (_initialize_btrace): Remove trailing newlines from 10099 1.1 christos help. 10100 1.1 christos * breakpoint.c (_initialize_breakpoint): Remove trailing newline 10101 1.1 christos from help. 10102 1.1 christos * python/python.c (_initialize_python): Remove trailing newline 10103 1.1 christos from help. 10104 1.1 christos * spu-tdep.c (_initialize_spu_tdep): Remove trailing newlines from 10105 1.1 christos help. 10106 1.1 christos * tui/tui-win.c (_initialize_tui_win): Remove trailing newlines 10107 1.1 christos from help. Reformat some text. 10108 1.1 christos * tui/tui-stack.c (_initialize_tui_stack): Remove trailing newline 10109 1.1 christos from help. 10110 1.1 christos * tui/tui-layout.c (_initialize_tui_layout): Remove trailing 10111 1.1 christos newline from help. 10112 1.1 christos 10113 1.1 christos 2019-06-11 Tom Tromey <tromey (a] adacore.com> 10114 1.1 christos 10115 1.1 christos * darwin-nat.c (darwin_decode_exception_message) 10116 1.1 christos (darwin_decode_message, darwin_nat_target::kill): Fix shadowing. 10117 1.1 christos 10118 1.1 christos 2019-06-10 Andrew Burgess <andrew.burgess (a] embecosm.com> 10119 1.1 christos 10120 1.1 christos * valops.c (value_slice): Check for not allocated or not 10121 1.1 christos associated values. 10122 1.1 christos 10123 1.1 christos 2019-06-10 Tom de Vries <tdevries (a] suse.de> 10124 1.1 christos 10125 1.1 christos PR gdb/24618 10126 1.1 christos * dwarf2read.c (struct mapped_index::symbol_name_slot_invalid): Make 10127 1.1 christos sure an empty slot (defined by a 32-bit zero pair) is recognized as 10128 1.1 christos invalid. 10129 1.1 christos 10130 1.1 christos 2019-06-10 Tom de Vries <tdevries (a] suse.de> 10131 1.1 christos 10132 1.1 christos PR gdb/24611 10133 1.1 christos * linespec.c (linespec_lexer_lex_string): Remove incorrect 10134 1.1 christos "++(PARSER_STREAM (parser))" for "[abi"-prefixed colon. Add assert. 10135 1.1 christos 10136 1.1 christos 2019-06-10 Tom de Vries <tdevries (a] suse.de> 10137 1.1 christos 10138 1.1 christos PR symtab/24545 10139 1.1 christos * symtab.c (struct demangled_name_entry): Add language field. 10140 1.1 christos (symbol_set_names): Revert "[gdb/symtab] Fix language of duplicate 10141 1.1 christos static minimal symbol". Set and use language field. 10142 1.1 christos 10143 1.1 christos 2019-06-10 Tom Tromey <tromey (a] adacore.com> 10144 1.1 christos 10145 1.1 christos * ada-lang.c (_initialize_ada_language): Update help text. 10146 1.1 christos 10147 1.1 christos 2019-06-10 Tom Tromey <tromey (a] adacore.com> 10148 1.1 christos 10149 1.1 christos * m32c-tdep.c (m32c_m16c_address_to_pointer): Don't end warning 10150 1.1 christos with a newline. 10151 1.1 christos * guile/guile.c (handle_boot_error): Don't end warning with a 10152 1.1 christos newline. 10153 1.1 christos * cli/cli-cmds.c (exit_status_set_internal_vars): Don't end 10154 1.1 christos warning with a newline. 10155 1.1 christos * s12z-tdep.c (s12z_skip_prologue): Don't end warning with a 10156 1.1 christos newline. 10157 1.1 christos (s12z_frame_cache): Likewise. 10158 1.1 christos * dwarf-index-cache.c (index_cache::store): Don't end warning with 10159 1.1 christos a newline. 10160 1.1 christos * solib-svr4.c (disable_probes_interface): Don't end warning with 10161 1.1 christos a newline. 10162 1.1 christos * nat/fork-inferior.c (fork_inferior): Don't end warning with a 10163 1.1 christos newline. 10164 1.1 christos * python/python.c (do_finish_initialization): Don't end warning 10165 1.1 christos with a newline. 10166 1.1 christos 10167 1.1 christos 2019-06-10 Tom Tromey <tom (a] tromey.com> 10168 1.1 christos 10169 1.1 christos * python/py-breakpoint.c (gdbpy_breakpoint_created) 10170 1.1 christos (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use 10171 1.1 christos gdbpy_enter. 10172 1.1 christos 10173 1.1 christos 2019-06-10 Tom Tromey <tromey (a] adacore.com> 10174 1.1 christos 10175 1.1 christos * elfread.c (elf_read_minimal_symbols): Don't set the dbx objfile 10176 1.1 christos data. 10177 1.1 christos (elf_new_init): Don't call stabsread_new_init. 10178 1.1 christos * dbxread.c (coffstab_build_psymtabs): Set dbx objfile data. 10179 1.1 christos (elfstab_build_psymtabs): Likewise. Call stabsread_new_init. 10180 1.1 christos * coffread.c (coff_symfile_init): Don't set the dbx objfile data. 10181 1.1 christos 10182 1.1 christos 2019-06-10 Tom de Vries <tdevries (a] suse.de> 10183 1.1 christos 10184 1.1 christos PR symtab/16264 10185 1.1 christos PR symtab/24517 10186 1.1 christos * dwarf2read.c (read_func_scope): Handle DW_AT_main_subprogram. 10187 1.1 christos 10188 1.1 christos 2019-06-06 <lrn1986 (a] gmail.com> 10189 1.1 christos 10190 1.1 christos * source.c (find_and_open_source): Also rewrite relative file 10191 1.1 christos names. 10192 1.1 christos 10193 1.1 christos 2019-04-26 Amos Bird <amosbird (a] gmail.com> 10194 1.1 christos 10195 1.1 christos * annotate.c (annotate_thread_exited): Add "thread-exited" 10196 1.1 christos annotation. 10197 1.1 christos 10198 1.1 christos 2019-06-06 Tom Tromey <tromey (a] adacore.com> 10199 1.1 christos 10200 1.1 christos * maint.h (class scoped_command_stats): Use 10201 1.1 christos DISABLE_COPY_AND_ASSIGN. 10202 1.1 christos <print_time>: New method. 10203 1.1 christos * maint.c (scoped_command_stats, ~scoped_command_stats): Call 10204 1.1 christos print_time. 10205 1.1 christos (scoped_command_stats::print_time): New method. 10206 1.1 christos 10207 1.1 christos 2019-06-05 Andrew Burgess <andrew.burgess (a] embecosm.com> 10208 1.1 christos 10209 1.1 christos * riscv-tdep.c (riscv_insn::decode): Gracefully ignore 10210 1.1 christos instructions of lengths 6 or 8 bytes. 10211 1.1 christos 10212 1.1 christos 2019-06-04 Pedro Alves <palves (a] redhat.com> 10213 1.1 christos 10214 1.1 christos * common/gdb_unique_ptr.h (make_unique_xstrdup): New. 10215 1.1 christos 10216 1.1 christos * ada-lang.c (catch_ada_completer): Use make_unique_xstrdup. 10217 1.1 christos * breakpoint.c (condition_completer): Likewise. 10218 1.1 christos * cli/cli-dump.c (scan_expression): Likewise. 10219 1.1 christos * common/filestuff.c (mkdir_recursive): Likewise. 10220 1.1 christos * common/gdb_tilde_expand.c (gdb_tilde_expand_up) 10221 1.1 christos * common/pathstuff.c (gdb_realpath, gdb_realpath_keepfile) 10222 1.1 christos (gdb_abspath): Likewise. 10223 1.1 christos * compile/compile-cplus-types.c 10224 1.1 christos (compile_cplus_instance::decl_name): Likewise. 10225 1.1 christos * completer.c (complete_explicit_location): 10226 1.1 christos (signal_completer, reg_or_group_completer_1): Likewise. 10227 1.1 christos * cp-support.c (cp_remove_params_if_any): Likewise. 10228 1.1 christos * fbsd-tdep.c (fbsd_core_vnode_path): Likewise. 10229 1.1 christos * guile/scm-safe-call.c (gdbscm_safe_eval_string): Likewise. 10230 1.1 christos * infcmd.c (strip_bg_char): Likewise. 10231 1.1 christos * linespec.c (copy_token_string): Likewise. 10232 1.1 christos * mi/mi-main.c (output_cores): Likewise. 10233 1.1 christos * psymtab.c (psymtab_search_name): 10234 1.1 christos * symfile.c (test_set_ext_lang_command): Likewise. 10235 1.1 christos * target.c (target_fileio_read_stralloc): Likewise. 10236 1.1 christos * tui/tui-regs.c (tui_reggroup_completer): Likewise. 10237 1.1 christos * value.c (complete_internalvar): Likewise. 10238 1.1 christos 10239 1.1 christos 2019-06-04 Christian Biesinger <cbiesinger (a] google.com> 10240 1.1 christos 10241 1.1 christos Add objfile property to gdb.Type. 10242 1.1 christos * NEWS: Mention Python API addition. 10243 1.1 christos * python/py-type.c (typy_get_objfile): New method. 10244 1.1 christos 10245 1.1 christos 2019-06-03 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 10246 1.1 christos 10247 1.1 christos * NEWS: Mention the new set|show style [title|highlight]. 10248 1.1 christos Mention changes to "show style", "help" and "apropos". 10249 1.1 christos 10250 1.1 christos 2019-06-03 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 10251 1.1 christos 10252 1.1 christos * cli/cli-decode.h (apropos_cmd): Add verbose argument. 10253 1.1 christos * cli/cli-decode.c (apropos_cmd): Likewise. Use print_doc_of_command 10254 1.1 christos instead of print_help_for_command. 10255 1.1 christos (print_doc_of_command): New function. 10256 1.1 christos (help_list): Add 'apropos -v word' suggestion. 10257 1.1 christos (print_help_for_command): Style the command name using title style. 10258 1.1 christos * cli/cli-cmds.c (apropos_command): Parse optional -v flag. 10259 1.1 christos (_initialize_cli_cmds): Describe -v in apropos_command help. 10260 1.1 christos 10261 1.1 christos 2019-06-03 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 10262 1.1 christos 10263 1.1 christos * cli/cli-style.h (cli_style_option): Add name in constructor, 10264 1.1 christos add m_name class member, add constructor with intensity, 10265 1.1 christos add name class function. 10266 1.1 christos (cli_style_option::add_setshow_commands): Remove name argument. 10267 1.1 christos (highlight_style, title_style): New styles. 10268 1.1 christos * cli/cli-style.c (do_show): New function that shows a style 10269 1.1 christos characteristic styling the style name with itself. 10270 1.1 christos (set_style_name): New function. 10271 1.1 christos (STYLE_ADD_SETSHOW_COMMANDS): Remove NAME arguments. 10272 1.1 christos Update all callers according to the changes in cli/cli-style.h. 10273 1.1 christos * utils.h (fputs_highlighted): New function. 10274 1.1 christos * utils.c (fputs_highlighted): Likewise. 10275 1.1 christos 10276 1.1 christos 2019-05-31 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 10277 1.1 christos 10278 1.1 christos * NEWS: Mention new pipe command and new convenience variables. 10279 1.1 christos 10280 1.1 christos 2019-05-31 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 10281 1.1 christos 10282 1.1 christos * cli/cli-cmds.c (pipe_command): New function. 10283 1.1 christos (_initialize_cli_cmds): Call add_com for pipe_command. 10284 1.1 christos Define | as an alias for pipe. 10285 1.1 christos (exit_status_set_internal_vars): New function. 10286 1.1 christos (shell_escape): Call exit_status_set_internal_vars. 10287 1.1 christos cli/cli-decode.c (find_command_name_length): Recognize | as 10288 1.1 christos a single character command. 10289 1.1 christos 10290 1.1 christos 2019-05-31 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 10291 1.1 christos 10292 1.1 christos * gdbcmd.h (execute_command_to_ui_file): New declaration. 10293 1.1 christos top.c (execute_command_to_ui_file): New function, mostly a copy 10294 1.1 christos of execute_command_to_string. 10295 1.1 christos (execute_command_to_string): Implement by calling 10296 1.1 christos execute_command_to_ui_file. 10297 1.1 christos 10298 1.1 christos 2019-05-31 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 10299 1.1 christos 10300 1.1 christos * top.h (saved_command_line): Remove declaration. 10301 1.1 christos * top.c (previous_saved_command_line, previous_repeat_arguments): 10302 1.1 christos New variables. 10303 1.1 christos (saved_command_line): Make static, define together with other 10304 1.1 christos 'repeat variables'. 10305 1.1 christos (dont_repeat): Clear repeat_arguments. 10306 1.1 christos (repeat_previous, get_saved_command_line, save_command_line): 10307 1.1 christos New functions. 10308 1.1 christos (gdb_init): Initialize saved_command_line 10309 1.1 christos and previous_saved_command_line. 10310 1.1 christos * main.c (captured_main_1): Remove saved_command_line initialization. 10311 1.1 christos * event-top.c (handle_line_of_input): Update to use 10312 1.1 christos the new 'repeat' related functions instead of direct access to 10313 1.1 christos saved_command_line. 10314 1.1 christos * command.h (repeat_previous, get_saved_command_line, 10315 1.1 christos save_command_line): New declarations. 10316 1.1 christos (dont_repeat): Add comment. 10317 1.1 christos 10318 1.1 christos 2019-05-30 Tom Tromey <tromey (a] adacore.com> 10319 1.1 christos 10320 1.1 christos * gdbtypes.h (struct range_bounds) <flag_upper_bound_is_count>: 10321 1.1 christos Fix comment. 10322 1.1 christos (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED): Rewrite comment. 10323 1.1 christos 10324 1.1 christos 2019-05-30 Jan Vrany <jan.vrany (a] fit.cvut.cz> 10325 1.1 christos 10326 1.1 christos PR cli/24587 10327 1.1 christos * completer.c (complete): Initialize variable word. 10328 1.1 christos 10329 1.1 christos 2019-05-29 Sergio Durigan Junior <sergiodj (a] redhat.com> 10330 1.1 christos 10331 1.1 christos Ref.: https://bugzilla.redhat.com/show_bug.cgi?id=1708192 10332 1.1 christos Ref.: https://bugzilla.redhat.com/show_bug.cgi?id=1715008 10333 1.1 christos * dwarf2read.c (dwarf_decode_macro_bytes): Move check to see if 10334 1.1 christos 'body' is NULL to the outter 'if', protecting the '!is_define' 10335 1.1 christos situation as well. 10336 1.1 christos 10337 1.1 christos 2019-05-29 Tom Tromey <tromey (a] adacore.com> 10338 1.1 christos 10339 1.1 christos * dwarf2read.c (partial_die_parent_scope): Call dwarf_tag_name. 10340 1.1 christos (dwarf_unknown): New function. 10341 1.1 christos (dwarf_tag_name, dwarf_attr_name, dwarf_form_name) 10342 1.1 christos (dwarf_type_encoding_name): Use dwarf_unknown. 10343 1.1 christos 10344 1.1 christos 2019-05-29 Tom Tromey <tromey (a] adacore.com> 10345 1.1 christos 10346 1.1 christos PR c++/20020: 10347 1.1 christos * cp-valprint.c (cp_print_value_fields): Call 10348 1.1 christos cp_print_static_field inside "try". 10349 1.1 christos 10350 1.1 christos 2019-05-29 Tom Tromey <tromey (a] adacore.com> 10351 1.1 christos 10352 1.1 christos * inflow.c (struct terminal_info): Add default operator=. 10353 1.1 christos * configure: Rebuild. 10354 1.1 christos * warning.m4 (AM_GDB_WARNINGS): Add -Wdeprecated-copy, 10355 1.1 christos -Wdeprecated-copy-dtor, -Wredundant-move. 10356 1.1 christos 10357 1.1 christos 2019-05-29 Tom Tromey <tromey (a] adacore.com> 10358 1.1 christos 10359 1.1 christos * NEWS: Add entry. 10360 1.1 christos * infcmd.c (print_return_value_1): Handle finish_print 10361 1.1 christos option. 10362 1.1 christos (show_print_finish): New function. 10363 1.1 christos (_initialize_infcmd): Add "set/show print finish" commands. 10364 1.1 christos * valprint.c (user_print_options): Initialize new member. 10365 1.1 christos * valprint.h (struct value_print_options) <finish_print>: New 10366 1.1 christos member. 10367 1.1 christos 10368 1.1 christos 2019-05-28 Tom Tromey <tromey (a] adacore.com> 10369 1.1 christos 10370 1.1 christos * ada-lang.c (ada_remove_Xbn_suffix) 10371 1.1 christos (find_old_style_renaming_symbol) 10372 1.1 christos (parse_old_style_renaming): Remove. 10373 1.1 christos (ada_find_renaming_symbol): Don't call 10374 1.1 christos find_old_style_renaming_symbol. 10375 1.1 christos (ada_is_renaming_symbol): Rename from 10376 1.1 christos ada_find_renaming_symbol. Remove "block" parameter. Return 10377 1.1 christos bool. Now static. 10378 1.1 christos (ada_read_var_value): Update and simplify. 10379 1.1 christos * ada-exp.y (write_var_or_type): Remove old code. 10380 1.1 christos 10381 1.1 christos 2019-05-28 Alan Hayward <alan.hayward (a] arm.com> 10382 1.1 christos 10383 1.1 christos PR gdb/25010 10384 1.1 christos * event-top.c: Remove include comment. 10385 1.1 christos * inflow.c (class scoped_ignore_sigttou): Move from here... 10386 1.1 christos * inflow.h (class scoped_ignore_sigttou): ...to here. 10387 1.1 christos * ser-unix.c (hardwire_drain_output): Block SIGTTOU during drain. 10388 1.1 christos * top.c: Remove include comment. 10389 1.1 christos 10390 1.1 christos 2019-05-27 Tom Tromey <tom (a] tromey.com> 10391 1.1 christos 10392 1.1 christos * NEWS: Fix typo. 10393 1.1 christos 10394 1.1 christos 2019-05-22 Tom Tromey <tromey (a] adacore.com> 10395 1.1 christos 10396 1.1 christos * target.c (target_follow_exec): Constify parameter. 10397 1.1 christos * target-delegates.c: Rebuild. 10398 1.1 christos * remote.c (remote_target::follow_exec): Constify parameter. 10399 1.1 christos * infrun.c (follow_exec): Constify parameter. 10400 1.1 christos * target.h (struct target_ops) <follow_exec>: Constify parameter. 10401 1.1 christos (target_follow_exec): Likewise. 10402 1.1 christos 10403 1.1 christos 2019-05-22 Alan Hayward <alan.hayward (a] arm.com> 10404 1.1 christos 10405 1.1 christos * aarch64-tdep.c (aarch64_execute_dwarf_cfa_vendor_op): Treat 10406 1.1 christos DW_CFA_AARCH64_negate_ra_state as nop on non pauth targets. 10407 1.1 christos 10408 1.1 christos 2019-05-22 Alan Hayward <alan.hayward (a] arm.com> 10409 1.1 christos 10410 1.1 christos * NEWS: Add debugredirect and testsuite sections. 10411 1.1 christos 10412 1.1 christos 2019-05-22 Simon Cook <simon.cook (a] embecosm.com> 10413 1.1 christos 10414 1.1 christos * riscv-tdep.c (riscv_gdbarch_init): Support determining flen from 10415 1.1 christos target descriptions using exclusively floating point register name 10416 1.1 christos aliases. 10417 1.1 christos 10418 1.1 christos 2019-05-21 Andrew Burgess <andrew.burgess (a] embecosm.com> 10419 1.1 christos 10420 1.1 christos PR gdb/18644: 10421 1.1 christos * f-lang.c (build_fortran_types): Handle the case where 10422 1.1 christos gdbarch_floatformat_for_type returns a nullptr. 10423 1.1 christos 10424 1.1 christos 2019-05-21 Tom de Vries <tdevries (a] suse.de> 10425 1.1 christos 10426 1.1 christos PR cli/24587 10427 1.1 christos * cli/cli-cmds.c (complete_command): Fix use of unitialized variable. 10428 1.1 christos 10429 1.1 christos 2019-05-18 Andrew Burgess <andrew.burgess (a] embecosm.com> 10430 1.1 christos 10431 1.1 christos PR gdb/18644: 10432 1.1 christos * f-lang.c (build_fortran_types): Use floatformats_ia64_quad for 10433 1.1 christos 16-byte floats. 10434 1.1 christos * i386-tdep.c (i386_floatformat_for_type): Use 10435 1.1 christos floatformats_ia64_quad for the 16-byte floating point component 10436 1.1 christos within a fortran 32-byte complex number. 10437 1.1 christos 10438 1.1 christos 2019-05-18 Andrew Burgess <andrew.burgess (a] embecosm.com> 10439 1.1 christos 10440 1.1 christos * dwarf2read.c (struct cu_partial_die_info): Add constructor, 10441 1.1 christos delete default constructor. 10442 1.1 christos (find_partial_die): Update to return const struct. 10443 1.1 christos (partial_die_parent_scope): Move variable declaration into scope 10444 1.1 christos of its use and change its type to auto. 10445 1.1 christos (guess_partial_die_structure_name): Likewise. 10446 1.1 christos (partial_die_info::fixup): Likewise. 10447 1.1 christos 10448 1.1 christos 2019-05-17 Tom Tromey <tromey (a] adacore.com> 10449 1.1 christos 10450 1.1 christos * source.c (find_and_open_source): Remove cast. 10451 1.1 christos 10452 1.1 christos 2019-05-17 Tom Tromey <tromey (a] adacore.com> 10453 1.1 christos 10454 1.1 christos * annotate.c (annotate_source): Make "filename" const. 10455 1.1 christos * annotate.h (annotate_source): Use const. 10456 1.1 christos 10457 1.1 christos 2019-05-17 Alan Hayward <alan.hayward (a] arm.com> 10458 1.1 christos 10459 1.1 christos * disasm.c (set_disassembler_options): Send errors to stderr. 10460 1.1 christos 10461 1.1 christos 2019-05-17 Alan Hayward <alan.hayward (a] arm.com> 10462 1.1 christos 10463 1.1 christos * cli/cli-interp.c (struct saved_output_files): Add saved entry. 10464 1.1 christos (cli_interp_base::set_logging): Check debug_redirect. 10465 1.1 christos * cli/cli-interp.h (set_logging): Add debug_redirect parameter. 10466 1.1 christos * cli/cli-logging.c (debug_redirect): Add static variable. 10467 1.1 christos (pop_output_files): Add default param. 10468 1.1 christos (handle_redirections): Print debug setting. 10469 1.1 christos (show_logging_command): Likewise. 10470 1.1 christos (_initialize_cli_logging): Add debugredirect command. 10471 1.1 christos * interps.c (current_interp_set_logging): Add debug_redirect 10472 1.1 christos parameter. 10473 1.1 christos * interps.h (set_logging): Add debug_redirect parameter. 10474 1.1 christos (current_interp_set_logging): Likewise. 10475 1.1 christos * mi/mi-common.h: Likewise. 10476 1.1 christos * mi/mi-interp.c (mi_interp::set_logging): Likewise. 10477 1.1 christos 10478 1.1 christos 2019-05-17 Alan Hayward <alan.hayward (a] arm.com> 10479 1.1 christos Tom Tromey <tromey (a] adacore.com> 10480 1.1 christos 10481 1.1 christos * cli/cli-interp.c (cli_interp_base::set_logging): Create tee_file 10482 1.1 christos directly. 10483 1.1 christos * cli/cli-interp.h (make_logging_output): Remove declaration. 10484 1.1 christos * cli/cli-logging.c (make_logging_output): Remove function. 10485 1.1 christos * mi/mi-interp.c (mi_interp::set_logging): Create tee_file 10486 1.1 christos directly. 10487 1.1 christos * ui-file.c (tee_file::tee_file): Remove bools. 10488 1.1 christos (tee_file::~tee_file): Remove deletes. 10489 1.1 christos * ui-file.h (tee_file): Remove bools. 10490 1.1 christos 10491 1.1 christos 2019-01-28 Jan Vrany <jan.vrany (a] fit.cvut.cz> 10492 1.1 christos 10493 1.1 christos * mi/mi-cmds.h (mi_cmd_complete): New function. 10494 1.1 christos * mi/mi-main.c (mi_cmd_complete): Likewise. 10495 1.1 christos * mi/mi-cmds.c: Define new MI command -complete. 10496 1.1 christos * NEWS: Mention new -complete command. 10497 1.1 christos 10498 1.1 christos 2019-01-24 Jan Vrany <jan.vrany (a] fit.cvut.cz> 10499 1.1 christos 10500 1.1 christos * completer.h (complete): New function. 10501 1.1 christos * completer.c (complete): Likewise. 10502 1.1 christos * cli/cli-cmds.c: (complete_command): Update to use new complete() 10503 1.1 christos function defined in completer.h. 10504 1.1 christos 10505 1.1 christos 2019-05-17 Jan Vrany <jan.vrany (a] fit.cvut.cz> 10506 1.1 christos 10507 1.1 christos * MAINTAINERS (Write After Approval): Add myself. 10508 1.1 christos 10509 1.1 christos 2019-05-17 Tom de Vries <tdevries (a] suse.de> 10510 1.1 christos 10511 1.1 christos PR gdb/24094 10512 1.1 christos * dwarf2read.c (struct cu_partial_die_info): New struct. 10513 1.1 christos (find_partial_die): Return cu_partial_die_info. 10514 1.1 christos (partial_die_parent_scope, guess_partial_die_structure_name) 10515 1.1 christos (partial_die_info::fixup): Handle new return type of find_partial_die. 10516 1.1 christos 10517 1.1 christos 2019-05-16 Sergio Durigan Junior <sergiodj (a] redhat.com> 10518 1.1 christos 10519 1.1 christos PR breakpoints/24541 10520 1.1 christos * stap-probe.c (stap_parse_register_operand): Make "regname" an 10521 1.1 christos "std::string", simplifying the algorithm. 10522 1.1 christos 10523 1.1 christos 2019-05-16 Sergio Durigan Junior <sergiodj (a] redhat.com> 10524 1.1 christos 10525 1.1 christos * stap-probe.c (handle_stap_probe): Fix complaint formatting. 10526 1.1 christos (stap_static_probe_ops::get_probes): Likewise. 10527 1.1 christos 10528 1.1 christos 2019-05-16 Sergio Durigan Junior <sergiodj (a] redhat.com> 10529 1.1 christos 10530 1.1 christos * stap-probe.c (stap_parse_register_operand): Make "if (*p->arg == 10531 1.1 christos '-')" and "else if". 10532 1.1 christos (stap_parse_single_operand): Join checks for 10533 1.1 christos "gdbarch_stap_parse_special_token_p" and 10534 1.1 christos "gdbarch_stap_parse_special_token" in the same "if" statement. 10535 1.1 christos Invert check when verifying for operation on register 10536 1.1 christos displacement. 10537 1.1 christos 10538 1.1 christos 2019-05-16 Sergio Durigan Junior <sergiodj (a] redhat.com> 10539 1.1 christos 10540 1.1 christos * stap-probe.c (stap_get_opcode): Update comment. 10541 1.1 christos (stap_get_expected_argument_type): Likewise. 10542 1.1 christos (handle_stap_probe): Likewise. 10543 1.1 christos 10544 1.1 christos 2019-05-16 Sergio Durigan Junior <sergiodj (a] redhat.com> 10545 1.1 christos 10546 1.1 christos * i386-tdep.c (i386_stap_parse_special_token_triplet): Change 10547 1.1 christos return type to 'bool'. Adjust comment. Use 'bool' when 10548 1.1 christos appropriate. 10549 1.1 christos (i386_stap_parse_special_token_three_arg_disp): Likewise. 10550 1.1 christos * stap-probe.c (stap_parse_argument_1): Likewise. 10551 1.1 christos (stap_is_operator): Likewise. 10552 1.1 christos (stap_is_generic_prefix): Likewise. 10553 1.1 christos (stap_is_register_prefix): Likewise. 10554 1.1 christos (stap_is_register_indirection_prefix): Likewise. 10555 1.1 christos (stap_is_integer_prefix): Likewise. 10556 1.1 christos (stap_generic_check_suffix): Likewise. 10557 1.1 christos (stap_check_integer_suffix): Likewise. 10558 1.1 christos (stap_check_register_suffix): Likewise. 10559 1.1 christos (stap_check_register_indirection_suffix): Likewise. 10560 1.1 christos (stap_parse_register_operand): Likewise. 10561 1.1 christos (stap_parse_single_operand): Likewise. 10562 1.1 christos (stap_parse_argument_1): Likewise. 10563 1.1 christos (stap_probe::get_argument_count): Likewise. 10564 1.1 christos (stap_is_operator): Likewise. 10565 1.1 christos 10566 1.1 christos 2019-05-16 Tom Tromey <tromey (a] adacore.com> 10567 1.1 christos 10568 1.1 christos * darwin-nat.c (thread_info_from_private_thread_info): Add struct 10569 1.1 christos keyword to foreach. 10570 1.1 christos 10571 1.1 christos 2019-05-15 Simon Marchi <simon.marchi (a] efficios.com> 10572 1.1 christos 10573 1.1 christos * linux-thread-db.c (try_thread_db_load_1): Change return type 10574 1.1 christos to bool. 10575 1.1 christos (try_thread_db_load): Likewise. 10576 1.1 christos (try_thread_db_load_from_pdir_1): Likewise. 10577 1.1 christos (try_thread_db_load_from_pdir): Likewise. 10578 1.1 christos (try_thread_db_load_from_sdir): Likewise. 10579 1.1 christos (try_thread_db_load_from_dir): Likewise. 10580 1.1 christos (thread_db_load_search): Likewise. 10581 1.1 christos (has_libpthread): Likewise. 10582 1.1 christos (thread_db_load): Likewise. 10583 1.1 christos 10584 1.1 christos 2019-05-15 Sergio Durigan Junior <sergiodj (a] redhat.com> 10585 1.1 christos 10586 1.1 christos Ref.: https://bugzilla.redhat.com/show_bug.cgi?id=1708192 10587 1.1 christos * dwarf2read.c (parse_macro_definition): Check whether 'body' is 10588 1.1 christos NULL, and complain/return if that's the case. 10589 1.1 christos 10590 1.1 christos 2019-05-15 John Darrington <john (a] darrington.wattle.id.au> 10591 1.1 christos 10592 1.1 christos * s12z-tdep.c (push_pull_get_stack_adjustment): New function. 10593 1.1 christos (advance, posn, abstract_read_memory): New functions. 10594 1.1 christos [struct mem_read_abstraction]: New struct. 10595 1.1 christos (s12z_frame_cache): Use opcodes API to interpret stack frame code. 10596 1.1 christos 10597 1.1 christos 2019-05-14 Tom Tromey <tromey (a] adacore.com> 10598 1.1 christos 10599 1.1 christos * ada-lang.c (coerce_unspec_val_to_type): Only set address when 10600 1.1 christos value is not lval_memory. 10601 1.1 christos 10602 1.1 christos 2019-05-14 Tom Tromey <tromey (a] adacore.com> 10603 1.1 christos 10604 1.1 christos * solib.c (info_sharedlibrary_command): Style the file name. 10605 1.1 christos 10606 1.1 christos 2019-05-14 Alan Hayward <alan.hayward (a] arm.com> 10607 1.1 christos 10608 1.1 christos * aarch64-tdep.c (aarch64_vnh_type): Add half view. 10609 1.1 christos (aarch64_vnv_type): Likewise. 10610 1.1 christos * target-descriptions.c (make_gdb_type): Add TDESC_TYPE_IEEE_HALF. 10611 1.1 christos * common/tdesc.c: Likewise. 10612 1.1 christos * common/tdesc.h (enum tdesc_type_kind): Likewise. 10613 1.1 christos * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerate. 10614 1.1 christos * features/aarch64-fpu.xml: Add ieee half view. 10615 1.1 christos * features/aarch64-sve.c (create_feature_aarch64_fpu): Likewise. 10616 1.1 christos * gdbtypes.c (gdbtypes_post_init): Add builtin_half 10617 1.1 christos * gdbtypes.h (struct builtin_type): Likewise. 10618 1.1 christos (struct objfile_type): Likewise. 10619 1.1 christos 10620 1.1 christos 2019-05-12 Paul Naert <paul.naert (a] polymtl.ca> 10621 1.1 christos 10622 1.1 christos * language.c (language_sniff_from_mangled_name): Fix "langauge" 10623 1.1 christos typo. 10624 1.1 christos * location.h (string_to_event_location): Likewise. 10625 1.1 christos 10626 1.1 christos 2019-05-11 Joel Brobecker <brobecker (a] adacore.com> 10627 1.1 christos 10628 1.1 christos GDB 8.3 released. 10629 1.1 christos 10630 1.1 christos 2019-05-10 Simon Marchi <simon.marchi (a] efficios.com> 10631 1.1 christos 10632 1.1 christos * breakpoint.h (fix_multi_location_breakpoint_output_globally): 10633 1.1 christos New variable declaration. 10634 1.1 christos * breakpoint.c (fix_multi_location_breakpoint_output_globally): 10635 1.1 christos New variable. 10636 1.1 christos (print_one_breakpoint): Use ui_out::test_flags and new global 10637 1.1 christos variable to compute use_fixed_output. 10638 1.1 christos * mi/mi-main.h (mi_multi_location_breakpoint_output_fixed): 10639 1.1 christos Remove. 10640 1.1 christos * mi/mi-main.c (fix_multi_location_breakpoint_output): Remove. 10641 1.1 christos (mi_multi_location_breakpoint_output_fixed): Remove. 10642 1.1 christos (mi_cmd_fix_multi_location_breakpoint_output): Adjust to set the 10643 1.1 christos new variable. 10644 1.1 christos * mi/mi-out.c (mi_ui_out::mi_ui_out): Set 10645 1.1 christos fix_multi_location_breakpoint_output flag if version >= 3. 10646 1.1 christos * ui-out.h (enum ui_out_flag) 10647 1.1 christos <fix_multi_location_breakpoint_output>: New enumerator. 10648 1.1 christos 10649 1.1 christos 2019-05-10 Simon Marchi <simon.marchi (a] efficios.com> 10650 1.1 christos 10651 1.1 christos * contrib/cc-with-tweaks.sh: Validate dwz's work. 10652 1.1 christos 10653 1.1 christos 2019-05-10 Tom Tromey <tromey (a] adacore.com> 10654 1.1 christos 10655 1.1 christos * ada-lang.c (catch_ada_completer): New function. 10656 1.1 christos (_initialize_ada_language): Use it. 10657 1.1 christos 10658 1.1 christos 2019-05-10 Tom Tromey <tromey (a] adacore.com> 10659 1.1 christos 10660 1.1 christos * thread.c (print_thread_info): Make "requested_threads" const. 10661 1.1 christos * gdbthread.h (print_thread_info): Make "requested_threads" 10662 1.1 christos const. 10663 1.1 christos * ada-tasks.c (print_ada_task_info): Make "taskno_str" const. 10664 1.1 christos * ada-lang.h (print_ada_task_info): Make "taskno_str" const. 10665 1.1 christos 10666 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10667 1.1 christos 10668 1.1 christos * gdbtypes.c (objfile_type_data): Change type. 10669 1.1 christos (objfile_type, _initialize_gdbtypes): Update. 10670 1.1 christos 10671 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10672 1.1 christos 10673 1.1 christos * dwarf2-frame.c (dwarf2_frame_objfile_data): Change type. 10674 1.1 christos (dwarf2_frame_find_fde, dwarf2_build_frame_info) 10675 1.1 christos (_initialize_dwarf2_frame): Update. 10676 1.1 christos 10677 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10678 1.1 christos 10679 1.1 christos * objc-lang.c (objc_objfile_data): Change type. 10680 1.1 christos (find_methods): Update. 10681 1.1 christos (_initialize_objc_lang): Remove. 10682 1.1 christos 10683 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10684 1.1 christos 10685 1.1 christos * stabsread.c (rs6000_builtin_type_data): Change type. 10686 1.1 christos (rs6000_builtin_type, _initialize_stabsread): Update. 10687 1.1 christos 10688 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10689 1.1 christos 10690 1.1 christos * mips-tdep.c (mips_pdr_data): Remove. 10691 1.1 christos (_initialize_mips_tdep): Update. 10692 1.1 christos 10693 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10694 1.1 christos 10695 1.1 christos * hppa-tdep.c (hppa_objfile_priv_data): Change type. 10696 1.1 christos (hppa_init_objfile_priv_data, read_unwind_info) 10697 1.1 christos (find_unwind_entry, _initialize_hppa_tdep): Update. 10698 1.1 christos 10699 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10700 1.1 christos 10701 1.1 christos * elfread.c (elf_objfile_gnu_ifunc_cache_data): Change type. 10702 1.1 christos (elf_gnu_ifunc_record_cache): Update. Don't allocate hash table 10703 1.1 christos on obstack. 10704 1.1 christos (elf_gnu_ifunc_resolve_by_cache, _initialize_elfread): Update. 10705 1.1 christos 10706 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10707 1.1 christos 10708 1.1 christos * mdebugread.c (basic_type_data): Change type. 10709 1.1 christos (basic_type, _initialize_mdebugread): Update. 10710 1.1 christos 10711 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10712 1.1 christos 10713 1.1 christos * common/gdb_unique_ptr.h (struct noop_deleter): New. 10714 1.1 christos 10715 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10716 1.1 christos 10717 1.1 christos * nto-tdep.c (nto_inferior_data_reg): Change type. 10718 1.1 christos (nto_inferior_data): Update. 10719 1.1 christos (nto_inferior_data_cleanup, nto_new_inferior_data) 10720 1.1 christos (_initialize_nto_tdep): Remove. 10721 1.1 christos * nto-tdep.h (struct nto_inferior_data): Add initializers. 10722 1.1 christos 10723 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10724 1.1 christos 10725 1.1 christos * ada-lang.c (struct ada_inferior_data): Add initializers. 10726 1.1 christos (ada_inferior_data): Change type. 10727 1.1 christos (ada_inferior_data_cleanup): Remove. 10728 1.1 christos (get_ada_inferior_data, ada_inferior_exit) 10729 1.1 christos (struct ada_pspace_data): Add initializers, destructor. 10730 1.1 christos (ada_pspace_data_handle): Change type. 10731 1.1 christos (get_ada_pspace_data): Update. 10732 1.1 christos (ada_pspace_data_cleanup): Remove. 10733 1.1 christos 10734 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10735 1.1 christos 10736 1.1 christos * coffread.c (struct coff_symfile_info): Add initializers. 10737 1.1 christos (coff_objfile_data_key): Move lower. Change type. 10738 1.1 christos (coff_symfile_init, coff_symfile_read, _initialize_coffread): 10739 1.1 christos Update. 10740 1.1 christos (coff_free_info): Remove. 10741 1.1 christos 10742 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10743 1.1 christos 10744 1.1 christos * fbsd-tdep.c (struct fbsd_pspace_data): Add initializers. 10745 1.1 christos (fbsd_pspace_data_handle): Move lower. Change type. 10746 1.1 christos (get_fbsd_pspace_data): Update. 10747 1.1 christos (fbsd_pspace_data_cleanup): Remove. 10748 1.1 christos (_initialize_fbsd_tdep): Update. 10749 1.1 christos 10750 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10751 1.1 christos 10752 1.1 christos * ada-tasks.c (ada_tasks_pspace_data_handle): Change type. 10753 1.1 christos (get_ada_tasks_pspace_data): Update. 10754 1.1 christos (ada_tasks_pspace_data_cleanup): Remove. 10755 1.1 christos (_initialize_tasks): Update. 10756 1.1 christos (ada_tasks_inferior_data_handle): Change type. 10757 1.1 christos (get_ada_tasks_inferior_data): Update. 10758 1.1 christos (ada_tasks_inferior_data_cleanup): Remove. 10759 1.1 christos (struct ada_tasks_pspace_data): Add initializers. 10760 1.1 christos 10761 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10762 1.1 christos 10763 1.1 christos * symfile.h (struct sym_probe_fns) <sym_get_probes>: Change type. 10764 1.1 christos * symfile-debug.c (debug_sym_get_probes): Change type. 10765 1.1 christos * stap-probe.c (handle_stap_probe): 10766 1.1 christos (stap_static_probe_ops::get_probes): Change type. 10767 1.1 christos * probe.h (class static_probe_ops) <get_probes>: Change type. 10768 1.1 christos * probe.c (class any_static_probe_ops) <get_probes>: Change type. 10769 1.1 christos (parse_probes_in_pspace): Update. 10770 1.1 christos (find_probes_in_objfile, find_probe_by_pc, collect_probes): 10771 1.1 christos Update. 10772 1.1 christos (any_static_probe_ops::get_probes): Change type. 10773 1.1 christos * elfread.c (elfread_data): New typedef. 10774 1.1 christos (probe_key): Change type. 10775 1.1 christos (elf_get_probes): Likewise. Update. 10776 1.1 christos (probe_key_free): Remove. 10777 1.1 christos (_initialize_elfread): Update. 10778 1.1 christos * dtrace-probe.c (class dtrace_static_probe_ops) <get_probes>: 10779 1.1 christos Change type. 10780 1.1 christos (dtrace_process_dof_probe, dtrace_process_dof) 10781 1.1 christos (dtrace_static_probe_ops::get_probe): Change type. 10782 1.1 christos 10783 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10784 1.1 christos 10785 1.1 christos * xcoffread.c (struct xcoff_symfile_info): Rename from 10786 1.1 christos coff_symfile_info. Add initializers. 10787 1.1 christos (xcoff_objfile_data_key): Move lower. Change type. 10788 1.1 christos (XCOFF_DATA): Rewrite. 10789 1.1 christos (xcoff_free_info): Remove. 10790 1.1 christos (xcoff_symfile_init, _initialize_xcoffread, read_xcoff_symtab) 10791 1.1 christos (read_symbol, read_symbol_lineno, find_linenos, init_stringtab) 10792 1.1 christos (xcoff_initial_scan): Update. 10793 1.1 christos 10794 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10795 1.1 christos 10796 1.1 christos * solib-svr4.c (struct svr4_info): Add initializers and 10797 1.1 christos destructor. 10798 1.1 christos <probes_table>: Now an htab_up. 10799 1.1 christos (solib_svr4_pspace_data): Change type. 10800 1.1 christos (free_probes_table): Simplify. 10801 1.1 christos (~svr4_info): Rename from svr4_pspace_data_cleanup. 10802 1.1 christos (get_svr4_info, probes_table_htab_remove_objfile_probes) 10803 1.1 christos (probes_table_remove_objfile_probes, register_solib_event_probe) 10804 1.1 christos (solib_event_probe_at, svr4_update_solib_event_breakpoint) 10805 1.1 christos (_initialize_svr4_solib): Update. 10806 1.1 christos 10807 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10808 1.1 christos 10809 1.1 christos * remote.c (remote_pspace_data): Change type. 10810 1.1 christos (remote_pspace_data_cleanup): Remove. 10811 1.1 christos (get_remote_exec_file, set_pspace_remote_exec_file) 10812 1.1 christos (_initialize_remote): Update. 10813 1.1 christos 10814 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10815 1.1 christos 10816 1.1 christos * breakpoint.c (breakpoint_objfile_key): Change type. 10817 1.1 christos (get_breakpoint_objfile_data): Update. 10818 1.1 christos (free_breakpoint_objfile_data): Remove. 10819 1.1 christos (_initialize_breakpoint): Update. 10820 1.1 christos 10821 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10822 1.1 christos 10823 1.1 christos * linux-tdep.c (struct linux_info): Add initializers. 10824 1.1 christos (linux_inferior_data): Move. Change type. 10825 1.1 christos (invalidate_linux_cache_inf): Update. 10826 1.1 christos (linux_inferior_data_cleanup): Remove. 10827 1.1 christos (get_linux_inferior_data, _initialize_linux_tdep): Update. 10828 1.1 christos 10829 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10830 1.1 christos 10831 1.1 christos * auxv.c (auxv_inferior_data): Move. Change type. 10832 1.1 christos (auxv_inferior_data_cleanup): Remove. 10833 1.1 christos (invalidate_auxv_cache_inf): Rewrite. 10834 1.1 christos (get_auxv_inferior_data, _initialize_auxv): Update. 10835 1.1 christos 10836 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10837 1.1 christos 10838 1.1 christos * symfile-debug.c (struct debug_sym_fns_data): Add initializers. 10839 1.1 christos (symfile_debug_objfile_data_key): Change type. 10840 1.1 christos (symfile_debug_installed, debug_qf_has_symbols) 10841 1.1 christos (debug_qf_find_last_source_symtab) 10842 1.1 christos (debug_qf_forget_cached_source_info) 10843 1.1 christos (debug_qf_map_symtabs_matching_filename, debug_qf_lookup_symbol) 10844 1.1 christos (debug_qf_print_stats, debug_qf_dump) 10845 1.1 christos (debug_qf_expand_symtabs_for_function) 10846 1.1 christos (debug_qf_expand_all_symtabs) 10847 1.1 christos (debug_qf_expand_symtabs_with_fullname) 10848 1.1 christos (debug_qf_map_matching_symbols) 10849 1.1 christos (debug_qf_expand_symtabs_matching) 10850 1.1 christos (debug_qf_find_pc_sect_compunit_symtab) 10851 1.1 christos (debug_qf_map_symbol_filenames) 10852 1.1 christos (debug_qf_find_compunit_symtab_by_address, debug_sym_get_probes) 10853 1.1 christos (debug_sym_new_init, debug_sym_init, debug_sym_read) 10854 1.1 christos (debug_sym_read_psymbols, debug_sym_finish, debug_sym_offsets) 10855 1.1 christos (debug_sym_read_linetable, debug_sym_relocate): Update. 10856 1.1 christos (symfile_debug_free_objfile): Remove. 10857 1.1 christos (install_symfile_debug_logging, _initialize_symfile_debug): 10858 1.1 christos Update. 10859 1.1 christos 10860 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10861 1.1 christos 10862 1.1 christos * dwarf2read.h (struct dwarf2_per_objfile): Don't inherit from 10863 1.1 christos allocate_on_obstack. 10864 1.1 christos * dwarf2read.c (dwarf2_objfile_data_key): Change type. 10865 1.1 christos (get_dwarf2_per_objfile): Update. 10866 1.1 christos (set_dwarf2_per_objfile): Remove. 10867 1.1 christos (dwarf2_has_info, dwarf2_get_section_info): Update. 10868 1.1 christos (dwarf2_free_objfile): Remove. 10869 1.1 christos (_initialize_dwarf2_read): Update. 10870 1.1 christos 10871 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10872 1.1 christos 10873 1.1 christos * auto-load.c (struct auto_load_pspace_info): Add destructor and 10874 1.1 christos initializers. 10875 1.1 christos <unsupported_script_warning_printed, 10876 1.1 christos script_not_found_warning_printed>: Now bool. 10877 1.1 christos (auto_load_pspace_data): Change type. 10878 1.1 christos (~auto_load_pspace_info): Rename from 10879 1.1 christos auto_load_pspace_data_cleanup. 10880 1.1 christos (get_auto_load_pspace_data, init_loaded_scripts_info) 10881 1.1 christos (clear_section_scripts, maybe_print_unsupported_script_warning) 10882 1.1 christos (maybe_print_script_not_found_warning, _initialize_auto_load): 10883 1.1 christos Update. 10884 1.1 christos 10885 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10886 1.1 christos 10887 1.1 christos * objfiles.c (objfile_pspace_info): Add destructor and 10888 1.1 christos initializers. 10889 1.1 christos (objfiles_pspace_data): Change type. 10890 1.1 christos (~objfile_pspace_info): Rename from objfiles_pspace_data_cleanup. 10891 1.1 christos (get_objfile_pspace_data): Update. 10892 1.1 christos (objfiles_bfd_data): Change type. 10893 1.1 christos (get_objfile_bfd_data): Update. 10894 1.1 christos (objfile_bfd_data_free, _initialize_objfiles): Remove. 10895 1.1 christos 10896 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10897 1.1 christos 10898 1.1 christos * break-catch-syscall.c (catch_syscall_inferior_data): Move. 10899 1.1 christos Change type. 10900 1.1 christos (get_catch_syscall_inferior_data): Update. 10901 1.1 christos (catch_syscall_inferior_data_cleanup): Remove. 10902 1.1 christos (_initialize_break_catch_syscall): Update. 10903 1.1 christos 10904 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10905 1.1 christos 10906 1.1 christos * inflow.c (struct terminal_info): Add destructor and 10907 1.1 christos initializers. 10908 1.1 christos (inflow_inferior_data): Change type. 10909 1.1 christos (~terminal_info): Rename from inflow_inferior_data_cleanup. 10910 1.1 christos (get_inflow_inferior_data, inflow_inferior_exit) 10911 1.1 christos (swap_terminal_info, _initialize_inflow): Update. 10912 1.1 christos 10913 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10914 1.1 christos 10915 1.1 christos * target-dcache.c (target_dcache_cleanup): Remove. 10916 1.1 christos (target_dcache_aspace_key): Change type. 10917 1.1 christos (target_dcache_init_p, target_dcache_invalidate) 10918 1.1 christos (target_dcache_get, target_dcache_get_or_init) 10919 1.1 christos (_initialize_target_dcache): Update. 10920 1.1 christos * dcache.h (struct dcache_deleter): New. 10921 1.1 christos 10922 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10923 1.1 christos 10924 1.1 christos * symtab.c (struct symbol_cache): Add destructor and 10925 1.1 christos initializers. 10926 1.1 christos (symbol_cache_key): Move. Change type. 10927 1.1 christos (make_symbol_cache, free_symbol_cache): Remove. 10928 1.1 christos (get_symbol_cache): Update. 10929 1.1 christos (symbol_cache_cleanup): Remove. 10930 1.1 christos (ALL_PSPACES, symbol_cache_flush) 10931 1.1 christos (maintenance_print_symbol_cache) 10932 1.1 christos (maintenance_print_symbol_cache_statistics, _initialize_symtab): 10933 1.1 christos Update. 10934 1.1 christos 10935 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10936 1.1 christos 10937 1.1 christos * symtab.c (struct main_info): Add destructor and initializers. 10938 1.1 christos (main_progspace_key): Move. Change type. 10939 1.1 christos (get_main_info): Update. 10940 1.1 christos (main_info_cleanup): Remove. 10941 1.1 christos (_initialize_symtab): Update. 10942 1.1 christos 10943 1.1 christos 2019-05-08 Tom Tromey <tom (a] tromey.com> 10944 1.1 christos 10945 1.1 christos * registry.h (DECLARE_REGISTRY): Define the _key class. 10946 1.1 christos 10947 1.1 christos 2019-05-08 Andrew Burgess <andrew.burgess (a] embecosm.com> 10948 1.1 christos 10949 1.1 christos * NEWS: Merge two 'New commands' sections. 10950 1.1 christos 10951 1.1 christos 2019-05-08 Joel Brobecker <brobecker (a] adacore.com> 10952 1.1 christos 10953 1.1 christos * ada-valprint.c (ada_val_print_gnat_array): Remove language 10954 1.1 christos parameter and use Ada language definition instead. 10955 1.1 christos (ada_val_print_ptr): Remove unused language parameter. 10956 1.1 christos (ada_val_print_num): Remove language parameter and use Ada language 10957 1.1 christos definition instead. 10958 1.1 christos (ada_val_print_enum, ada_val_print_flt): Remove unused language 10959 1.1 christos parameter. 10960 1.1 christos (ada_val_print_struct_union, ada_val_print_ref): Remove language 10961 1.1 christos parameter and use Ada language definition instead. 10962 1.1 christos (ada_val_print_1): Update all ada_val_print_xxx calls. 10963 1.1 christos Remove language parameter. 10964 1.1 christos (ada_val_print): Update ada_val_print_1 call. 10965 1.1 christos 10966 1.1 christos 2019-05-08 Tom Tromey <tromey (a] adacore.com> 10967 1.1 christos 10968 1.1 christos * remote.c (remote_hw_watchpoint_limit) 10969 1.1 christos (remote_hw_watchpoint_length_limit, remote_hw_breakpoint_limit): 10970 1.1 christos Now static. 10971 1.1 christos 10972 1.1 christos 2019-05-08 Tom Tromey <tromey (a] adacore.com> 10973 1.1 christos 10974 1.1 christos * maint.c (_initialize_maint_cmds): Move initialization code to 10975 1.1 christos remote.c. 10976 1.1 christos (watchdog, show_watchdog): Move to remote.c. 10977 1.1 christos * remote.c (watchdog, show_watchdog): Move from maint.c. Make 10978 1.1 christos "watchdog" static. 10979 1.1 christos (_initialize_remote): Move initialization code from maint.c. 10980 1.1 christos * defs.h (watchdog): Don't declare. 10981 1.1 christos 10982 1.1 christos 2019-05-08 Tom Tromey <tromey (a] adacore.com> 10983 1.1 christos 10984 1.1 christos * tui/tui-interp.c: Include main.h. 10985 1.1 christos * interps.c: Include main.h. 10986 1.1 christos * main.h (interpreter_p): Declare. 10987 1.1 christos * defs.h (interpreter_p): Don't declare. 10988 1.1 christos 10989 1.1 christos 2019-05-08 Tom Tromey <tromey (a] adacore.com> 10990 1.1 christos 10991 1.1 christos * dwarf2loc.c: Include dwarf2read.h. 10992 1.1 christos * defs.h (read_unsigned_leb128): Don't declare. 10993 1.1 christos * dwarf2read.h (read_unsigned_leb128): Declare. 10994 1.1 christos 10995 1.1 christos 2019-05-08 Tom Tromey <tromey (a] adacore.com> 10996 1.1 christos 10997 1.1 christos * utils.c (fputs_maybe_filtered): Call can_emit_style_escape as a 10998 1.1 christos method. 10999 1.1 christos 11000 1.1 christos 2019-05-08 Tom Tromey <tromey (a] adacore.com> 11001 1.1 christos 11002 1.1 christos * utils.c (fputs_maybe_filtered): Reset style after paging, even 11003 1.1 christos when no wrap column is set. 11004 1.1 christos 11005 1.1 christos 2019-05-08 Tom Tromey <tromey (a] adacore.com> 11006 1.1 christos 11007 1.1 christos * c-lang.c (c_get_string): Handle non-C-style arrays. 11008 1.1 christos 11009 1.1 christos 2019-05-08 Tom Tromey <tromey (a] adacore.com> 11010 1.1 christos 11011 1.1 christos * typeprint.c (print_offset_data::update): Print the bit offset, 11012 1.1 christos not the number of bits remaining. 11013 1.1 christos 11014 1.1 christos 2019-05-08 Tom Tromey <tromey (a] adacore.com> 11015 1.1 christos 11016 1.1 christos * typeprint.c (print_offset_data::maybe_print_hole): Add extra 11017 1.1 christos padding at end of comment. 11018 1.1 christos 11019 1.1 christos 2019-05-08 Tom Tromey <tromey (a] adacore.com> 11020 1.1 christos 11021 1.1 christos * dwarf2loc.c (dwarf2_evaluate_property) <PROP_ADDR_OFFSET>: 11022 1.1 christos Compare main types. 11023 1.1 christos 11024 1.1 christos 2019-05-06 Tom Tromey <tom (a] tromey.com> 11025 1.1 christos 11026 1.1 christos * common/scoped_mmap.c: Include common-defs.h. 11027 1.1 christos * common/scoped_mmap.h: Don't include config.h. 11028 1.1 christos 11029 1.1 christos 2019-05-04 Tom Tromey <tom (a] tromey.com> 11030 1.1 christos 11031 1.1 christos * aarch64-tdep.c (stack_item_t): Remove typedef and DEF_VEC. 11032 1.1 christos (struct aarch64_call_info): Add initializers. 11033 1.1 christos <si>: Now a std::vector. 11034 1.1 christos (pass_on_stack, aarch64_push_dummy_call): Update. 11035 1.1 christos 11036 1.1 christos 2019-05-04 Simon Marchi <simon.marchi (a] efficios.com> 11037 1.1 christos Tom Tromey <tom (a] tromey.com> 11038 1.1 christos 11039 1.1 christos * ppc-linux-nat.c (thread_points_p): Remove typedef and DEF_VEC. 11040 1.1 christos (ppc_threads): Now a std::vector. Now static. 11041 1.1 christos (hwdebug_find_thread_points_by_tid) 11042 1.1 christos (ppc_linux_nat_target::low_new_thread, ppc_linux_thread_exit): 11043 1.1 christos Update. 11044 1.1 christos 11045 1.1 christos 2019-05-04 Tom Tromey <tom (a] tromey.com> 11046 1.1 christos 11047 1.1 christos * arc-tdep.c (arc_tdesc_init): Return bool. 11048 1.1 christos 11049 1.1 christos 2019-05-04 Tom Tromey <tom (a] tromey.com> 11050 1.1 christos 11051 1.1 christos * arm-linux-nat.c (arm_linux_nat_target::can_use_hw_breakpoint): 11052 1.1 christos Use gdb_assert_not_reached. 11053 1.1 christos 11054 1.1 christos 2019-05-04 Tom Tromey <tom (a] tromey.com> 11055 1.1 christos 11056 1.1 christos * compile/compile-cplus-types.c (compile_cplus_convert_enum): Use 11057 1.1 christos "false". 11058 1.1 christos 11059 1.1 christos 2019-05-04 Tom Tromey <tom (a] tromey.com> 11060 1.1 christos 11061 1.1 christos * arc-tdep.c (arc_tdesc_init): Use bool. 11062 1.1 christos 11063 1.1 christos 2019-05-04 Tom Tromey <tom (a] tromey.com> 11064 1.1 christos 11065 1.1 christos * stack.c (select_frame_for_mi): Use "false", not "FALSE". 11066 1.1 christos 11067 1.1 christos 2019-05-04 Tom Tromey <tom (a] tromey.com> 11068 1.1 christos 11069 1.1 christos * cli/cli-cmds.c (valid_command_p): Return bool. 11070 1.1 christos 11071 1.1 christos 2019-05-04 Tom Tromey <tom (a] tromey.com> 11072 1.1 christos 11073 1.1 christos * cli/cli-decode.c (valid_user_defined_cmd_name_p): Return bool. 11074 1.1 christos * command.h (valid_user_defined_cmd_name_p): Channge return type. 11075 1.1 christos 11076 1.1 christos 2019-05-04 Raul Tambre <raul (a] tambre.ee> 11077 1.1 christos 11078 1.1 christos * python/lib/gdb/prompt.py (_ExtendedPrompt) 11079 1.1 christos <before_prompt_hook, get_show_string>: Fix incorrect use of 'is' 11080 1.1 christos operator for comparison. 11081 1.1 christos 11082 1.1 christos 2019-05-04 Tom Tromey <tom (a] tromey.com> 11083 1.1 christos 11084 1.1 christos * psymtab.c (psymbol_name_matches, match_partial_symbol) 11085 1.1 christos (lookup_partial_symbol, print_partial_symbols) 11086 1.1 christos (recursively_search_psymtabs, sort_pst_symbols, psymbol_hash) 11087 1.1 christos (psymbol_compare): Update. 11088 1.1 christos (add_psymbol_to_bcache): Clear the entire psymbol. 11089 1.1 christos (maintenance_check_psymtabs): Update. 11090 1.1 christos * psympriv.h (struct partial_symbol): Don't derive from 11091 1.1 christos general_symbol_info. 11092 1.1 christos <obj_section, unrelocated_address, address, 11093 1.1 christos set_unrelocated_address>: Update. 11094 1.1 christos <ginfo>: New member. 11095 1.1 christos * dwarf-index-write.c (write_psymbols, debug_names::insert) 11096 1.1 christos (debug_names::write_psymbols): Update. 11097 1.1 christos 11098 1.1 christos 2019-05-04 Tom de Vries <tdevries (a] suse.de> 11099 1.1 christos 11100 1.1 christos * contrib/cc-with-tweaks.sh: Support -n arg. 11101 1.1 christos 11102 1.1 christos 2019-05-04 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 11103 1.1 christos 11104 1.1 christos * corelow.c (core_target::detach): Ensure frame cache and 11105 1.1 christos register caches are cleared. 11106 1.1 christos inferior.c (exit_inferior_1): Likewise. 11107 1.1 christos 11108 1.1 christos 2019-05-03 Sandra Loosemore <sandra (a] codesourcery.com> 11109 1.1 christos Tom Tromey <tom (a] tromey.com> 11110 1.1 christos 11111 1.1 christos * dictionary.c (collate_pending_symbols_by_language): Remove 11112 1.1 christos "struct" from foreach. 11113 1.1 christos * symtab.c (lookup_global_symbol_from_objfile) 11114 1.1 christos (lookup_symbol_in_objfile_from_linkage_name): Remove "struct" from 11115 1.1 christos foreach. 11116 1.1 christos * ser-tcp.c (net_open): Remove "struct" from foreach. 11117 1.1 christos * objfiles.c (objfile_relocate, objfile_rebase) 11118 1.1 christos (objfile_has_symbols): Remove "struct" from foreach. 11119 1.1 christos * minsyms.c (lookup_minimal_symbol_by_pc_section): Remove "struct" 11120 1.1 christos from foreach. 11121 1.1 christos * dwarf2read.c (handle_struct_member_die): Remove "struct" from 11122 1.1 christos foreach. 11123 1.1 christos * darwin-nat.c (thread_info_from_private_thread_info): Remove 11124 1.1 christos "struct" from foreach. 11125 1.1 christos * ada-lang.c (create_excep_cond_exprs) 11126 1.1 christos (ada_exception_catchpoint_cond_string): Remove "struct" from 11127 1.1 christos foreach. 11128 1.1 christos 11129 1.1 christos 2019-05-03 Tom Tromey <tromey (a] adacore.com> 11130 1.1 christos 11131 1.1 christos * ada-exp.y (convert_char_literal): Check suffix of each 11132 1.1 christos enumerator. 11133 1.1 christos 11134 1.1 christos 2019-05-03 Dilyan Palauzov <dilyan.palauzov (a] aegee.org> 11135 1.1 christos 11136 1.1 christos PR ada/21406: 11137 1.1 christos * ada-exp.y (yywrap): Don't define. 11138 1.1 christos * ada-lex.l (%option): Add noyywrap 11139 1.1 christos (yywrap): Remove. 11140 1.1 christos 11141 1.1 christos 2019-05-03 Eli Zaretskii <eliz (a] gnu.org> 11142 1.1 christos 11143 1.1 christos * common/common-defs.h [__MINGW32__ || __CYGWIN__]: Define 11144 1.1 christos _WIN32_WINNT to the XP level, unless already defined to a higher 11145 1.1 christos level. 11146 1.1 christos 11147 1.1 christos * unittests/parse-connection-spec-selftests.c: 11148 1.1 christos * ser-tcp.c: 11149 1.1 christos * common/netstuff.c [USE_WIN32API]: Remove the _WIN32_WINNT 11150 1.1 christos override. 11151 1.1 christos 11152 1.1 christos * symfile.c (find_separate_debug_file): Remove colon from the 11153 1.1 christos drive spec of DOS/Windows file names of the target, so that the 11154 1.1 christos file name produced from DEBUGDIR and the target's directory will 11155 1.1 christos be valid on DOS/Windows systems. 11156 1.1 christos 11157 1.1 christos 2019-05-02 Andrew Burgess <andrew.burgess (a] embecosm.com> 11158 1.1 christos 11159 1.1 christos * rust-lang.c (val_print_struct): Handle printing structures 11160 1.1 christos containing strings. 11161 1.1 christos 11162 1.1 christos 2019-05-02 Tom Tromey <tromey (a] adacore.com> 11163 1.1 christos 11164 1.1 christos * valarith.c (_initialize_valarith): Remove. 11165 1.1 christos 11166 1.1 christos 2019-05-01 Tom Tromey <tromey (a] adacore.com> 11167 1.1 christos 11168 1.1 christos * ada-lang.c (ada_value_primitive_field): Treat more fields as 11169 1.1 christos bitfields. 11170 1.1 christos 11171 1.1 christos 2019-05-01 Tom Tromey <tromey (a] adacore.com> 11172 1.1 christos 11173 1.1 christos * ada-lang.c (ada_value_assign): Correctly compute starting offset 11174 1.1 christos for big-endian copies. 11175 1.1 christos 11176 1.1 christos 2019-04-30 Ali Tamur <tamur (a] google.com> 11177 1.1 christos 11178 1.1 christos * dwarf2read.c (read_3_bytes): New declaration. 11179 1.1 christos (read_attribute_value): Added DW_FORM_strx1-4 cases. 11180 1.1 christos (read_3_bytes): New function. 11181 1.1 christos 11182 1.1 christos 2019-04-30 Joel Brobecker <brobecker (a] adacore.com> 11183 1.1 christos 11184 1.1 christos * windows-nat.c (main_thread_id): Delete. 11185 1.1 christos (handle_output_debug_string): Replace main_thread_id by 11186 1.1 christos current_event.dwThreadId. 11187 1.1 christos (fake_create_process): Likewise. 11188 1.1 christos (get_windows_debug_event) <CREATE_PROCESS_DEBUG_EVENT>: 11189 1.1 christos Do not set main_thread_id. 11190 1.1 christos <LOAD_DLL_DEBUG_EVENT>: Replace main_thread_id by 11191 1.1 christos current_event.dwThreadId. 11192 1.1 christos <UNLOAD_DLL_DEBUG_EVENT>: Likewise. 11193 1.1 christos 11194 1.1 christos 2019-04-30 Joel Brobecker <brobecker (a] adacore.com> 11195 1.1 christos 11196 1.1 christos * windows-nat.c (get_windows_debug_event) <EXIT_PROCESS_DEBUG_EVENT>: 11197 1.1 christos Use current_event.dwThreadId instead of main_thread_id. 11198 1.1 christos 11199 1.1 christos 2019-04-30 Tom Tromey <tromey (a] adacore.com> 11200 1.1 christos 11201 1.1 christos * ada-lang.c (ada_lookup_simple_minsyms): New function. 11202 1.1 christos (create_excep_cond_exprs): Iterate over program spaces. 11203 1.1 christos (ada_exception_catchpoint_cond_string): Examine all minimal 11204 1.1 christos symbols for exception types. 11205 1.1 christos 11206 1.1 christos 2019-04-30 Tom Tromey <tromey (a] adacore.com> 11207 1.1 christos 11208 1.1 christos PR c++/24470: 11209 1.1 christos * dwarf2read.c (process_structure_scope): Handle case where type 11210 1.1 christos has template parameters but no symbol was created. 11211 1.1 christos 11212 1.1 christos 2019-04-30 Andrew Burgess <andrew.burgess (a] embecosm.com> 11213 1.1 christos Chris January <chris.january (a] arm.com> 11214 1.1 christos 11215 1.1 christos * f-typeprint.c (f_type_print_base): Print 'allocatable' type 11216 1.1 christos qualifier. 11217 1.1 christos * gdbtypes.h (TYPE_IS_ALLOCATABLE): Define. 11218 1.1 christos 11219 1.1 christos 2019-04-30 Andrew Burgess <andrew.burgess (a] embecosm.com> 11220 1.1 christos 11221 1.1 christos * f-typeprint.c (f_print_type): Update rules for printing 11222 1.1 christos whitespace. 11223 1.1 christos (f_type_print_varspec_suffix): Likewise. 11224 1.1 christos 11225 1.1 christos 2019-04-30 Andrew Burgess <andrew.burgess (a] embecosm.com> 11226 1.1 christos Chris January <chris.january (a] arm.com> 11227 1.1 christos 11228 1.1 christos * f-typeprint.c (f_type_print_varspec_suffix): Handle printing 11229 1.1 christos function arguments. 11230 1.1 christos 11231 1.1 christos 2019-04-30 Andrew Burgess <andrew.burgess (a] embecosm.com> 11232 1.1 christos 11233 1.1 christos * f-lang.c (build_fortran_types): Change name of void type to 11234 1.1 christos lower case. 11235 1.1 christos * f-typeprint.c (f_type_print_base): Print the name of the void 11236 1.1 christos type, rather than a fixed string. 11237 1.1 christos * f-valprint.c (f_decorations): Use lower case void string. 11238 1.1 christos 11239 1.1 christos 2019-04-30 Andrew Burgess <andrew.burgess (a] embecosm.com> 11240 1.1 christos Chris January <chris.january (a] arm.com> 11241 1.1 christos 11242 1.1 christos * dwarf2read.c (dwarf2_init_complex_target_type): Use different 11243 1.1 christos types for Fortran. 11244 1.1 christos 11245 1.1 christos 2019-04-30 Andrew Burgess <andrew.burgess (a] embecosm.com> 11246 1.1 christos Chris January <chris.january (a] arm.com> 11247 1.1 christos David Lecomber <david.lecomber (a] arm.com> 11248 1.1 christos 11249 1.1 christos * f-exp.y (BINOP_INTRINSIC): New token. 11250 1.1 christos (exp): New parser rule handling BINOP_INTRINSIC. 11251 1.1 christos (f77_keywords): Add new builtin procedures. 11252 1.1 christos * f-lang.c (evaluate_subexp_f): Handle BINOP_MOD, UNOP_FORTRAN_CEILING, 11253 1.1 christos UNOP_FORTRAN_FLOOR, BINOP_FORTRAN_MODULO, BINOP_FORTRAN_CMPLX. 11254 1.1 christos (operator_length_f): Handle UNOP_FORTRAN_CEILING, 11255 1.1 christos UNOP_FORTRAN_FLOOR, BINOP_FORTRAN_MODULO, BINOP_FORTRAN_CMPLX. 11256 1.1 christos (print_unop_subexp_f): New function. 11257 1.1 christos (print_binop_subexp_f): New function. 11258 1.1 christos (print_subexp_f): Handle UNOP_FORTRAN_CEILING, UNOP_FORTRAN_FLOOR, 11259 1.1 christos BINOP_FORTRAN_MODULO, BINOP_FORTRAN_CMPLX. 11260 1.1 christos (dump_subexp_body_f): Likewise. 11261 1.1 christos (operator_check_f): Likewise. 11262 1.1 christos * fortran-operator.def: Add UNOP_FORTRAN_CEILING, UNOP_FORTRAN_FLOOR, 11263 1.1 christos BINOP_FORTRAN_MODULO, BINOP_FORTRAN_CMPLX 11264 1.1 christos 11265 1.1 christos 2019-04-30 Andrew Burgess <andrew.burgess (a] embecosm.com> 11266 1.1 christos 11267 1.1 christos * expprint.c (dump_subexp_body_standard): Remove use of 11268 1.1 christos UNOP_KIND. 11269 1.1 christos * expression.h (exp_opcode): Include 'fortran-operator.def'. 11270 1.1 christos * f-exp.y (exp): Rename UNOP_KIND to UNOP_FORTRAN_KIND. 11271 1.1 christos * f-lang.c (evaluate_subexp_f): Likewise. 11272 1.1 christos (operator_length_f): New fuction. 11273 1.1 christos (print_subexp_f): New function. 11274 1.1 christos (op_name_f): New function. 11275 1.1 christos (dump_subexp_body_f): New function. 11276 1.1 christos (operator_check_f): New function. 11277 1.1 christos (exp_descriptor_f): Replace standard expression handling functions 11278 1.1 christos with new functions. 11279 1.1 christos * fortran-operator.def: New file. 11280 1.1 christos * parse.c (operator_length_standard): Remove use of UNOP_KIND. 11281 1.1 christos * std-operator.def: Remove UNOP_KIND. 11282 1.1 christos 11283 1.1 christos 2019-04-30 Andrew Burgess <andrew.burgess (a] embecosm.com> 11284 1.1 christos 11285 1.1 christos * std-operator.def: Remove unbalanced, stray double quote 11286 1.1 christos character. 11287 1.1 christos 11288 1.1 christos 2019-04-29 Andrew Burgess <andrew.burgess (a] embecosm.com> 11289 1.1 christos Chris January <chris.january (a] arm.com> 11290 1.1 christos Daniel Everett <daniel.everett (a] arm.com> 11291 1.1 christos Nick Forrington <nick.forrington (a] arm.com> 11292 1.1 christos Richard Bunt <richard.bunt (a] arm.com> 11293 1.1 christos 11294 1.1 christos * cp-valprint.c (cp_print_value_fields): Allow an additional level 11295 1.1 christos of depth when printing anonymous structs or unions. 11296 1.1 christos * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer): 11297 1.1 christos Don't print either the top-level value, or the children if the 11298 1.1 christos max-depth is exceeded. 11299 1.1 christos (ppscm_print_children): When printing the key of a map, allow one 11300 1.1 christos extra level of depth. 11301 1.1 christos * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Don't 11302 1.1 christos print either the top-level value, or the children if the max-depth 11303 1.1 christos is exceeded. 11304 1.1 christos (print_children): When printing the key of a map, allow one extra 11305 1.1 christos level of depth. 11306 1.1 christos * python/py-value.c (valpy_format_string): Add max_depth keyword. 11307 1.1 christos * valprint.c: (PRINT_MAX_DEPTH_DEFAULT): Define. 11308 1.1 christos (user_print_options): Initialise max_depth field. 11309 1.1 christos (val_print_scalar_or_string_type_p): New function. 11310 1.1 christos (val_print): Check to see if the max depth has been reached. 11311 1.1 christos (val_print_check_max_depth): Define new function. 11312 1.1 christos (show_print_max_depth): New function. 11313 1.1 christos (_initialize_valprint): Add 'print max-depth' option. 11314 1.1 christos * valprint.h (struct value_print_options) <max_depth>: New field. 11315 1.1 christos (val_print_check_max_depth): Declare new function. 11316 1.1 christos * NEWS: Document new feature. 11317 1.1 christos 11318 1.1 christos 2019-04-29 Andrew Burgess <andrew.burgess (a] embecosm.com> 11319 1.1 christos 11320 1.1 christos * ada-lang.c (ada_language_defn): Initialise new field. 11321 1.1 christos * c-lang.c (c_is_string_type_p): New function. 11322 1.1 christos (c_language_defn): Initialise new field. 11323 1.1 christos (cplus_language_defn): Initialise new field. 11324 1.1 christos (asm_language_defn): Initialise new field. 11325 1.1 christos (minimal_language_defn): Initialise new field. 11326 1.1 christos * c-lang.h (c_is_string_type_p): Declare new function. 11327 1.1 christos * d-lang.c (d_language_defn): Initialise new field. 11328 1.1 christos * f-lang.c (f_is_string_type_p): New function. 11329 1.1 christos (f_language_defn): Initialise new field. 11330 1.1 christos * go-lang.c (go_is_string_type_p): New function. 11331 1.1 christos (go_language_defn): Initialise new field. 11332 1.1 christos * language.c (default_is_string_type_p): New function. 11333 1.1 christos (unknown_language_defn): Initialise new field. 11334 1.1 christos (auto_language_defn): Initialise new field. 11335 1.1 christos * language.h (struct language_defn) <la_is_string_type_p>: New 11336 1.1 christos member variable. 11337 1.1 christos (default_is_string_type_p): Declare new function. 11338 1.1 christos * m2-lang.c (m2_language_defn): Initialise new field. 11339 1.1 christos * objc-lang.c (objc_language_defn): Initialise new field. 11340 1.1 christos * opencl-lang.c (opencl_language_defn): Initialise new field. 11341 1.1 christos * p-lang.c (pascal_is_string_type_p): New function. 11342 1.1 christos (pascal_language_defn): Initialise new field. 11343 1.1 christos * rust-lang.c (rust_is_string_type_p): New function. 11344 1.1 christos (rust_language_defn): Initialise new field. 11345 1.1 christos 11346 1.1 christos 2019-04-29 Andrew Burgess <andrew.burgess (a] embecosm.com> 11347 1.1 christos 11348 1.1 christos * language.h (struct language_defn) <la_struct_too_deep_ellipsis>: 11349 1.1 christos New field. 11350 1.1 christos * ada-lang.c (ada_language_defn): Initialise new field. 11351 1.1 christos * c-lang.c (c_language_defn): Likewise. 11352 1.1 christos (cplus_language_defn): Likewise. 11353 1.1 christos (asm_language_defn): Likewise. 11354 1.1 christos (minimal_language_defn): Likewise. 11355 1.1 christos * d-lang.c (d_language_defn): Likewise. 11356 1.1 christos * f-lang.c (f_language_defn): Likewise. 11357 1.1 christos * go-lang.c (go_language_defn): Likewise. 11358 1.1 christos * language.c (unknown_language_defn): Likewise. 11359 1.1 christos (auto_language_defn): Likewise. 11360 1.1 christos * m2-lang.c (m2_language_defn): Likewise. 11361 1.1 christos * objc-lang.c (objc_language_defn): Likewise. 11362 1.1 christos * opencl-lang.c (opencl_language_defn): Likewise. 11363 1.1 christos * p-lang.c (pascal_language_defn): Likewise. 11364 1.1 christos * rust-lang.c (rust_language_defn): Likewise. 11365 1.1 christos 11366 1.1 christos 2019-04-29 Andrew Burgess <andrew.burgess (a] embecosm.com> 11367 1.1 christos 11368 1.1 christos * ada-lang.c (ada_is_character_type): Change return type to bool. 11369 1.1 christos (ada_is_string_type): Likewise. 11370 1.1 christos * ada-lang.h (ada_is_character_type): Update declaration 11371 1.1 christos (ada_is_string_type): Likewise. 11372 1.1 christos 11373 1.1 christos 2019-04-27 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 11374 1.1 christos 11375 1.1 christos Support style in 'frame|thread apply' 11376 1.1 christos 11377 1.1 christos * gdbcmd.h (execute_command_to_string): New term_out parameter. 11378 1.1 christos * record.c (record_start, record_stop): Update callers of 11379 1.1 christos execute_command_to_string with false. 11380 1.1 christos * guile/guile.c (gdbscm_execute_gdb_command): Likewise. 11381 1.1 christos * ui-file.h (class ui_file): New term_out and can_emit_style_escape 11382 1.1 christos methods. 11383 1.1 christos (class string_file): New constructor with term_out parameter. 11384 1.1 christos Override methods term_out and can_emit_style_escape. New member 11385 1.1 christos term_out. 11386 1.1 christos (class stdio_file): Override can_emit_style_escape. 11387 1.1 christos (class tee_file): Override term_out and can_emit_style_escape. 11388 1.1 christos * utils.h (can_emit_style_escape): Remove. 11389 1.1 christos * utils.c (can_emit_style_escape): Likewise. 11390 1.1 christos Update all callers of can_emit_style_escape (SOMESTREAM) to 11391 1.1 christos SOMESTREAM->can_emit_style_escape. 11392 1.1 christos * source-cache.c (source_cache::get_source_lines): Likewise. 11393 1.1 christos * stack.c (frame_apply_command_count): Call execute_command_to_string 11394 1.1 christos passing the term_out characteristic of the current gdb_stdout. 11395 1.1 christos * thread.c (thr_try_catch_cmd): Likewise. 11396 1.1 christos * top.c (execute_command_to_string): pass term_out parameter 11397 1.1 christos to construct the string_file for the command output. 11398 1.1 christos * ui-file.c (term_cli_styling): New function (most code moved 11399 1.1 christos from utils.c can_emit_style_escape). 11400 1.1 christos (string_file::string_file, string_file::can_emit_style_escape, 11401 1.1 christos stdio_file::can_emit_style_escape, tee_file::term_out, 11402 1.1 christos tee_file::can_emit_style_escape): New functions. 11403 1.1 christos 11404 1.1 christos 2019-04-27 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 11405 1.1 christos 11406 1.1 christos * NEWS: Mention the new set|show may-call-functions. 11407 1.1 christos * infcall.c (may_call_functions_p): New variable. 11408 1.1 christos (show_may_call_functions_p): New function. 11409 1.1 christos (call_function_by_hand_dummy): Throws an error if not 11410 1.1 christos may-call-functions. 11411 1.1 christos (_initialize_infcall): Call add_setshow_boolean_cmd for 11412 1.1 christos may-call-functions. 11413 1.1 christos 11414 1.1 christos 2019-04-25 Keith Seitz <keiths (a] redhat.com> 11415 1.1 christos 11416 1.1 christos PR c++/24367 11417 1.1 christos * cp-support.c (inspect_type): Don't attempt substitutions 11418 1.1 christos of symbol with the same name. 11419 1.1 christos 11420 1.1 christos 2019-04-25 Tom Tromey <tromey (a] adacore.com> 11421 1.1 christos 11422 1.1 christos PR gdb/24475: 11423 1.1 christos * event-top.c (gdb_rl_callback_handler): Make "gdb_rl_expt" 11424 1.1 christos static. 11425 1.1 christos 11426 1.1 christos 2019-04-25 Tom Tromey <tromey (a] adacore.com> 11427 1.1 christos 11428 1.1 christos * xml-support.c (struct gdb_xml_parser) <set_error>: Take an 11429 1.1 christos rvalue reference. 11430 1.1 christos (gdb_xml_start_element_wrapper, gdb_xml_end_element_wrapper) 11431 1.1 christos (gdb_xml_parser::parse): Use std::move. 11432 1.1 christos * python/python-internal.h (gdbpy_convert_exception): Take a const 11433 1.1 christos reference. 11434 1.1 christos * python/py-value.c (valpy_getitem, valpy_nonzero): Use 11435 1.1 christos std::move. 11436 1.1 christos * python/py-utils.c (gdbpy_convert_exception): Take a const 11437 1.1 christos reference. 11438 1.1 christos * python/py-inferior.c (infpy_write_memory, infpy_search_memory): 11439 1.1 christos Use std::move. 11440 1.1 christos * python/py-breakpoint.c (bppy_set_condition, bppy_set_commands): 11441 1.1 christos Use std::move. 11442 1.1 christos * mi/mi-main.c (mi_print_exception): Take a const reference. 11443 1.1 christos * main.c (handle_command_errors): Take a const reference. 11444 1.1 christos * linespec.c (parse_linespec): Use std::move. 11445 1.1 christos * infcall.c (run_inferior_call): Use std::move. 11446 1.1 christos (call_function_by_hand_dummy): Use std::move. 11447 1.1 christos * exec.c (try_open_exec_file): Use std::move. 11448 1.1 christos * exceptions.h (exception_print, exception_fprintf) 11449 1.1 christos (exception_print_same): Update. 11450 1.1 christos * exceptions.c (print_exception, exception_print) 11451 1.1 christos (exception_fprintf, exception_print_same): Change parameters to 11452 1.1 christos const reference. 11453 1.1 christos * event-top.c (gdb_rl_callback_read_char_wrapper): Update. 11454 1.1 christos * common/new-op.c: Use std::move. 11455 1.1 christos * common/common-exceptions.h (struct gdb_exception): Add move 11456 1.1 christos constructor. 11457 1.1 christos (struct gdb_exception_error, struct gdb_exception_quit, struct 11458 1.1 christos gdb_quit_bad_alloc): Change constructor to move constructor. 11459 1.1 christos (throw_exception): Change parameter to rvalue reference. 11460 1.1 christos * common/common-exceptions.c (throw_exception): Take rvalue 11461 1.1 christos reference. 11462 1.1 christos * cli/cli-interp.c (safe_execute_command): Use std::move. 11463 1.1 christos * breakpoint.c (insert_bp_location, location_to_sals): Use 11464 1.1 christos std::move. 11465 1.1 christos 11466 1.1 christos 2019-04-25 Tom Tromey <tromey (a] adacore.com> 11467 1.1 christos 11468 1.1 christos * guile/scm-exception.c (gdbscm_scm_from_gdb_exception) 11469 1.1 christos (gdbscm_throw_gdb_exception): Take a gdbscm_gdb_exception. 11470 1.1 christos * guile/scm-block.c, guile/scm-breakpoint.c, guile/scm-cmd.c, 11471 1.1 christos guile/scm-disasm.c, guile/scm-frame.c, guile/scm-lazy-string.c, 11472 1.1 christos guile/scm-math.c, guile/scm-param.c, guile/scm-ports.c, 11473 1.1 christos guile/scm-symbol.c, guile/scm-symtab.c, guile/scm-type.c, 11474 1.1 christos guile/scm-value.c: Use unpack. 11475 1.1 christos * guile/guile-internal.h (gdbscm_scm_from_gdb_exception): Take a 11476 1.1 christos gdbscm_gdb_exception. 11477 1.1 christos (gdbscm_throw_gdb_exception): Likewise. 11478 1.1 christos (struct gdbscm_gdb_exception): New. 11479 1.1 christos (unpack): New function. 11480 1.1 christos (gdbscm_wrap): Use unpack. 11481 1.1 christos 11482 1.1 christos 2019-04-25 Tom Tromey <tromey (a] adacore.com> 11483 1.1 christos 11484 1.1 christos * event-top.c (gdb_rl_callback_read_char_wrapper_noexcept) 11485 1.1 christos (gdb_rl_callback_handler): Use std::move. 11486 1.1 christos * common/common-exceptions.h (struct gdb_exception): Add move 11487 1.1 christos assignment operator. 11488 1.1 christos (throw_exception_sjlj): Change "exception" to const reference. 11489 1.1 christos * common/common-exceptions.c (exceptions_state_mc_catch): Update. 11490 1.1 christos (throw_exception_sjlj): Change "exception" to const reference. 11491 1.1 christos 11492 1.1 christos 2019-04-25 Tom Tromey <tromey (a] adacore.com> 11493 1.1 christos 11494 1.1 christos * xml-support.c (gdb_xml_parser::gdb_xml_parser): Update. 11495 1.1 christos * python/py-value.c (valpy_getitem, valpy_nonzero): Update. 11496 1.1 christos * python/py-inferior.c (infpy_write_memory, infpy_search_memory): 11497 1.1 christos Update. 11498 1.1 christos * python/py-breakpoint.c (bppy_set_condition, bppy_set_commands): 11499 1.1 christos Update. 11500 1.1 christos * mi/mi-interp.c (mi_interp::exec): Update. 11501 1.1 christos * linespec.c (parse_linespec): Update. 11502 1.1 christos * infcall.c (run_inferior_call): Update. 11503 1.1 christos * guile/scm-value.c (gdbscm_value_to_lazy_string): Update. 11504 1.1 christos * guile/scm-symbol.c (gdbscm_lookup_symbol) 11505 1.1 christos (gdbscm_lookup_global_symbol): Update. 11506 1.1 christos * guile/scm-param.c (gdbscm_parameter_value): Update. 11507 1.1 christos * guile/scm-frame.c (gdbscm_frame_read_register) 11508 1.1 christos (gdbscm_frame_read_var): Update. 11509 1.1 christos * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Update. 11510 1.1 christos * exec.c (try_open_exec_file): Update. 11511 1.1 christos * event-top.c (gdb_rl_callback_read_char_wrapper_noexcept) 11512 1.1 christos (gdb_rl_callback_handler): Update. 11513 1.1 christos * common/common-exceptions.h (exception_none): Don't declare. 11514 1.1 christos * common/common-exceptions.c (exception_none): Don't define. 11515 1.1 christos (struct catcher) <exception>: Update. 11516 1.1 christos * cli/cli-interp.c (safe_execute_command): Update. 11517 1.1 christos * breakpoint.c (insert_bp_location, location_to_sals): Update. 11518 1.1 christos 11519 1.1 christos 2019-04-25 Ali Tamur <tamur (a] google.com> 11520 1.1 christos 11521 1.1 christos * dwarf2read.c (skip_one_die): Add DW_FORM_strx. 11522 1.1 christos (read_attribute_value): Likewise. 11523 1.1 christos (dwarf2_read_addr_index): Update comment. 11524 1.1 christos (read_str_index): Add DW_FORM_strx. 11525 1.1 christos (dwarf2_string_attr): Likewise. 11526 1.1 christos (dwarf2_const_value_attr): Likewise. 11527 1.1 christos (dump_die_shallow): Likewise. 11528 1.1 christos (dwarf2_fetch_constant_bytes): Likewise. 11529 1.1 christos (skip_form_bytes): Likewise. 11530 1.1 christos 11531 1.1 christos 2019-04-25 Sergio Durigan Junior <sergiodj (a] redhat.com> 11532 1.1 christos 11533 1.1 christos PR corefiles/11608 11534 1.1 christos PR corefiles/18187 11535 1.1 christos * linux-tdep.c (dump_mapping_p): Add new parameters ADDR and 11536 1.1 christos OFFSET. Verify if current mapping contains an ELF header. 11537 1.1 christos (linux_find_memory_regions_full): Adjust call to 11538 1.1 christos dump_mapping_p. 11539 1.1 christos 11540 1.1 christos 2019-04-25 Sandra Loosemore <sandra (a] codesourcery.com> 11541 1.1 christos Kang Li <kanglictf (a] gmail.com> 11542 1.1 christos 11543 1.1 christos PR gdb/21600 11544 1.1 christos 11545 1.1 christos * dwarf2-frame.c (read_initial_length): Be consistent about using 11546 1.1 christos unsigned representation of length. 11547 1.1 christos (decode_frame_entry_1): Likewise. Check for wraparound of 11548 1.1 christos end pointer as well as buffer overflow. 11549 1.1 christos 11550 1.1 christos 2019-04-24 Sergio Durigan Junior <sergiodj (a] redhat.com> 11551 1.1 christos 11552 1.1 christos * aarch64-tdep.c (aarch64_gdbarch_init): Use "pulongest" to print 11553 1.1 christos "vq". 11554 1.1 christos 11555 1.1 christos 2019-04-24 Tom Tromey <tromey (a] adacore.com> 11556 1.1 christos 11557 1.1 christos * amd64-tdep.c (amd64_has_unaligned_fields): Ignore bitfields. 11558 1.1 christos 11559 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11560 1.1 christos 11561 1.1 christos * s12z-tdep.c (s12z_unwind_pc): Delete. 11562 1.1 christos (s12z_unwind_sp): Delete. 11563 1.1 christos (s12z_gdbarch_init): Don't register deleted functions with 11564 1.1 christos gdbarch. 11565 1.1 christos 11566 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11567 1.1 christos 11568 1.1 christos * rl78-tdep.c (rl78_unwind_sp): Delete. 11569 1.1 christos (rl78_gdbarch_init): Don't register deleted function with gdbarch. 11570 1.1 christos 11571 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11572 1.1 christos 11573 1.1 christos * xstormy16-tdep.c (xstormy16_unwind_sp): Delete. 11574 1.1 christos (xstormy16_unwind_pc): Delete. 11575 1.1 christos (xstormy16_dummy_id): Delete. 11576 1.1 christos (xstormy16_gdbarch_init): Don't register deleted functions with 11577 1.1 christos gdbarch. 11578 1.1 christos 11579 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11580 1.1 christos 11581 1.1 christos * vax-tdep.c (vax_unwind_pc): Delete. 11582 1.1 christos (vax_gdbarch_init): Don't register deleted function with gdbarch. 11583 1.1 christos 11584 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11585 1.1 christos 11586 1.1 christos * v850-tdep.c (v850_unwind_sp): Delete. 11587 1.1 christos (v850_unwind_pc): Delete. 11588 1.1 christos (v850_dummy_id): Delete. 11589 1.1 christos (v850_gdbarch_init): Don't register deleted functions with 11590 1.1 christos gdbarch. 11591 1.1 christos 11592 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11593 1.1 christos 11594 1.1 christos * tilegx-tdep.c (tilegx_unwind_sp): Delete. 11595 1.1 christos (tilegx_unwind_pc): Delete. 11596 1.1 christos (tilegx_unwind_dummy_id): Delete. 11597 1.1 christos (tilegx_gdbarch_init): Don't register deleted functions with 11598 1.1 christos gdbarch. 11599 1.1 christos 11600 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11601 1.1 christos 11602 1.1 christos * tic6x-tdep.c (tic6x_unwind_sp): Delete. 11603 1.1 christos (tic6x_dummy_id): Delete. 11604 1.1 christos (tic6x_gdbarch_init): Don't register deleted functions with 11605 1.1 christos gdbarch. 11606 1.1 christos 11607 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11608 1.1 christos 11609 1.1 christos * sparc-tdep.c (sparc_unwind_pc): Delete. 11610 1.1 christos (sparc32_gdbarch_init): Don't register deleted function with 11611 1.1 christos gdbarch. 11612 1.1 christos 11613 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11614 1.1 christos 11615 1.1 christos * sh-tdep.c (sh_unwind_sp): Delete. 11616 1.1 christos (sh_unwind_pc): Delete. 11617 1.1 christos (sh_dummy_id): Delete. 11618 1.1 christos (sh_gdbarch_init): Don't register deleted functions with 11619 1.1 christos gdbarch. 11620 1.1 christos 11621 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11622 1.1 christos 11623 1.1 christos * score-tdep.c (score_unwind_sp): Delete. 11624 1.1 christos (score_unwind_pc): Delete. 11625 1.1 christos (score_dummy_id): Delete. 11626 1.1 christos (score_gdbarch_init): Don't register deleted functions with 11627 1.1 christos gdbarch. 11628 1.1 christos 11629 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11630 1.1 christos 11631 1.1 christos * rx-tdep.c (rx_unwind_pc): Delete. 11632 1.1 christos (rx_unwind_sp): Delete. 11633 1.1 christos (rx_dummy_id): Delete. 11634 1.1 christos (rx_gdbarch_init): Don't register deleted functions with 11635 1.1 christos gdbarch. Update comment. 11636 1.1 christos 11637 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11638 1.1 christos 11639 1.1 christos * rs6000-tdep.c (rs6000_unwind_pc): Delete. 11640 1.1 christos (rs6000_dummy_id): Delete. 11641 1.1 christos (rs6000_gdbarch_init): Don't register deleted functions with 11642 1.1 christos gdbarch. 11643 1.1 christos 11644 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11645 1.1 christos 11646 1.1 christos * or1k-tdep.c (or1k_dummy_id): Delete. 11647 1.1 christos (or1k_gdbarch_init): Don't register deleted function with gdbarch. 11648 1.1 christos 11649 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11650 1.1 christos 11651 1.1 christos * nios2-tdep.c (nios2_dummy_id): Delete. 11652 1.1 christos (nios2_unwind_sp): Delete. 11653 1.1 christos (nios2_gdbarch_init): Don't register deleted functions with 11654 1.1 christos gdbarch. 11655 1.1 christos 11656 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11657 1.1 christos 11658 1.1 christos * nds32-tdep.c (nds32_dummy_id): Delete. 11659 1.1 christos (nds32_unwind_pc): Delete. 11660 1.1 christos (nds32_unwind_sp): Delete. 11661 1.1 christos (nds32_gdbarch_init): Don't register deleted functions with 11662 1.1 christos gdbarch. 11663 1.1 christos 11664 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11665 1.1 christos 11666 1.1 christos * msp430-tdep.c (msp430_unwind_pc): Delete. 11667 1.1 christos (msp430_unwind_sp): Delete. 11668 1.1 christos (msp430_dummy_id): Delete. 11669 1.1 christos (msp430_gdbarch_init): Don't register deleted functions with 11670 1.1 christos gdbarch. 11671 1.1 christos 11672 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11673 1.1 christos 11674 1.1 christos * moxie-tdep.c (moxie_unwind_sp): Delete. 11675 1.1 christos (moxie_unwind_pc): Delete. 11676 1.1 christos (moxie_dummy_id): Delete. 11677 1.1 christos (moxie_gdbarch_init): Don't register deleted functions with 11678 1.1 christos gdbarch. 11679 1.1 christos 11680 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11681 1.1 christos 11682 1.1 christos * mn10300-tdep.c (mn10300_dummy_id): Delete. 11683 1.1 christos (mn10300_unwind_pc): Delete. 11684 1.1 christos (mn10300_unwind_sp): Delete. 11685 1.1 christos (mn10300_push_dummy_call): Use gdbarch_unwind_sp not 11686 1.1 christos mn10300_unwind_sp. 11687 1.1 christos (mn10300_frame_unwind_init): Don't register deleted functions with 11688 1.1 christos gdbarch. 11689 1.1 christos 11690 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11691 1.1 christos 11692 1.1 christos * mep-tdep.c (mep_unwind_pc): Delete. 11693 1.1 christos (mep_unwind_sp): Delete. 11694 1.1 christos (mep_dummy_id): Delete. 11695 1.1 christos (mep_gdbarch_init): Don't register deleted functions with 11696 1.1 christos gdbarch. 11697 1.1 christos 11698 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11699 1.1 christos 11700 1.1 christos * m68hc11-tdep.c (m68hc11_unwind_pc): Delete. 11701 1.1 christos (m68hc11_unwind_sp): Delete. 11702 1.1 christos (m68hc11_gdbarch_init): Don't register deleted functions with 11703 1.1 christos gdbarch. 11704 1.1 christos 11705 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11706 1.1 christos 11707 1.1 christos * m32r-tdep.c (m32r_unwind_sp): Delete. 11708 1.1 christos (m32r_unwind_pc): Delete. 11709 1.1 christos (m32r_dummy_id): Delete. 11710 1.1 christos (m32r_gdbarch_init): Don't register deleted functions with 11711 1.1 christos gdbarch. 11712 1.1 christos 11713 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11714 1.1 christos 11715 1.1 christos * m32c-tdep.c (m32c_unwind_pc): Delete. 11716 1.1 christos (m32c_unwind_sp): Delete. 11717 1.1 christos (m32c_dummy_id): Delete. 11718 1.1 christos (m32c_gdbarch_init): Don't register deleted functions with 11719 1.1 christos gdbarch. 11720 1.1 christos 11721 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11722 1.1 christos 11723 1.1 christos * lm32-tdep.c (lm32_unwind_sp): Delete. 11724 1.1 christos (lm32_unwind_pc): Delete. 11725 1.1 christos (lm32_dummy_id): Delete. 11726 1.1 christos (lm32_gdbarch_init): Don't register deleted functions with 11727 1.1 christos gdbarch. 11728 1.1 christos 11729 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11730 1.1 christos 11731 1.1 christos * iq2000-tdep.c (iq2000_unwind_sp): Delete. 11732 1.1 christos (iq2000_unwind_pc): Delete. 11733 1.1 christos (iq2000_dummy_id): Delete. 11734 1.1 christos (iq2000_gdbarch_init): Don't register deleted functions with 11735 1.1 christos gdbarch. 11736 1.1 christos 11737 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11738 1.1 christos 11739 1.1 christos * nds32-tdep.c (nds32_type_align): Delete. 11740 1.1 christos (nds32_push_dummy_call): Use type_align instead. 11741 1.1 christos 11742 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11743 1.1 christos 11744 1.1 christos * arm-tdep.c (arm_type_align): Only handle vector override case. 11745 1.1 christos (arm_push_dummy_call): Use type_align. 11746 1.1 christos (arm_gdbarch_init): Register arm_type_align gdbarch function. 11747 1.1 christos 11748 1.1 christos 2019-04-23 Andrew Burgess <andrew.burgess (a] embecosm.com> 11749 1.1 christos 11750 1.1 christos * aarch64-tdep.c (aarch64_type_align): Only handle vector override 11751 1.1 christos case. 11752 1.1 christos (pass_on_stack): Use type_align. 11753 1.1 christos (aarch64_gdbarch_init): Register aarch64_type_align gdbarch 11754 1.1 christos function. 11755 1.1 christos 11756 1.1 christos 2019-04-23 Tom Tromey <tromey (a] adacore.com> 11757 1.1 christos 11758 1.1 christos * dwarf2read.c (line_header::file_name_at): Remove unused 11759 1.1 christos overload. 11760 1.1 christos 11761 1.1 christos 2019-04-23 Tom de Vries <tdevries (a] suse.de> 11762 1.1 christos 11763 1.1 christos PR gdb/24438 11764 1.1 christos * contrib/cc-with-tweaks.sh: Remove superfluous .alt file after dwz 11765 1.1 christos invocation. 11766 1.1 christos 11767 1.1 christos 11768 1.1 christos 2019-03-27 Ali Tamur <tamur (a] google.com> 11769 1.1 christos 11770 1.1 christos * dwarf2-frame.c(dwarf_expr_executor::get_addr_index): Update comment 11771 1.1 christos * dwarf2expr.c(dwarf_expr_context::execute_stack_op): Add DW_OP_addrx 11772 1.1 christos * dwarf2expr.h(dwarf_expr_context::offset): Update comment 11773 1.1 christos (dwarf_expr_context::get_addr_index): Likewise 11774 1.1 christos * dwarf2loc.c(dwarf_evaluate_loc_desc::get_addr_index): Likewise 11775 1.1 christos (symbol_needs_eval_context::get_addr_index): Likewise 11776 1.1 christos (disassemble_dwarf_expression): Add DW_OP_addrx 11777 1.1 christos * dwarf2read.c(attr_value_as_address): Add DW_FORM_addrx 11778 1.1 christos (read_cutu_die_from_dwo): Update comment 11779 1.1 christos (skip_one_die): Add DW_FORM_addrx 11780 1.1 christos (read_attribute_value): Likewise 11781 1.1 christos (var_decode_location): Add DW_OP_addrx 11782 1.1 christos (dwarf2_const_value_attr): Add DW_FORM_addrx 11783 1.1 christos (dump_die_shallow): Likewise 11784 1.1 christos (dwarf2_fetch_constant_bytes): Likewise 11785 1.1 christos (decode_locdesc): Add DW_OP_addrx 11786 1.1 christos (skip_form_bytes): Add DW_FORM_addrx 11787 1.1 christos 11788 1.1 christos 2019-04-22 Ali Tamur <tamur (a] google.com> 11789 1.1 christos 11790 1.1 christos * MAINTAINERS (Write After Approval): Add self. 11791 1.1 christos 11792 1.1 christos 2019-04-22 Simon Marchi <simon.marchi (a] efficios.com> 11793 1.1 christos 11794 1.1 christos * solib-svr4.c (get_svr4_info): Add pspace parameter. 11795 1.1 christos (svr4_keep_data_in_core): Pass current_program_space to get_svr4_info. 11796 1.1 christos (open_symbol_file_object): Likewise. 11797 1.1 christos (svr4_default_sos): Add info parameter. 11798 1.1 christos (svr4_read_so_list): Likewise. 11799 1.1 christos (svr4_current_sos_direct): Adjust functions calls to pass down 11800 1.1 christos info. 11801 1.1 christos (svr4_current_sos_1): Add info parameter. 11802 1.1 christos (svr4_current_sos): Call get_svr4_info, pass info down to 11803 1.1 christos svr4_current_sos_1. 11804 1.1 christos (svr4_fetch_objfile_link_map): Pass objfile->pspace to 11805 1.1 christos get_svr4_info. 11806 1.1 christos (svr4_in_dynsym_resolve_code): Pass current_program_space to 11807 1.1 christos get_svr4_info. 11808 1.1 christos (probes_table_htab_remove_objfile_probes): Pass objfile->pspace 11809 1.1 christos to get_svr4_info. 11810 1.1 christos (probes_table_remove_objfile_probes): Likewise. 11811 1.1 christos (register_solib_event_probe): Add info parameter. 11812 1.1 christos (solist_update_incremental): Pass info parameter down to 11813 1.1 christos svr4_read_so_list. 11814 1.1 christos (disable_probes_interface): Add info parameter. 11815 1.1 christos (svr4_handle_solib_event): Pass current_program_space to 11816 1.1 christos get_svr4_info. Adjust disable_probes_interface cleanup. 11817 1.1 christos (svr4_create_probe_breakpoints): Add info parameter, pass it 11818 1.1 christos down to register_solib_event_probe. 11819 1.1 christos (svr4_create_solib_event_breakpoints): Add info parameter, 11820 1.1 christos pass it down to svr4_create_probe_breakpoints. 11821 1.1 christos (enable_break): Pass info down to 11822 1.1 christos svr4_create_solib_event_breakpoints. 11823 1.1 christos (svr4_solib_create_inferior_hook): Pass current_program_space to 11824 1.1 christos get_svr4_info. 11825 1.1 christos (svr4_clear_solib): Likewise. 11826 1.1 christos 11827 1.1 christos 2019-04-22 Pedro Alves <palves (a] redhat.com> 11828 1.1 christos 11829 1.1 christos * solib-svr4.c (svr4_free_objfile_observer): New. 11830 1.1 christos (probe_and_action::objfile): New field. 11831 1.1 christos (probes_table_htab_remove_objfile_probes) 11832 1.1 christos (probes_table_remove_objfile_probes): New functions. 11833 1.1 christos (register_solib_event_probe): Add 'objfile' parameter. Store it 11834 1.1 christos in the new probe_and_action. Don't store the probe in 'lookup'. 11835 1.1 christos (svr4_create_probe_breakpoints): Pass objfile to 11836 1.1 christos register_solib_event_probe. 11837 1.1 christos (_initialize_svr4_solib): Register a free_objfile observer. 11838 1.1 christos 11839 1.1 christos 2019-04-19 Tom Tromey <tom (a] tromey.com> 11840 1.1 christos 11841 1.1 christos * common/queue.h: Remove. 11842 1.1 christos 11843 1.1 christos 2019-04-19 Tom Tromey <tom (a] tromey.com> 11844 1.1 christos 11845 1.1 christos * event-loop.c: Don't include "common/queue.h". 11846 1.1 christos 11847 1.1 christos 2019-04-19 Tom Tromey <tom (a] tromey.com> 11848 1.1 christos 11849 1.1 christos * remote.c (remote_target): Use delete. 11850 1.1 christos * remote-notif.h: Include <list>, not "common/queue.h". 11851 1.1 christos (notif_client_p): Remove typedef. 11852 1.1 christos (remote_notif_state): Add constructor, destructor, initializer. 11853 1.1 christos <notif_queue>: Now a std::list. 11854 1.1 christos (remote_notif_state_xfree): Don't declare. 11855 1.1 christos * remote-notif.c (remote_notif_process, handle_notification) 11856 1.1 christos (remote_notif_state_allocate): Update. 11857 1.1 christos (~remote_notif_state): Rename from remote_notif_state_xfree. 11858 1.1 christos 11859 1.1 christos 2019-04-19 Tom Tromey <tom (a] tromey.com> 11860 1.1 christos 11861 1.1 christos * symfile.c (reread_symbols): Update. 11862 1.1 christos * objfiles.c (objfile_register_static_link) 11863 1.1 christos (objfile_lookup_static_link): Update 11864 1.1 christos (~objfile) Don't delete static_links. 11865 1.1 christos * objfiles.h (struct objfile) <static_links>: Now an htab_up. 11866 1.1 christos 11867 1.1 christos 2019-04-19 Tom Tromey <tom (a] tromey.com> 11868 1.1 christos 11869 1.1 christos * type-stack.h (struct type_stack) <insert>: Constify string. 11870 1.1 christos * type-stack.c (type_stack::insert): Constify string. 11871 1.1 christos * gdbtypes.h (lookup_template_type): Update. 11872 1.1 christos (address_space_name_to_int): Update. 11873 1.1 christos * gdbtypes.c (address_space_name_to_int): Make space_identifier 11874 1.1 christos const. 11875 1.1 christos (lookup_template_type): Make name const. 11876 1.1 christos * c-exp.y: Update rules. 11877 1.1 christos (lex_one_token, classify_name, classify_inner_name) 11878 1.1 christos (c_print_token): Update. 11879 1.1 christos * p-exp.y: Update rules. 11880 1.1 christos (yylex): Update. 11881 1.1 christos * f-exp.y: Update rules. 11882 1.1 christos (yylex): Update. 11883 1.1 christos * d-exp.y: Update rules. 11884 1.1 christos (lex_one_token, classify_name, classify_inner_name): Update. 11885 1.1 christos * parse.c (write_dollar_variable, copy_name): Return std::string. 11886 1.1 christos * parser-defs.h (copy_name): Change return type. 11887 1.1 christos * m2-exp.y: Update rules. 11888 1.1 christos (yylex): Update. 11889 1.1 christos * go-exp.y (lex_one_token): Update. 11890 1.1 christos Update rules. 11891 1.1 christos (classify_unsafe_function, classify_packaged_name) 11892 1.1 christos (classify_name, yylex): Update. 11893 1.1 christos 11894 1.1 christos 2019-04-19 Sergei Trofimovich <siarheit (a] google.com> 11895 1.1 christos 11896 1.1 christos * configure.ac: add --enable-source-highlight switch. 11897 1.1 christos * configure: Regenerate. 11898 1.1 christos * top.c (print_gdb_version): plumb --enable-source-highlight 11899 1.1 christos status to "show configuration". 11900 1.1 christos 11901 1.1 christos 2019-04-19 Tom Tromey <tromey (a] adacore.com> 11902 1.1 christos 11903 1.1 christos * ada-lang.c (ada_is_variant_part, ada_to_fixed_type_1): 11904 1.1 christos Check ADA_TYPE_P. 11905 1.1 christos (empty_record, ada_template_to_fixed_record_type_1) 11906 1.1 christos (template_to_static_fixed_type) 11907 1.1 christos (to_record_with_fixed_variant_part): Use INIT_NONE_SPECIFIC. 11908 1.1 christos * cp-abi.c (value_rtti_type): Check HAVE_CPLUS_STRUCT. 11909 1.1 christos * gdbtypes.h (INIT_NONE_SPECIFIC, ADA_TYPE_P): New 11910 1.1 christos macros. 11911 1.1 christos 11912 1.1 christos 2019-04-19 Ilya Yu. Malakhov <malakhov (a] mcst.ru> 11913 1.1 christos 11914 1.1 christos PR symtab/24423: 11915 1.1 christos * source.c (print_source_lines_base): Advance "iter" when a 11916 1.1 christos control character is seen. 11917 1.1 christos 11918 1.1 christos 2019-04-19 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 11919 1.1 christos 11920 1.1 christos * inferior.h (struct infcall_suspend_state_deleter): 11921 1.1 christos Catch exception in destructor to avoid crash. 11922 1.1 christos 11923 1.1 christos 2019-04-19 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 11924 1.1 christos 11925 1.1 christos * cli/cli-cmds.c (_initialize_cli_cmds): Move "shell" "!" alias 11926 1.1 christos close to the add_com "shell". 11927 1.1 christos 11928 1.1 christos 2019-04-18 Tom Tromey <tromey (a] adacore.com> 11929 1.1 christos 11930 1.1 christos * process-stratum-target.h (class process_stratum_target) 11931 1.1 christos <stratum>: Add "final". 11932 1.1 christos 11933 1.1 christos 2019-04-17 Tom Tromey <tromey (a] adacore.com> 11934 1.1 christos 11935 1.1 christos * dwarf2read.c (dwarf2_init_complex_target_type): Check "tt" 11936 1.1 christos against nullptr before use. 11937 1.1 christos 11938 1.1 christos 2019-04-17 Alan Hayward <alan.hayward (a] arm.com> 11939 1.1 christos 11940 1.1 christos * nat/linux-waitpid.c (linux_debug): Call debug_vprintf. 11941 1.1 christos 11942 1.1 christos 2019-04-17 Jim Wilson <jimw (a] sifive.com> 11943 1.1 christos Andrew Burgess <andrew.burgess (a] embecosm.com> 11944 1.1 christos 11945 1.1 christos * riscv-tdep.c (riscv_breakpoint_kind_from_pc): Hanndle case where 11946 1.1 christos code read might fail, assume 4-byte breakpoint in that case. 11947 1.1 christos 11948 1.1 christos 2019-04-15 Leszek Swirski <leszeks (a] google.com> 11949 1.1 christos 11950 1.1 christos * amd64-tdep.c (amd64_classify_aggregate): Use cp_pass_by_reference 11951 1.1 christos rather than a hand-rolled POD check when checking for forced MEMORY 11952 1.1 christos classification. 11953 1.1 christos 11954 1.1 christos 2019-04-15 Alan Hayward <alan.hayward (a] arm.com> 11955 1.1 christos 11956 1.1 christos * aarch64-linux-nat.c (store_sveregs_to_thread): Set vector length. 11957 1.1 christos * nat/aarch64-sve-linux-ptrace.c (aarch64_sve_set_vq): New 11958 1.1 christos function. 11959 1.1 christos (aarch64_sve_regs_copy_to_reg_buf): Remove VG checks. 11960 1.1 christos (aarch64_sve_regs_copy_from_reg_buf): Likewise. 11961 1.1 christos * nat/aarch64-sve-linux-ptrace.h (aarch64_sve_set_vq): New 11962 1.1 christos declaration. 11963 1.1 christos 11964 1.1 christos 2019-04-15 Alan Hayward <alan.hayward (a] arm.com> 11965 1.1 christos 11966 1.1 christos * aarch64-linux-nat.c 11967 1.1 christos (aarch64_linux_nat_target::thread_architecture): Add override. 11968 1.1 christos * aarch64-tdep.c (aarch64_gdbarch_init): Ensure different tdesc for 11969 1.1 christos each VQ. 11970 1.1 christos 11971 1.1 christos 2019-04-15 Alan Hayward <alan.hayward (a] arm.com> 11972 1.1 christos 11973 1.1 christos * aarch64-tdep.c (aarch64_gdbarch_init): Move gdbarch lookup. 11974 1.1 christos 11975 1.1 christos 2019-04-13 Andrew Burgess <andrew.burgess (a] embecosm.com> 11976 1.1 christos 11977 1.1 christos * dwarf2read.c (dwarf2_init_complex_target_type): Handle complex 11978 1.1 christos target types of size 96-bits, add some additional comments, and 11979 1.1 christos check that the builtin type we found was the correct size. 11980 1.1 christos 11981 1.1 christos 2019-04-12 Eli Zaretskii <eliz (a] gnu.org> 11982 1.1 christos 11983 1.1 christos * utils.c (prompt_for_continue): Don't restore the styling at the 11984 1.1 christos end, as applied_style has the wrong value. This fixes styling in 11985 1.1 christos long lists of file names that are interrupted by the "Continue?" 11986 1.1 christos prompt. 11987 1.1 christos 11988 1.1 christos 2019-04-12 Andrew Burgess <andrew.burgess (a] embecosm.com> 11989 1.1 christos 11990 1.1 christos * ada-lang.c (ada_language_defn): Remove use of LANG_MAGIC. 11991 1.1 christos * c-lang.c (c_language_defn): Likewise. 11992 1.1 christos (cplus_language_defn): Likewise. 11993 1.1 christos (asm_language_defn): Likewise. 11994 1.1 christos (minimal_language_defn): Likewise. 11995 1.1 christos * d-lang.c (d_language_defn): Likewise. 11996 1.1 christos * f-lang.c (f_language_defn): Likewise. 11997 1.1 christos * go-lang.c (go_language_defn): Likewise. 11998 1.1 christos * language.c (unknown_language_defn): Likewise. 11999 1.1 christos (auto_language_defn): Likewise. 12000 1.1 christos * language.h (struct language_defn): Remove la_magic field. 12001 1.1 christos (LANG_MAGIC): Delete. 12002 1.1 christos * m2-lang.c (m2_language_defn): Remove use of LANG_MAGIC. 12003 1.1 christos * objc-lang.c (objc_language_defn): Likewise. 12004 1.1 christos * opencl-lang.c (opencl_language_defn): Likewise. 12005 1.1 christos * p-lang.c (pascal_language_defn): Likewise. 12006 1.1 christos * rust-lang.c (rust_language_defn): Likewise. 12007 1.1 christos 12008 1.1 christos 2019-04-11 Andrew Burgess <andrew.burgess (a] embecosm.com> 12009 1.1 christos 12010 1.1 christos * riscv-tdep.c (riscv_type_align): New function. 12011 1.1 christos (riscv_type_alignment): Delete. 12012 1.1 christos (riscv_arg_location): Use 'type_align'. 12013 1.1 christos (riscv_gdbarch_init): Register riscv_type_align gdbarch function. 12014 1.1 christos 12015 1.1 christos 2019-04-11 Andrew Burgess <andrew.burgess (a] embecosm.com> 12016 1.1 christos 12017 1.1 christos * gdbtypes.c (type_align): A struct with no non-static fields also 12018 1.1 christos has alignment of 1. 12019 1.1 christos 12020 1.1 christos 2019-04-11 Andrew Burgess <andrew.burgess (a] embecosm.com> 12021 1.1 christos 12022 1.1 christos * riscv-tdep.c (riscv_call_arg_complex_float): Fix offset of first 12023 1.1 christos component to 0. 12024 1.1 christos (riscv_struct_info::riscv_struct_info): Initialise m_offsets 12025 1.1 christos member. 12026 1.1 christos (riscv_struct_info::analyse): New implementation using new 12027 1.1 christos analyse_inner member function. 12028 1.1 christos (riscv_struct_info::field_offset): New member function. 12029 1.1 christos (riscv_struct_info::m_offsets): New member variable. 12030 1.1 christos (riscv_struct_info::analyse_inner): New private member function, 12031 1.1 christos takes the old implementation of riscv_struct_info::analyse but 12032 1.1 christos extended to track field offsets. 12033 1.1 christos (riscv_call_arg_struct): Update the struct folding special cases 12034 1.1 christos to handle cases where empty C++ structs, which are non-zero 12035 1.1 christos length, are found. 12036 1.1 christos (riscv_arg_location): Initialise the length of each location, a 12037 1.1 christos non-zero length now indicates the location is in use. 12038 1.1 christos (riscv_push_dummy_call): Allow for the first location having a 12039 1.1 christos non-zero offset when setting up arguments. 12040 1.1 christos (riscv_return_value): Likewise, but for return values. 12041 1.1 christos 12042 1.1 christos 2019-04-11 Tom Tromey <tromey (a] adacore.com> 12043 1.1 christos 12044 1.1 christos * utils.c (internal_vproblem): Make "msg" const. 12045 1.1 christos 12046 1.1 christos 2019-04-11 Alan Hayward <alan.hayward (a] arm.com> 12047 1.1 christos 12048 1.1 christos * aarch64-tdep.c (aarch64_analyze_prologue_test): Reset saved regs. 12049 1.1 christos * trad-frame.c (trad_frame_reset_saved_regs): New function. 12050 1.1 christos (trad_frame_alloc_saved_regs): Call trad_frame_reset_saved_regs. 12051 1.1 christos * trad-frame.h (trad_frame_reset_saved_regs): New declaration. 12052 1.1 christos 12053 1.1 christos 2019-04-10 Kevin Buettner <kevinb (a] redhat.com> 12054 1.1 christos 12055 1.1 christos * amd64-linux-nat.c (amd64_linux_collect_native_gregset): New 12056 1.1 christos function. 12057 1.1 christos (fill_gregset): Call amd64_linux_collect_native_gregset instead 12058 1.1 christos of amd64_collect_native_gregset. 12059 1.1 christos (amd64_linux_nat_target::store_registers): Likewise. 12060 1.1 christos 12061 1.1 christos 2019-04-10 Tom Tromey <tom (a] tromey.com> 12062 1.1 christos 12063 1.1 christos * symtab.c (lookup_global_symbol_from_objfile) 12064 1.1 christos (lookup_symbol_in_objfile_from_linkage_name): Use the iterator. 12065 1.1 christos * objfiles.h (class separate_debug_iterator): New. 12066 1.1 christos (class separate_debug_range): New. 12067 1.1 christos (struct objfile) <separate_debug_objfiles>: New method. 12068 1.1 christos (objfile_separate_debug_iterate): Don't declare. 12069 1.1 christos * objfiles.c (separate_debug_iterator::operator++): Rename from 12070 1.1 christos objfile_separate_debug_iterate. 12071 1.1 christos (objfile_relocate, objfile_rebase, objfile_has_symbols): Use the 12072 1.1 christos iterator. 12073 1.1 christos * minsyms.c (lookup_minimal_symbol_by_pc_section): Use the 12074 1.1 christos iterator. 12075 1.1 christos 12076 1.1 christos 2019-04-10 Tom Tromey <tom (a] tromey.com> 12077 1.1 christos 12078 1.1 christos * symfile.c (reread_symbols): Remove old comment. 12079 1.1 christos * objfiles.c (free_all_objfiles): Fix a typo. 12080 1.1 christos 12081 1.1 christos 2019-04-10 Tom Tromey <tom (a] tromey.com> 12082 1.1 christos 12083 1.1 christos * ia64-tdep.c (ia64_get_dyn_info_list): Use foreach. 12084 1.1 christos * minsyms.c (lookup_minimal_symbol): Use foreach. 12085 1.1 christos (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) 12086 1.1 christos (lookup_minimal_symbol_solib_trampoline): Likewise. 12087 1.1 christos * symfile.c (reread_symbols): Use foreach. 12088 1.1 christos 12089 1.1 christos 2019-04-09 Ivan Begert <ivanbegert (a] gmail.com> 12090 1.1 christos Tom Tromey <tromey (a] adacore.com> 12091 1.1 christos 12092 1.1 christos PR rust/24414: 12093 1.1 christos * rust-exp.y (rust_parser::lex_number): Use strtoulst. 12094 1.1 christos (rust_lex_int_test): Change "value" to be LONGEST. 12095 1.1 christos (rust_lex_tests): Add test for long integer literal. 12096 1.1 christos 12097 1.1 christos 2019-04-09 Tom Tromey <tromey (a] adacore.com> 12098 1.1 christos 12099 1.1 christos * remote.c (remote_target::remote_add_inferior): Change fake_pid_p 12100 1.1 christos to bool. 12101 1.1 christos (extended_remote_target::attach): Update. 12102 1.1 christos (remote_target::remote_notice_new_inferior): Update. 12103 1.1 christos (remote_target::add_current_inferior_and_thread): Update. 12104 1.1 christos * inferior.c (exit_inferior_1): Use "false". 12105 1.1 christos * corelow.c (add_to_thread_list): Make fake_pid_p bool. 12106 1.1 christos 12107 1.1 christos 2019-04-09 Simon Marchi <simon.marchi (a] efficios.com> 12108 1.1 christos 12109 1.1 christos * infcmd.c (run_command_1): Pass -qualified to tbreak when using 12110 1.1 christos the "start" command. 12111 1.1 christos 12112 1.1 christos 2019-04-08 Kevin Buettner <kevinb (a] redhat.com> 12113 1.1 christos 12114 1.1 christos * python/py-inferior.c (infpy_thread_from_thread_handle): 12115 1.1 christos Adjust comments to reflect renaming of thread_from_thread_handle 12116 1.1 christos to thread_from_handle. Adjust keywords. Fix type error message. 12117 1.1 christos (inferior_object_methods): Add thread_from_handle. Retain 12118 1.1 christos thread_from_thread_handle, but mark it as deprecated. 12119 1.1 christos 12120 1.1 christos 2019-04-08 Kevin Buettner <kevinb (a] redhat.com> 12121 1.1 christos 12122 1.1 christos * gdbthread.h (find_thread_by_handle): Revise declaration. 12123 1.1 christos * thread.c (find_thread_by_handle): Likewise. Adjust 12124 1.1 christos implementation too. 12125 1.1 christos * python/py-inferior.c (infpy_thread_from_thread_handle): Add 12126 1.1 christos support for buffer objects as handles. 12127 1.1 christos 12128 1.1 christos 2019-04-08 Kevin Buettner <kevinb (a] redhat.com> 12129 1.1 christos 12130 1.1 christos * python/py-infthread.c (thpy_thread_handle): New function. 12131 1.1 christos (thread_object_methods): Register thpy_thread_handle. 12132 1.1 christos 12133 1.1 christos 2019-04-08 Kevin Buettner <kevinb (a] redhat.com> 12134 1.1 christos 12135 1.1 christos * gdbthread.h (thread_to_thread_handle): Declare. 12136 1.1 christos * thread.c (gdbtypes.h): Include. 12137 1.1 christos (thread_to_thread_handle): New function. 12138 1.1 christos 12139 1.1 christos * target.h (struct target_ops): Add thread_info_to_thread_handle. 12140 1.1 christos (target_thread_info_to_thread_handle): Declare. 12141 1.1 christos * target.c (target_thread_info_to_thread_handle): New function. 12142 1.1 christos * target-debug.h (target_debug_print_gdb_byte_vector): Define. 12143 1.1 christos * target-delegates.c: Regenerate. 12144 1.1 christos 12145 1.1 christos * linux-thread-db.c (class thread_db_target): Add method 12146 1.1 christos thread_info_to_thread_handle. 12147 1.1 christos (thread_db_target::thread_info_to_thread_handle): Define. 12148 1.1 christos * remote.c (class remote_target): Add new method 12149 1.1 christos thread_info_to_thread_handle. 12150 1.1 christos (remote_target::thread_info_to_thread_handle): Define. 12151 1.1 christos 12152 1.1 christos 2019-04-08 Pedro Alves <palves (a] redhat.com> 12153 1.1 christos 12154 1.1 christos * common/common-exceptions.c (throw_exception): Don't create 12155 1.1 christos named object to throw; throw directly. 12156 1.1 christos (throw_it): Likewise. Don't initialize gdb_exception::message 12157 1.1 christos here, with new; pass FMT and AP to the ctor instead. 12158 1.1 christos * common/common-exceptions.h: Include <string>. 12159 1.1 christos (gdb_exception::gdb_exception(enum return_reason, enum errors, 12160 1.1 christos const char *, va_list)): New ctor. Use std::make_shared. 12161 1.1 christos (gdb_exception_error::gdb_exception_error(enum return_reason, enum 12162 1.1 christos errors)): Delete. 12163 1.1 christos (gdb_exception_error::gdb_exception_error(enum errors, const char 12164 1.1 christos *, va_list)): New. 12165 1.1 christos (gdb_exception_error::gdb_exception_error(const gdb_exception &)): 12166 1.1 christos Add assertion. 12167 1.1 christos (gdb_exception_quit::gdb_exception_quit(enum return_reason, enum 12168 1.1 christos errors)): Delete. 12169 1.1 christos (gdb_exception_quit::gdb_exception_quit(const char *, va_list)): New. 12170 1.1 christos (gdb_exception_quit::gdb_exception_quit(const gdb_exception &)): 12171 1.1 christos Add assertion. 12172 1.1 christos 12173 1.1 christos 2019-04-08 Tom Tromey <tom (a] tromey.com> 12174 1.1 christos 12175 1.1 christos * valops.c (value_rtti_indirect_type): Replace throw_exception 12176 1.1 christos with throw. 12177 1.1 christos * tracefile-tfile.c (tfile_target_open): Replace throw_exception 12178 1.1 christos with throw. 12179 1.1 christos * thread.c (thr_try_catch_cmd): Replace throw_exception with 12180 1.1 christos throw. 12181 1.1 christos * target.c (target_translate_tls_address): Replace throw_exception 12182 1.1 christos with throw. 12183 1.1 christos * stack.c (frame_apply_command_count): Replace throw_exception 12184 1.1 christos with throw. 12185 1.1 christos * solib-spu.c (append_ocl_sos): Replace throw_exception with 12186 1.1 christos throw. 12187 1.1 christos * s390-tdep.c (s390_frame_unwind_cache): Replace throw_exception 12188 1.1 christos with throw. 12189 1.1 christos * rs6000-tdep.c (rs6000_frame_cache) 12190 1.1 christos (rs6000_epilogue_frame_cache): Replace throw_exception with throw. 12191 1.1 christos * remote.c: Replace throw_exception with throw. 12192 1.1 christos * record-full.c (record_full_message, record_full_wait_1) 12193 1.1 christos (record_full_restore): Replace throw_exception with throw. 12194 1.1 christos * record-btrace.c: 12195 1.1 christos (get_thread_current_frame_id, record_btrace_start_replaying) 12196 1.1 christos (cmd_record_btrace_bts_start, cmd_record_btrace_pt_start) 12197 1.1 christos (cmd_record_btrace_start): Replace throw_exception with throw. 12198 1.1 christos * parse.c (parse_exp_in_context_1): Replace throw_exception with 12199 1.1 christos throw. 12200 1.1 christos * linux-nat.c (detach_one_lwp, linux_resume_one_lwp) 12201 1.1 christos (resume_stopped_resumed_lwps): Replace throw_exception with throw. 12202 1.1 christos * linespec.c: 12203 1.1 christos (find_linespec_symbols): Replace throw_exception with throw. 12204 1.1 christos * infrun.c (displaced_step_prepare, resume): Replace 12205 1.1 christos throw_exception with throw. 12206 1.1 christos * infcmd.c (post_create_inferior): Replace throw_exception with 12207 1.1 christos throw. 12208 1.1 christos * inf-loop.c (inferior_event_handler): Replace throw_exception 12209 1.1 christos with throw. 12210 1.1 christos * i386-tdep.c (i386_frame_cache, i386_epilogue_frame_cache) 12211 1.1 christos (i386_sigtramp_frame_cache): Replace throw_exception with throw. 12212 1.1 christos * frame.c (frame_unwind_pc, get_prev_frame_if_no_cycle) 12213 1.1 christos (get_prev_frame_always, get_frame_pc_if_available) 12214 1.1 christos (get_frame_address_in_block_if_available, get_frame_language): 12215 1.1 christos Replace throw_exception with throw. 12216 1.1 christos * frame-unwind.c (frame_unwind_try_unwinder): Replace 12217 1.1 christos throw_exception with throw. 12218 1.1 christos * eval.c (fetch_subexp_value, evaluate_var_value) 12219 1.1 christos (evaluate_funcall, evaluate_subexp_standard): Replace 12220 1.1 christos throw_exception with throw. 12221 1.1 christos * dwarf2loc.c (call_site_find_chain) 12222 1.1 christos (dwarf2_evaluate_loc_desc_full, dwarf2_locexpr_baton_eval): 12223 1.1 christos Replace throw_exception with throw. 12224 1.1 christos * dwarf2-frame.c (dwarf2_frame_cache): Replace throw_exception 12225 1.1 christos with throw. 12226 1.1 christos * darwin-nat.c (darwin_attach_pid): Replace throw_exception with 12227 1.1 christos throw. 12228 1.1 christos * cp-abi.c (baseclass_offset): Replace throw_exception with throw. 12229 1.1 christos * completer.c (complete_line_internal): Replace throw_exception 12230 1.1 christos with throw. 12231 1.1 christos * compile/compile-object-run.c (compile_object_run): Replace 12232 1.1 christos throw_exception with throw. 12233 1.1 christos * cli/cli-script.c (process_next_line): Replace throw_exception 12234 1.1 christos with throw. 12235 1.1 christos * btrace.c (btrace_compute_ftrace_pt, btrace_compute_ftrace) 12236 1.1 christos (btrace_enable, btrace_maint_update_pt_packets): Replace 12237 1.1 christos throw_exception with throw. 12238 1.1 christos * breakpoint.c (create_breakpoint, save_breakpoints): Replace 12239 1.1 christos throw_exception with throw. 12240 1.1 christos * break-catch-throw.c (re_set_exception_catchpoint): Replace 12241 1.1 christos throw_exception with throw. 12242 1.1 christos * amd64-tdep.c (amd64_frame_cache, amd64_sigtramp_frame_cache) 12243 1.1 christos (amd64_epilogue_frame_cache): Replace throw_exception with throw. 12244 1.1 christos * aarch64-tdep.c (aarch64_make_prologue_cache) 12245 1.1 christos (aarch64_make_stub_cache): Replace throw_exception with throw. 12246 1.1 christos 12247 1.1 christos 2019-04-08 Tom Tromey <tom (a] tromey.com> 12248 1.1 christos 12249 1.1 christos * common/common-exceptions.c (throw_exception): Rename from 12250 1.1 christos throw_exception_cxx. Remove old copy. Make argument const. 12251 1.1 christos (throw_it): Create and throw exception objects directly. 12252 1.1 christos * common/common-exceptions.h (throw_exception): Make argument 12253 1.1 christos const. 12254 1.1 christos (struct gdb_exception_error): Add constructor. 12255 1.1 christos (struct gdb_exception_quit): Add constructor. 12256 1.1 christos 12257 1.1 christos 2019-04-08 Tom Tromey <tom (a] tromey.com> 12258 1.1 christos 12259 1.1 christos * common/common-exceptions.h (exception_rethrow): Don't declare. 12260 1.1 christos (TRY_SJLJ): Update comment. 12261 1.1 christos (TRY, CATCH, END_CATCH): Remove. 12262 1.1 christos * common/common-exceptions.c (exception_rethrow): Remove. 12263 1.1 christos 12264 1.1 christos 2019-04-08 Tom Tromey <tom (a] tromey.com> 12265 1.1 christos 12266 1.1 christos * common/common-exceptions.h (gdb_exception_RETURN_MASK_ALL): 12267 1.1 christos Remove. 12268 1.1 christos (gdb_exception_error): Rename from 12269 1.1 christos gdb_exception_RETURN_MASK_ERROR. 12270 1.1 christos (gdb_exception_quit): Rename from gdb_exception_RETURN_MASK_QUIT. 12271 1.1 christos (gdb_quit_bad_alloc): Update. 12272 1.1 christos * aarch64-tdep.c: Update. 12273 1.1 christos * ada-lang.c: Update. 12274 1.1 christos * ada-typeprint.c: Update. 12275 1.1 christos * ada-valprint.c: Update. 12276 1.1 christos * amd64-tdep.c: Update. 12277 1.1 christos * arch-utils.c: Update. 12278 1.1 christos * break-catch-throw.c: Update. 12279 1.1 christos * breakpoint.c: Update. 12280 1.1 christos * btrace.c: Update. 12281 1.1 christos * c-varobj.c: Update. 12282 1.1 christos * cli/cli-cmds.c: Update. 12283 1.1 christos * cli/cli-interp.c: Update. 12284 1.1 christos * cli/cli-script.c: Update. 12285 1.1 christos * common/common-exceptions.c: Update. 12286 1.1 christos * common/new-op.c: Update. 12287 1.1 christos * common/selftest.c: Update. 12288 1.1 christos * compile/compile-c-symbols.c: Update. 12289 1.1 christos * compile/compile-cplus-symbols.c: Update. 12290 1.1 christos * compile/compile-object-load.c: Update. 12291 1.1 christos * compile/compile-object-run.c: Update. 12292 1.1 christos * completer.c: Update. 12293 1.1 christos * corelow.c: Update. 12294 1.1 christos * cp-abi.c: Update. 12295 1.1 christos * cp-support.c: Update. 12296 1.1 christos * cp-valprint.c: Update. 12297 1.1 christos * darwin-nat.c: Update. 12298 1.1 christos * disasm-selftests.c: Update. 12299 1.1 christos * dtrace-probe.c: Update. 12300 1.1 christos * dwarf-index-cache.c: Update. 12301 1.1 christos * dwarf-index-write.c: Update. 12302 1.1 christos * dwarf2-frame-tailcall.c: Update. 12303 1.1 christos * dwarf2-frame.c: Update. 12304 1.1 christos * dwarf2loc.c: Update. 12305 1.1 christos * dwarf2read.c: Update. 12306 1.1 christos * eval.c: Update. 12307 1.1 christos * event-loop.c: Update. 12308 1.1 christos * event-top.c: Update. 12309 1.1 christos * exec.c: Update. 12310 1.1 christos * f-valprint.c: Update. 12311 1.1 christos * fbsd-tdep.c: Update. 12312 1.1 christos * frame-unwind.c: Update. 12313 1.1 christos * frame.c: Update. 12314 1.1 christos * gdbtypes.c: Update. 12315 1.1 christos * gnu-v3-abi.c: Update. 12316 1.1 christos * guile/guile-internal.h: Update. 12317 1.1 christos * guile/scm-block.c: Update. 12318 1.1 christos * guile/scm-breakpoint.c: Update. 12319 1.1 christos * guile/scm-cmd.c: Update. 12320 1.1 christos * guile/scm-disasm.c: Update. 12321 1.1 christos * guile/scm-frame.c: Update. 12322 1.1 christos * guile/scm-lazy-string.c: Update. 12323 1.1 christos * guile/scm-math.c: Update. 12324 1.1 christos * guile/scm-param.c: Update. 12325 1.1 christos * guile/scm-ports.c: Update. 12326 1.1 christos * guile/scm-pretty-print.c: Update. 12327 1.1 christos * guile/scm-symbol.c: Update. 12328 1.1 christos * guile/scm-symtab.c: Update. 12329 1.1 christos * guile/scm-type.c: Update. 12330 1.1 christos * guile/scm-value.c: Update. 12331 1.1 christos * i386-linux-tdep.c: Update. 12332 1.1 christos * i386-tdep.c: Update. 12333 1.1 christos * inf-loop.c: Update. 12334 1.1 christos * infcall.c: Update. 12335 1.1 christos * infcmd.c: Update. 12336 1.1 christos * infrun.c: Update. 12337 1.1 christos * jit.c: Update. 12338 1.1 christos * language.c: Update. 12339 1.1 christos * linespec.c: Update. 12340 1.1 christos * linux-fork.c: Update. 12341 1.1 christos * linux-nat.c: Update. 12342 1.1 christos * linux-tdep.c: Update. 12343 1.1 christos * linux-thread-db.c: Update. 12344 1.1 christos * main.c: Update. 12345 1.1 christos * mi/mi-cmd-break.c: Update. 12346 1.1 christos * mi/mi-cmd-stack.c: Update. 12347 1.1 christos * mi/mi-interp.c: Update. 12348 1.1 christos * mi/mi-main.c: Update. 12349 1.1 christos * objc-lang.c: Update. 12350 1.1 christos * p-valprint.c: Update. 12351 1.1 christos * parse.c: Update. 12352 1.1 christos * ppc-linux-tdep.c: Update. 12353 1.1 christos * printcmd.c: Update. 12354 1.1 christos * python/py-arch.c: Update. 12355 1.1 christos * python/py-breakpoint.c: Update. 12356 1.1 christos * python/py-cmd.c: Update. 12357 1.1 christos * python/py-finishbreakpoint.c: Update. 12358 1.1 christos * python/py-frame.c: Update. 12359 1.1 christos * python/py-framefilter.c: Update. 12360 1.1 christos * python/py-gdb-readline.c: Update. 12361 1.1 christos * python/py-inferior.c: Update. 12362 1.1 christos * python/py-infthread.c: Update. 12363 1.1 christos * python/py-lazy-string.c: Update. 12364 1.1 christos * python/py-linetable.c: Update. 12365 1.1 christos * python/py-objfile.c: Update. 12366 1.1 christos * python/py-param.c: Update. 12367 1.1 christos * python/py-prettyprint.c: Update. 12368 1.1 christos * python/py-progspace.c: Update. 12369 1.1 christos * python/py-record-btrace.c: Update. 12370 1.1 christos * python/py-record.c: Update. 12371 1.1 christos * python/py-symbol.c: Update. 12372 1.1 christos * python/py-type.c: Update. 12373 1.1 christos * python/py-unwind.c: Update. 12374 1.1 christos * python/py-utils.c: Update. 12375 1.1 christos * python/py-value.c: Update. 12376 1.1 christos * python/python.c: Update. 12377 1.1 christos * record-btrace.c: Update. 12378 1.1 christos * record-full.c: Update. 12379 1.1 christos * remote-fileio.c: Update. 12380 1.1 christos * remote.c: Update. 12381 1.1 christos * riscv-tdep.c: Update. 12382 1.1 christos * rs6000-aix-tdep.c: Update. 12383 1.1 christos * rs6000-tdep.c: Update. 12384 1.1 christos * rust-exp.y: Update. 12385 1.1 christos * rust-lang.c: Update. 12386 1.1 christos * s390-tdep.c: Update. 12387 1.1 christos * selftest-arch.c: Update. 12388 1.1 christos * solib-dsbt.c: Update. 12389 1.1 christos * solib-frv.c: Update. 12390 1.1 christos * solib-spu.c: Update. 12391 1.1 christos * solib-svr4.c: Update. 12392 1.1 christos * solib.c: Update. 12393 1.1 christos * sparc64-linux-tdep.c: Update. 12394 1.1 christos * stack.c: Update. 12395 1.1 christos * symfile-mem.c: Update. 12396 1.1 christos * symmisc.c: Update. 12397 1.1 christos * target.c: Update. 12398 1.1 christos * thread.c: Update. 12399 1.1 christos * top.c: Update. 12400 1.1 christos * tracefile-tfile.c: Update. 12401 1.1 christos * tui/tui.c: Update. 12402 1.1 christos * typeprint.c: Update. 12403 1.1 christos * unittests/cli-utils-selftests.c: Update. 12404 1.1 christos * unittests/parse-connection-spec-selftests.c: Update. 12405 1.1 christos * valops.c: Update. 12406 1.1 christos * valprint.c: Update. 12407 1.1 christos * value.c: Update. 12408 1.1 christos * varobj.c: Update. 12409 1.1 christos * windows-nat.c: Update. 12410 1.1 christos * x86-linux-nat.c: Update. 12411 1.1 christos * xml-support.c: Update. 12412 1.1 christos 12413 1.1 christos 2019-04-08 Tom Tromey <tom (a] tromey.com> 12414 1.1 christos 12415 1.1 christos * xml-support.c: Use C++ exception handling. 12416 1.1 christos * x86-linux-nat.c: Use C++ exception handling. 12417 1.1 christos * windows-nat.c: Use C++ exception handling. 12418 1.1 christos * varobj.c: Use C++ exception handling. 12419 1.1 christos * value.c: Use C++ exception handling. 12420 1.1 christos * valprint.c: Use C++ exception handling. 12421 1.1 christos * valops.c: Use C++ exception handling. 12422 1.1 christos * unittests/parse-connection-spec-selftests.c: Use C++ exception 12423 1.1 christos handling. 12424 1.1 christos * unittests/cli-utils-selftests.c: Use C++ exception handling. 12425 1.1 christos * typeprint.c: Use C++ exception handling. 12426 1.1 christos * tui/tui.c: Use C++ exception handling. 12427 1.1 christos * tracefile-tfile.c: Use C++ exception handling. 12428 1.1 christos * top.c: Use C++ exception handling. 12429 1.1 christos * thread.c: Use C++ exception handling. 12430 1.1 christos * target.c: Use C++ exception handling. 12431 1.1 christos * symmisc.c: Use C++ exception handling. 12432 1.1 christos * symfile-mem.c: Use C++ exception handling. 12433 1.1 christos * stack.c: Use C++ exception handling. 12434 1.1 christos * sparc64-linux-tdep.c: Use C++ exception handling. 12435 1.1 christos * solib.c: Use C++ exception handling. 12436 1.1 christos * solib-svr4.c: Use C++ exception handling. 12437 1.1 christos * solib-spu.c: Use C++ exception handling. 12438 1.1 christos * solib-frv.c: Use C++ exception handling. 12439 1.1 christos * solib-dsbt.c: Use C++ exception handling. 12440 1.1 christos * selftest-arch.c: Use C++ exception handling. 12441 1.1 christos * s390-tdep.c: Use C++ exception handling. 12442 1.1 christos * rust-lang.c: Use C++ exception handling. 12443 1.1 christos * rust-exp.y: Use C++ exception handling. 12444 1.1 christos * rs6000-tdep.c: Use C++ exception handling. 12445 1.1 christos * rs6000-aix-tdep.c: Use C++ exception handling. 12446 1.1 christos * riscv-tdep.c: Use C++ exception handling. 12447 1.1 christos * remote.c: Use C++ exception handling. 12448 1.1 christos * remote-fileio.c: Use C++ exception handling. 12449 1.1 christos * record-full.c: Use C++ exception handling. 12450 1.1 christos * record-btrace.c: Use C++ exception handling. 12451 1.1 christos * python/python.c: Use C++ exception handling. 12452 1.1 christos * python/py-value.c: Use C++ exception handling. 12453 1.1 christos * python/py-utils.c: Use C++ exception handling. 12454 1.1 christos * python/py-unwind.c: Use C++ exception handling. 12455 1.1 christos * python/py-type.c: Use C++ exception handling. 12456 1.1 christos * python/py-symbol.c: Use C++ exception handling. 12457 1.1 christos * python/py-record.c: Use C++ exception handling. 12458 1.1 christos * python/py-record-btrace.c: Use C++ exception handling. 12459 1.1 christos * python/py-progspace.c: Use C++ exception handling. 12460 1.1 christos * python/py-prettyprint.c: Use C++ exception handling. 12461 1.1 christos * python/py-param.c: Use C++ exception handling. 12462 1.1 christos * python/py-objfile.c: Use C++ exception handling. 12463 1.1 christos * python/py-linetable.c: Use C++ exception handling. 12464 1.1 christos * python/py-lazy-string.c: Use C++ exception handling. 12465 1.1 christos * python/py-infthread.c: Use C++ exception handling. 12466 1.1 christos * python/py-inferior.c: Use C++ exception handling. 12467 1.1 christos * python/py-gdb-readline.c: Use C++ exception handling. 12468 1.1 christos * python/py-framefilter.c: Use C++ exception handling. 12469 1.1 christos * python/py-frame.c: Use C++ exception handling. 12470 1.1 christos * python/py-finishbreakpoint.c: Use C++ exception handling. 12471 1.1 christos * python/py-cmd.c: Use C++ exception handling. 12472 1.1 christos * python/py-breakpoint.c: Use C++ exception handling. 12473 1.1 christos * python/py-arch.c: Use C++ exception handling. 12474 1.1 christos * printcmd.c: Use C++ exception handling. 12475 1.1 christos * ppc-linux-tdep.c: Use C++ exception handling. 12476 1.1 christos * parse.c: Use C++ exception handling. 12477 1.1 christos * p-valprint.c: Use C++ exception handling. 12478 1.1 christos * objc-lang.c: Use C++ exception handling. 12479 1.1 christos * mi/mi-main.c: Use C++ exception handling. 12480 1.1 christos * mi/mi-interp.c: Use C++ exception handling. 12481 1.1 christos * mi/mi-cmd-stack.c: Use C++ exception handling. 12482 1.1 christos * mi/mi-cmd-break.c: Use C++ exception handling. 12483 1.1 christos * main.c: Use C++ exception handling. 12484 1.1 christos * linux-thread-db.c: Use C++ exception handling. 12485 1.1 christos * linux-tdep.c: Use C++ exception handling. 12486 1.1 christos * linux-nat.c: Use C++ exception handling. 12487 1.1 christos * linux-fork.c: Use C++ exception handling. 12488 1.1 christos * linespec.c: Use C++ exception handling. 12489 1.1 christos * language.c: Use C++ exception handling. 12490 1.1 christos * jit.c: Use C++ exception handling. 12491 1.1 christos * infrun.c: Use C++ exception handling. 12492 1.1 christos * infcmd.c: Use C++ exception handling. 12493 1.1 christos * infcall.c: Use C++ exception handling. 12494 1.1 christos * inf-loop.c: Use C++ exception handling. 12495 1.1 christos * i386-tdep.c: Use C++ exception handling. 12496 1.1 christos * i386-linux-tdep.c: Use C++ exception handling. 12497 1.1 christos * guile/scm-value.c: Use C++ exception handling. 12498 1.1 christos * guile/scm-type.c: Use C++ exception handling. 12499 1.1 christos * guile/scm-symtab.c: Use C++ exception handling. 12500 1.1 christos * guile/scm-symbol.c: Use C++ exception handling. 12501 1.1 christos * guile/scm-pretty-print.c: Use C++ exception handling. 12502 1.1 christos * guile/scm-ports.c: Use C++ exception handling. 12503 1.1 christos * guile/scm-param.c: Use C++ exception handling. 12504 1.1 christos * guile/scm-math.c: Use C++ exception handling. 12505 1.1 christos * guile/scm-lazy-string.c: Use C++ exception handling. 12506 1.1 christos * guile/scm-frame.c: Use C++ exception handling. 12507 1.1 christos * guile/scm-disasm.c: Use C++ exception handling. 12508 1.1 christos * guile/scm-cmd.c: Use C++ exception handling. 12509 1.1 christos * guile/scm-breakpoint.c: Use C++ exception handling. 12510 1.1 christos * guile/scm-block.c: Use C++ exception handling. 12511 1.1 christos * guile/guile-internal.h: Use C++ exception handling. 12512 1.1 christos * gnu-v3-abi.c: Use C++ exception handling. 12513 1.1 christos * gdbtypes.c: Use C++ exception handling. 12514 1.1 christos * frame.c: Use C++ exception handling. 12515 1.1 christos * frame-unwind.c: Use C++ exception handling. 12516 1.1 christos * fbsd-tdep.c: Use C++ exception handling. 12517 1.1 christos * f-valprint.c: Use C++ exception handling. 12518 1.1 christos * exec.c: Use C++ exception handling. 12519 1.1 christos * event-top.c: Use C++ exception handling. 12520 1.1 christos * event-loop.c: Use C++ exception handling. 12521 1.1 christos * eval.c: Use C++ exception handling. 12522 1.1 christos * dwarf2read.c: Use C++ exception handling. 12523 1.1 christos * dwarf2loc.c: Use C++ exception handling. 12524 1.1 christos * dwarf2-frame.c: Use C++ exception handling. 12525 1.1 christos * dwarf2-frame-tailcall.c: Use C++ exception handling. 12526 1.1 christos * dwarf-index-write.c: Use C++ exception handling. 12527 1.1 christos * dwarf-index-cache.c: Use C++ exception handling. 12528 1.1 christos * dtrace-probe.c: Use C++ exception handling. 12529 1.1 christos * disasm-selftests.c: Use C++ exception handling. 12530 1.1 christos * darwin-nat.c: Use C++ exception handling. 12531 1.1 christos * cp-valprint.c: Use C++ exception handling. 12532 1.1 christos * cp-support.c: Use C++ exception handling. 12533 1.1 christos * cp-abi.c: Use C++ exception handling. 12534 1.1 christos * corelow.c: Use C++ exception handling. 12535 1.1 christos * completer.c: Use C++ exception handling. 12536 1.1 christos * compile/compile-object-run.c: Use C++ exception handling. 12537 1.1 christos * compile/compile-object-load.c: Use C++ exception handling. 12538 1.1 christos * compile/compile-cplus-symbols.c: Use C++ exception handling. 12539 1.1 christos * compile/compile-c-symbols.c: Use C++ exception handling. 12540 1.1 christos * common/selftest.c: Use C++ exception handling. 12541 1.1 christos * common/new-op.c: Use C++ exception handling. 12542 1.1 christos * cli/cli-script.c: Use C++ exception handling. 12543 1.1 christos * cli/cli-interp.c: Use C++ exception handling. 12544 1.1 christos * cli/cli-cmds.c: Use C++ exception handling. 12545 1.1 christos * c-varobj.c: Use C++ exception handling. 12546 1.1 christos * btrace.c: Use C++ exception handling. 12547 1.1 christos * breakpoint.c: Use C++ exception handling. 12548 1.1 christos * break-catch-throw.c: Use C++ exception handling. 12549 1.1 christos * arch-utils.c: Use C++ exception handling. 12550 1.1 christos * amd64-tdep.c: Use C++ exception handling. 12551 1.1 christos * ada-valprint.c: Use C++ exception handling. 12552 1.1 christos * ada-typeprint.c: Use C++ exception handling. 12553 1.1 christos * ada-lang.c: Use C++ exception handling. 12554 1.1 christos * aarch64-tdep.c: Use C++ exception handling. 12555 1.1 christos 12556 1.1 christos 2019-04-08 Tom Tromey <tom (a] tromey.com> 12557 1.1 christos 12558 1.1 christos * xml-support.c (gdb_xml_parser::parse): Update. 12559 1.1 christos * x86-linux-nat.c (x86_linux_nat_target::enable_btrace): Update. 12560 1.1 christos * value.c (show_convenience): Update. 12561 1.1 christos * unittests/cli-utils-selftests.c (test_number_or_range_parser) 12562 1.1 christos (test_parse_flags_qcs): Update. 12563 1.1 christos * thread.c (thr_try_catch_cmd): Update. 12564 1.1 christos * target.c (target_translate_tls_address): Update. 12565 1.1 christos * stack.c (print_frame_arg, read_frame_local, read_frame_arg) 12566 1.1 christos (info_frame_command_core, frame_apply_command_count): Update. 12567 1.1 christos * rust-exp.y (rust_lex_exception_test): Update. 12568 1.1 christos * riscv-tdep.c (riscv_print_one_register_info): Update. 12569 1.1 christos * remote.c (remote_target::enable_btrace): Update. 12570 1.1 christos * record-btrace.c (record_btrace_enable_warn): Update. 12571 1.1 christos * python/py-utils.c (gdbpy_convert_exception): Update. 12572 1.1 christos * printcmd.c (do_one_display, print_variable_and_value): Update. 12573 1.1 christos * mi/mi-main.c (mi_print_exception): Update. 12574 1.1 christos * mi/mi-interp.c (mi_cmd_interpreter_exec): Use SCOPE_EXIT. 12575 1.1 christos * mi/mi-cmd-stack.c (list_arg_or_local): Update. 12576 1.1 christos * linux-nat.c (linux_nat_target::attach): Update. 12577 1.1 christos * linux-fork.c (class scoped_switch_fork_info): Update. 12578 1.1 christos * infrun.c (displaced_step_prepare): Update. 12579 1.1 christos * infcall.c (call_function_by_hand_dummy): Update. 12580 1.1 christos * guile/scm-exception.c (gdbscm_scm_from_gdb_exception): Update. 12581 1.1 christos * gnu-v3-abi.c (print_one_vtable): Update. 12582 1.1 christos * frame.c (get_prev_frame_always): Update. 12583 1.1 christos * f-valprint.c (info_common_command_for_block): Update. 12584 1.1 christos * exec.c (try_open_exec_file): Update. 12585 1.1 christos * exceptions.c (print_exception, exception_print) 12586 1.1 christos (exception_fprintf, exception_print_same): Update. 12587 1.1 christos * dwarf2-frame.c (dwarf2_build_frame_info): Update. 12588 1.1 christos * dwarf-index-cache.c (index_cache::store) 12589 1.1 christos (index_cache::lookup_gdb_index): Update. 12590 1.1 christos * darwin-nat.c (maybe_cache_shell): Update. 12591 1.1 christos * cp-valprint.c (cp_print_value_fields): Update. 12592 1.1 christos * compile/compile-cplus-symbols.c (gcc_cplus_convert_symbol) 12593 1.1 christos (gcc_cplus_symbol_address): Update. 12594 1.1 christos * compile/compile-c-symbols.c (gcc_convert_symbol) 12595 1.1 christos (gcc_symbol_address, generate_c_for_for_one_variable): Update. 12596 1.1 christos * common/selftest.c: Update. 12597 1.1 christos * common/common-exceptions.h (struct gdb_exception) <message>: Now 12598 1.1 christos a std::string. 12599 1.1 christos (exception_try_scope_entry, exception_try_scope_exit): Don't 12600 1.1 christos declare. 12601 1.1 christos (struct exception_try_scope): Remove. 12602 1.1 christos (TRY): Don't use exception_try_scope. 12603 1.1 christos (struct gdb_exception): Add constructor, operator=. 12604 1.1 christos <what>: New method. 12605 1.1 christos (struct gdb_exception_RETURN_MASK_ALL) 12606 1.1 christos (struct gdb_exception_RETURN_MASK_ERROR) 12607 1.1 christos (struct gdb_exception_RETURN_MASK_QUIT): Add constructor. 12608 1.1 christos (struct gdb_quit_bad_alloc): Update. 12609 1.1 christos * common/common-exceptions.c (exception_none): Change 12610 1.1 christos initializer. 12611 1.1 christos (struct catcher) <state, exception>: Initialize inline. 12612 1.1 christos <prev>: Remove member. 12613 1.1 christos (current_catcher): Remove. 12614 1.1 christos (catchers): New global. 12615 1.1 christos (exceptions_state_mc_init): Simplify. 12616 1.1 christos (catcher_pop): Remove. 12617 1.1 christos (exceptions_state_mc, exceptions_state_mc_catch): Update. 12618 1.1 christos (try_scope_depth, exception_try_scope_entry) 12619 1.1 christos (exception_try_scope_exit): Remove. 12620 1.1 christos (throw_exception_sjlj): Update. 12621 1.1 christos (exception_messages, exception_messages_size): Remove. 12622 1.1 christos (throw_it): Simplify. 12623 1.1 christos (gdb_exception_sliced_copy): Remove. 12624 1.1 christos (throw_exception_cxx): Update. 12625 1.1 christos * cli/cli-script.c (script_from_file): Update. 12626 1.1 christos * breakpoint.c (insert_bp_location, update_breakpoint_locations): 12627 1.1 christos Update. 12628 1.1 christos * ada-valprint.c (ada_val_print): Update. 12629 1.1 christos * ada-lang.c (ada_to_fixed_type_1, ada_exception_name_addr) 12630 1.1 christos (create_excep_cond_exprs): Update. 12631 1.1 christos 12632 1.1 christos 2019-04-08 Tom Tromey <tom (a] tromey.com> 12633 1.1 christos 12634 1.1 christos * common/common-exceptions.h (GDB_XCPT_SJMP, GDB_XCPT_TRY) 12635 1.1 christos (GDB_XCPT_RAW_TRY, GDB_XCPT): Remove. 12636 1.1 christos (TRY, CATCH, END_CATCH): Remove some definitions. 12637 1.1 christos * common/common-exceptions.c: Don't use GDB_XCPT. 12638 1.1 christos (catcher_list_size): Remove. 12639 1.1 christos (throw_exception, throw_it): Simplify. 12640 1.1 christos 12641 1.1 christos 2019-04-05 Tom Tromey <tom (a] tromey.com> 12642 1.1 christos 12643 1.1 christos Revert the header-sorting patch. 12644 1.1 christos * ft32-tdep.c: Revert. 12645 1.1 christos * frv-tdep.c: Revert. 12646 1.1 christos * frv-linux-tdep.c: Revert. 12647 1.1 christos * frame.c: Revert. 12648 1.1 christos * frame-unwind.c: Revert. 12649 1.1 christos * frame-base.c: Revert. 12650 1.1 christos * fork-child.c: Revert. 12651 1.1 christos * findvar.c: Revert. 12652 1.1 christos * findcmd.c: Revert. 12653 1.1 christos * filesystem.c: Revert. 12654 1.1 christos * filename-seen-cache.h: Revert. 12655 1.1 christos * filename-seen-cache.c: Revert. 12656 1.1 christos * fbsd-tdep.c: Revert. 12657 1.1 christos * fbsd-nat.h: Revert. 12658 1.1 christos * fbsd-nat.c: Revert. 12659 1.1 christos * f-valprint.c: Revert. 12660 1.1 christos * f-typeprint.c: Revert. 12661 1.1 christos * f-lang.c: Revert. 12662 1.1 christos * extension.h: Revert. 12663 1.1 christos * extension.c: Revert. 12664 1.1 christos * extension-priv.h: Revert. 12665 1.1 christos * expprint.c: Revert. 12666 1.1 christos * exec.h: Revert. 12667 1.1 christos * exec.c: Revert. 12668 1.1 christos * exceptions.c: Revert. 12669 1.1 christos * event-top.c: Revert. 12670 1.1 christos * event-loop.c: Revert. 12671 1.1 christos * eval.c: Revert. 12672 1.1 christos * elfread.c: Revert. 12673 1.1 christos * dwarf2read.h: Revert. 12674 1.1 christos * dwarf2read.c: Revert. 12675 1.1 christos * dwarf2loc.c: Revert. 12676 1.1 christos * dwarf2expr.h: Revert. 12677 1.1 christos * dwarf2expr.c: Revert. 12678 1.1 christos * dwarf2-frame.c: Revert. 12679 1.1 christos * dwarf2-frame-tailcall.c: Revert. 12680 1.1 christos * dwarf-index-write.h: Revert. 12681 1.1 christos * dwarf-index-write.c: Revert. 12682 1.1 christos * dwarf-index-common.c: Revert. 12683 1.1 christos * dwarf-index-cache.h: Revert. 12684 1.1 christos * dwarf-index-cache.c: Revert. 12685 1.1 christos * dummy-frame.c: Revert. 12686 1.1 christos * dtrace-probe.c: Revert. 12687 1.1 christos * disasm.h: Revert. 12688 1.1 christos * disasm.c: Revert. 12689 1.1 christos * disasm-selftests.c: Revert. 12690 1.1 christos * dictionary.c: Revert. 12691 1.1 christos * dicos-tdep.c: Revert. 12692 1.1 christos * demangle.c: Revert. 12693 1.1 christos * dcache.h: Revert. 12694 1.1 christos * dcache.c: Revert. 12695 1.1 christos * darwin-nat.h: Revert. 12696 1.1 christos * darwin-nat.c: Revert. 12697 1.1 christos * darwin-nat-info.c: Revert. 12698 1.1 christos * d-valprint.c: Revert. 12699 1.1 christos * d-namespace.c: Revert. 12700 1.1 christos * d-lang.c: Revert. 12701 1.1 christos * ctf.c: Revert. 12702 1.1 christos * csky-tdep.c: Revert. 12703 1.1 christos * csky-linux-tdep.c: Revert. 12704 1.1 christos * cris-tdep.c: Revert. 12705 1.1 christos * cris-linux-tdep.c: Revert. 12706 1.1 christos * cp-valprint.c: Revert. 12707 1.1 christos * cp-support.c: Revert. 12708 1.1 christos * cp-namespace.c: Revert. 12709 1.1 christos * cp-abi.c: Revert. 12710 1.1 christos * corelow.c: Revert. 12711 1.1 christos * corefile.c: Revert. 12712 1.1 christos * continuations.c: Revert. 12713 1.1 christos * completer.h: Revert. 12714 1.1 christos * completer.c: Revert. 12715 1.1 christos * complaints.c: Revert. 12716 1.1 christos * coffread.c: Revert. 12717 1.1 christos * coff-pe-read.c: Revert. 12718 1.1 christos * cli-out.h: Revert. 12719 1.1 christos * cli-out.c: Revert. 12720 1.1 christos * charset.c: Revert. 12721 1.1 christos * c-varobj.c: Revert. 12722 1.1 christos * c-valprint.c: Revert. 12723 1.1 christos * c-typeprint.c: Revert. 12724 1.1 christos * c-lang.c: Revert. 12725 1.1 christos * buildsym.c: Revert. 12726 1.1 christos * buildsym-legacy.c: Revert. 12727 1.1 christos * build-id.h: Revert. 12728 1.1 christos * build-id.c: Revert. 12729 1.1 christos * btrace.c: Revert. 12730 1.1 christos * bsd-uthread.c: Revert. 12731 1.1 christos * breakpoint.h: Revert. 12732 1.1 christos * breakpoint.c: Revert. 12733 1.1 christos * break-catch-throw.c: Revert. 12734 1.1 christos * break-catch-syscall.c: Revert. 12735 1.1 christos * break-catch-sig.c: Revert. 12736 1.1 christos * blockframe.c: Revert. 12737 1.1 christos * block.c: Revert. 12738 1.1 christos * bfin-tdep.c: Revert. 12739 1.1 christos * bfin-linux-tdep.c: Revert. 12740 1.1 christos * bfd-target.c: Revert. 12741 1.1 christos * bcache.c: Revert. 12742 1.1 christos * ax-general.c: Revert. 12743 1.1 christos * ax-gdb.h: Revert. 12744 1.1 christos * ax-gdb.c: Revert. 12745 1.1 christos * avr-tdep.c: Revert. 12746 1.1 christos * auxv.c: Revert. 12747 1.1 christos * auto-load.c: Revert. 12748 1.1 christos * arm-wince-tdep.c: Revert. 12749 1.1 christos * arm-tdep.c: Revert. 12750 1.1 christos * arm-symbian-tdep.c: Revert. 12751 1.1 christos * arm-pikeos-tdep.c: Revert. 12752 1.1 christos * arm-obsd-tdep.c: Revert. 12753 1.1 christos * arm-nbsd-tdep.c: Revert. 12754 1.1 christos * arm-nbsd-nat.c: Revert. 12755 1.1 christos * arm-linux-tdep.c: Revert. 12756 1.1 christos * arm-linux-nat.c: Revert. 12757 1.1 christos * arm-fbsd-tdep.c: Revert. 12758 1.1 christos * arm-fbsd-nat.c: Revert. 12759 1.1 christos * arm-bsd-tdep.c: Revert. 12760 1.1 christos * arch-utils.c: Revert. 12761 1.1 christos * arc-tdep.c: Revert. 12762 1.1 christos * arc-newlib-tdep.c: Revert. 12763 1.1 christos * annotate.h: Revert. 12764 1.1 christos * annotate.c: Revert. 12765 1.1 christos * amd64-windows-tdep.c: Revert. 12766 1.1 christos * amd64-windows-nat.c: Revert. 12767 1.1 christos * amd64-tdep.c: Revert. 12768 1.1 christos * amd64-sol2-tdep.c: Revert. 12769 1.1 christos * amd64-obsd-tdep.c: Revert. 12770 1.1 christos * amd64-obsd-nat.c: Revert. 12771 1.1 christos * amd64-nbsd-tdep.c: Revert. 12772 1.1 christos * amd64-nbsd-nat.c: Revert. 12773 1.1 christos * amd64-nat.c: Revert. 12774 1.1 christos * amd64-linux-tdep.c: Revert. 12775 1.1 christos * amd64-linux-nat.c: Revert. 12776 1.1 christos * amd64-fbsd-tdep.c: Revert. 12777 1.1 christos * amd64-fbsd-nat.c: Revert. 12778 1.1 christos * amd64-dicos-tdep.c: Revert. 12779 1.1 christos * amd64-darwin-tdep.c: Revert. 12780 1.1 christos * amd64-bsd-nat.c: Revert. 12781 1.1 christos * alpha-tdep.c: Revert. 12782 1.1 christos * alpha-obsd-tdep.c: Revert. 12783 1.1 christos * alpha-nbsd-tdep.c: Revert. 12784 1.1 christos * alpha-mdebug-tdep.c: Revert. 12785 1.1 christos * alpha-linux-tdep.c: Revert. 12786 1.1 christos * alpha-linux-nat.c: Revert. 12787 1.1 christos * alpha-bsd-tdep.c: Revert. 12788 1.1 christos * alpha-bsd-nat.c: Revert. 12789 1.1 christos * aix-thread.c: Revert. 12790 1.1 christos * agent.c: Revert. 12791 1.1 christos * addrmap.c: Revert. 12792 1.1 christos * ada-varobj.c: Revert. 12793 1.1 christos * ada-valprint.c: Revert. 12794 1.1 christos * ada-typeprint.c: Revert. 12795 1.1 christos * ada-tasks.c: Revert. 12796 1.1 christos * ada-lang.c: Revert. 12797 1.1 christos * aarch64-tdep.c: Revert. 12798 1.1 christos * aarch64-ravenscar-thread.c: Revert. 12799 1.1 christos * aarch64-newlib-tdep.c: Revert. 12800 1.1 christos * aarch64-linux-tdep.c: Revert. 12801 1.1 christos * aarch64-linux-nat.c: Revert. 12802 1.1 christos * aarch64-fbsd-tdep.c: Revert. 12803 1.1 christos * aarch64-fbsd-nat.c: Revert. 12804 1.1 christos * aarch32-linux-nat.c: Revert. 12805 1.1 christos 12806 1.1 christos 2019-04-05 Tom Tromey <tom (a] tromey.com> 12807 1.1 christos 12808 1.1 christos * ft32-tdep.c: Sort headers. 12809 1.1 christos * frv-tdep.c: Sort headers. 12810 1.1 christos * frv-linux-tdep.c: Sort headers. 12811 1.1 christos * frame.c: Sort headers. 12812 1.1 christos * frame-unwind.c: Sort headers. 12813 1.1 christos * frame-base.c: Sort headers. 12814 1.1 christos * fork-child.c: Sort headers. 12815 1.1 christos * findvar.c: Sort headers. 12816 1.1 christos * findcmd.c: Sort headers. 12817 1.1 christos * filesystem.c: Sort headers. 12818 1.1 christos * filename-seen-cache.h: Sort headers. 12819 1.1 christos * filename-seen-cache.c: Sort headers. 12820 1.1 christos * fbsd-tdep.c: Sort headers. 12821 1.1 christos * fbsd-nat.h: Sort headers. 12822 1.1 christos * fbsd-nat.c: Sort headers. 12823 1.1 christos * f-valprint.c: Sort headers. 12824 1.1 christos * f-typeprint.c: Sort headers. 12825 1.1 christos * f-lang.c: Sort headers. 12826 1.1 christos * extension.h: Sort headers. 12827 1.1 christos * extension.c: Sort headers. 12828 1.1 christos * extension-priv.h: Sort headers. 12829 1.1 christos * expprint.c: Sort headers. 12830 1.1 christos * exec.h: Sort headers. 12831 1.1 christos * exec.c: Sort headers. 12832 1.1 christos * exceptions.c: Sort headers. 12833 1.1 christos * event-top.c: Sort headers. 12834 1.1 christos * event-loop.c: Sort headers. 12835 1.1 christos * eval.c: Sort headers. 12836 1.1 christos * elfread.c: Sort headers. 12837 1.1 christos * dwarf2read.h: Sort headers. 12838 1.1 christos * dwarf2read.c: Sort headers. 12839 1.1 christos * dwarf2loc.c: Sort headers. 12840 1.1 christos * dwarf2expr.h: Sort headers. 12841 1.1 christos * dwarf2expr.c: Sort headers. 12842 1.1 christos * dwarf2-frame.c: Sort headers. 12843 1.1 christos * dwarf2-frame-tailcall.c: Sort headers. 12844 1.1 christos * dwarf-index-write.h: Sort headers. 12845 1.1 christos * dwarf-index-write.c: Sort headers. 12846 1.1 christos * dwarf-index-common.c: Sort headers. 12847 1.1 christos * dwarf-index-cache.h: Sort headers. 12848 1.1 christos * dwarf-index-cache.c: Sort headers. 12849 1.1 christos * dummy-frame.c: Sort headers. 12850 1.1 christos * dtrace-probe.c: Sort headers. 12851 1.1 christos * disasm.h: Sort headers. 12852 1.1 christos * disasm.c: Sort headers. 12853 1.1 christos * disasm-selftests.c: Sort headers. 12854 1.1 christos * dictionary.c: Sort headers. 12855 1.1 christos * dicos-tdep.c: Sort headers. 12856 1.1 christos * demangle.c: Sort headers. 12857 1.1 christos * dcache.h: Sort headers. 12858 1.1 christos * dcache.c: Sort headers. 12859 1.1 christos * darwin-nat.h: Sort headers. 12860 1.1 christos * darwin-nat.c: Sort headers. 12861 1.1 christos * darwin-nat-info.c: Sort headers. 12862 1.1 christos * d-valprint.c: Sort headers. 12863 1.1 christos * d-namespace.c: Sort headers. 12864 1.1 christos * d-lang.c: Sort headers. 12865 1.1 christos * ctf.c: Sort headers. 12866 1.1 christos * csky-tdep.c: Sort headers. 12867 1.1 christos * csky-linux-tdep.c: Sort headers. 12868 1.1 christos * cris-tdep.c: Sort headers. 12869 1.1 christos * cris-linux-tdep.c: Sort headers. 12870 1.1 christos * cp-valprint.c: Sort headers. 12871 1.1 christos * cp-support.c: Sort headers. 12872 1.1 christos * cp-namespace.c: Sort headers. 12873 1.1 christos * cp-abi.c: Sort headers. 12874 1.1 christos * corelow.c: Sort headers. 12875 1.1 christos * corefile.c: Sort headers. 12876 1.1 christos * continuations.c: Sort headers. 12877 1.1 christos * completer.h: Sort headers. 12878 1.1 christos * completer.c: Sort headers. 12879 1.1 christos * complaints.c: Sort headers. 12880 1.1 christos * coffread.c: Sort headers. 12881 1.1 christos * coff-pe-read.c: Sort headers. 12882 1.1 christos * cli-out.h: Sort headers. 12883 1.1 christos * cli-out.c: Sort headers. 12884 1.1 christos * charset.c: Sort headers. 12885 1.1 christos * c-varobj.c: Sort headers. 12886 1.1 christos * c-valprint.c: Sort headers. 12887 1.1 christos * c-typeprint.c: Sort headers. 12888 1.1 christos * c-lang.c: Sort headers. 12889 1.1 christos * buildsym.c: Sort headers. 12890 1.1 christos * buildsym-legacy.c: Sort headers. 12891 1.1 christos * build-id.h: Sort headers. 12892 1.1 christos * build-id.c: Sort headers. 12893 1.1 christos * btrace.c: Sort headers. 12894 1.1 christos * bsd-uthread.c: Sort headers. 12895 1.1 christos * breakpoint.h: Sort headers. 12896 1.1 christos * breakpoint.c: Sort headers. 12897 1.1 christos * break-catch-throw.c: Sort headers. 12898 1.1 christos * break-catch-syscall.c: Sort headers. 12899 1.1 christos * break-catch-sig.c: Sort headers. 12900 1.1 christos * blockframe.c: Sort headers. 12901 1.1 christos * block.c: Sort headers. 12902 1.1 christos * bfin-tdep.c: Sort headers. 12903 1.1 christos * bfin-linux-tdep.c: Sort headers. 12904 1.1 christos * bfd-target.c: Sort headers. 12905 1.1 christos * bcache.c: Sort headers. 12906 1.1 christos * ax-general.c: Sort headers. 12907 1.1 christos * ax-gdb.h: Sort headers. 12908 1.1 christos * ax-gdb.c: Sort headers. 12909 1.1 christos * avr-tdep.c: Sort headers. 12910 1.1 christos * auxv.c: Sort headers. 12911 1.1 christos * auto-load.c: Sort headers. 12912 1.1 christos * arm-wince-tdep.c: Sort headers. 12913 1.1 christos * arm-tdep.c: Sort headers. 12914 1.1 christos * arm-symbian-tdep.c: Sort headers. 12915 1.1 christos * arm-pikeos-tdep.c: Sort headers. 12916 1.1 christos * arm-obsd-tdep.c: Sort headers. 12917 1.1 christos * arm-nbsd-tdep.c: Sort headers. 12918 1.1 christos * arm-nbsd-nat.c: Sort headers. 12919 1.1 christos * arm-linux-tdep.c: Sort headers. 12920 1.1 christos * arm-linux-nat.c: Sort headers. 12921 1.1 christos * arm-fbsd-tdep.c: Sort headers. 12922 1.1 christos * arm-fbsd-nat.c: Sort headers. 12923 1.1 christos * arm-bsd-tdep.c: Sort headers. 12924 1.1 christos * arch-utils.c: Sort headers. 12925 1.1 christos * arc-tdep.c: Sort headers. 12926 1.1 christos * arc-newlib-tdep.c: Sort headers. 12927 1.1 christos * annotate.h: Sort headers. 12928 1.1 christos * annotate.c: Sort headers. 12929 1.1 christos * amd64-windows-tdep.c: Sort headers. 12930 1.1 christos * amd64-windows-nat.c: Sort headers. 12931 1.1 christos * amd64-tdep.c: Sort headers. 12932 1.1 christos * amd64-sol2-tdep.c: Sort headers. 12933 1.1 christos * amd64-obsd-tdep.c: Sort headers. 12934 1.1 christos * amd64-obsd-nat.c: Sort headers. 12935 1.1 christos * amd64-nbsd-tdep.c: Sort headers. 12936 1.1 christos * amd64-nbsd-nat.c: Sort headers. 12937 1.1 christos * amd64-nat.c: Sort headers. 12938 1.1 christos * amd64-linux-tdep.c: Sort headers. 12939 1.1 christos * amd64-linux-nat.c: Sort headers. 12940 1.1 christos * amd64-fbsd-tdep.c: Sort headers. 12941 1.1 christos * amd64-fbsd-nat.c: Sort headers. 12942 1.1 christos * amd64-dicos-tdep.c: Sort headers. 12943 1.1 christos * amd64-darwin-tdep.c: Sort headers. 12944 1.1 christos * amd64-bsd-nat.c: Sort headers. 12945 1.1 christos * alpha-tdep.c: Sort headers. 12946 1.1 christos * alpha-obsd-tdep.c: Sort headers. 12947 1.1 christos * alpha-nbsd-tdep.c: Sort headers. 12948 1.1 christos * alpha-mdebug-tdep.c: Sort headers. 12949 1.1 christos * alpha-linux-tdep.c: Sort headers. 12950 1.1 christos * alpha-linux-nat.c: Sort headers. 12951 1.1 christos * alpha-bsd-tdep.c: Sort headers. 12952 1.1 christos * alpha-bsd-nat.c: Sort headers. 12953 1.1 christos * aix-thread.c: Sort headers. 12954 1.1 christos * agent.c: Sort headers. 12955 1.1 christos * addrmap.c: Sort headers. 12956 1.1 christos * ada-varobj.c: Sort headers. 12957 1.1 christos * ada-valprint.c: Sort headers. 12958 1.1 christos * ada-typeprint.c: Sort headers. 12959 1.1 christos * ada-tasks.c: Sort headers. 12960 1.1 christos * ada-lang.c: Sort headers. 12961 1.1 christos * aarch64-tdep.c: Sort headers. 12962 1.1 christos * aarch64-ravenscar-thread.c: Sort headers. 12963 1.1 christos * aarch64-newlib-tdep.c: Sort headers. 12964 1.1 christos * aarch64-linux-tdep.c: Sort headers. 12965 1.1 christos * aarch64-linux-nat.c: Sort headers. 12966 1.1 christos * aarch64-fbsd-tdep.c: Sort headers. 12967 1.1 christos * aarch64-fbsd-nat.c: Sort headers. 12968 1.1 christos * aarch32-linux-nat.c: Sort headers. 12969 1.1 christos 12970 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 12971 1.1 christos 12972 1.1 christos * varobj.c (varobj_create): Update. 12973 1.1 christos * rust-exp.y (struct rust_parser) <update_innermost_block, 12974 1.1 christos lookup_symbol>: New methods. 12975 1.1 christos (rust_parser::update_innermost_block, rust_parser::lookup_symbol): 12976 1.1 christos Rename. 12977 1.1 christos (rust_parser::rust_lookup_type) 12978 1.1 christos (rust_parser::convert_ast_to_expression, rust_lex_tests): Update. 12979 1.1 christos * printcmd.c (display_command, do_one_display): Update. 12980 1.1 christos * parser-defs.h (struct parser_state) <parser_state>: Add 12981 1.1 christos "tracker" parameter. 12982 1.1 christos (block_tracker): New member. 12983 1.1 christos (class innermost_block_tracker) <innermost_block_tracker>: Add 12984 1.1 christos "types" parameter. 12985 1.1 christos <reset>: Remove method. 12986 1.1 christos (innermost_block): Don't declare. 12987 1.1 christos (null_post_parser): Update. 12988 1.1 christos * parse.c (innermost_block): Remove global. 12989 1.1 christos (write_dollar_variable): Update. 12990 1.1 christos (parse_exp_1, parse_exp_in_context): Add "tracker" parameter. 12991 1.1 christos Remove "tracker_types" parameter. 12992 1.1 christos (parse_expression): Add "tracker" parameter. 12993 1.1 christos (parse_expression_for_completion): Update. 12994 1.1 christos (null_post_parser): Add "tracker" parameter. 12995 1.1 christos * p-exp.y: Update rules. 12996 1.1 christos * m2-exp.y: Update rules. 12997 1.1 christos * language.h (struct language_defn) <la_post_parser>: Add 12998 1.1 christos "tracker" parameter. 12999 1.1 christos * go-exp.y: Update rules. 13000 1.1 christos * f-exp.y: Update rules. 13001 1.1 christos * expression.h (parse_expression, parse_exp_1): Add "tracker" 13002 1.1 christos parameter. 13003 1.1 christos * d-exp.y: Update rules. 13004 1.1 christos * c-exp.y: Update rules. 13005 1.1 christos * breakpoint.c (set_breakpoint_condition): Create an 13006 1.1 christos innermost_block_tracker. 13007 1.1 christos (watch_command_1): Likewise. 13008 1.1 christos * ada-lang.c (resolve): Add "tracker" parameter. 13009 1.1 christos (resolve_subexp): Likewise. 13010 1.1 christos * ada-exp.y (write_var_from_sym): Update. 13011 1.1 christos 13012 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13013 1.1 christos 13014 1.1 christos * type-stack.h: New file. 13015 1.1 christos * type-stack.c: New file. 13016 1.1 christos * parser-defs.h (enum type_pieces, union type_stack_elt): Move to 13017 1.1 christos type-stack.h. 13018 1.1 christos (insert_into_type_stack, insert_type, push_type, push_type_int) 13019 1.1 christos (insert_type_address_space, pop_type, pop_type_int) 13020 1.1 christos (pop_typelist, pop_type_stack, append_type_stack) 13021 1.1 christos (push_type_stack, get_type_stack, push_typelist) 13022 1.1 christos (follow_type_instance_flags, follow_types): Don't declare. 13023 1.1 christos * parse.c (type_stack): Remove global. 13024 1.1 christos (parse_exp_in_context): Update. 13025 1.1 christos (insert_into_type_stack, insert_type, push_type, push_type_int) 13026 1.1 christos (insert_type_address_space, pop_type, pop_type_int) 13027 1.1 christos (pop_typelist, pop_type_stack, append_type_stack) 13028 1.1 christos (push_type_stack, get_type_stack, push_typelist) 13029 1.1 christos (follow_type_instance_flags, follow_types): Remove (moved to 13030 1.1 christos type-stack.c). 13031 1.1 christos * f-exp.y (type_stack): New global. 13032 1.1 christos Update rules. 13033 1.1 christos (push_kind_type, f_parse): Update. 13034 1.1 christos * d-exp.y (type_stack): New global. 13035 1.1 christos Update rules. 13036 1.1 christos (d_parse): Update. 13037 1.1 christos * c-exp.y (struct c_parse_state) <type_stack>: New member. 13038 1.1 christos Update rules. 13039 1.1 christos * Makefile.in (COMMON_SFILES): Add type-stack.c. 13040 1.1 christos (HFILES_NO_SRCDIR): Add type-stack.h. 13041 1.1 christos 13042 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13043 1.1 christos 13044 1.1 christos * rust-exp.y (rust_parser::lex_identifier, rustyylex) 13045 1.1 christos (rust_parser::convert_ast_to_expression, rust_parse) 13046 1.1 christos (rust_lex_test_completion, rust_lex_tests): Update. 13047 1.1 christos * parser-defs.h (struct expr_completion_state): New. 13048 1.1 christos (struct parser_state) <parser_state>: Add completion parameter. 13049 1.1 christos <mark_struct_expression, mark_completion_tag>: New methods. 13050 1.1 christos <parse_completion, m_completion_state>: New members. 13051 1.1 christos (prefixify_expression, null_post_parser): Update. 13052 1.1 christos (mark_struct_expression, mark_completion_tag): Don't declare. 13053 1.1 christos * parse.c (parse_completion, expout_last_struct) 13054 1.1 christos (expout_tag_completion_type, expout_completion_name): Remove 13055 1.1 christos globals. 13056 1.1 christos (parser_state::mark_struct_expression) 13057 1.1 christos (parser_state::mark_completion_tag): Now methods. 13058 1.1 christos (prefixify_expression): Add last_struct parameter. 13059 1.1 christos (prefixify_subexp): Likewise. 13060 1.1 christos (parse_exp_1): Update. 13061 1.1 christos (parse_exp_in_context): Add cstate parameter. Update. 13062 1.1 christos (parse_expression_for_completion): Create an 13063 1.1 christos expr_completion_state. 13064 1.1 christos (null_post_parser): Add "completion" parameter. 13065 1.1 christos * p-exp.y: Update rules. 13066 1.1 christos (yylex): Update. 13067 1.1 christos * language.h (struct language_defn) <la_post_parser>: Add 13068 1.1 christos "completing" parameter. 13069 1.1 christos * go-exp.y: Update rules. 13070 1.1 christos (lex_one_token): Update. 13071 1.1 christos * expression.h (parse_completion): Don't declare. 13072 1.1 christos * d-exp.y: Update rules. 13073 1.1 christos (lex_one_token): Update rules. 13074 1.1 christos * c-exp.y: Update rules. 13075 1.1 christos (lex_one_token): Update. 13076 1.1 christos * ada-lang.c (resolve): Add "parse_completion" parameter. 13077 1.1 christos (resolve_subexp): Likewise. 13078 1.1 christos (ada_resolve_function): Likewise. 13079 1.1 christos 13080 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13081 1.1 christos 13082 1.1 christos * parser-defs.h (struct parser_state) <start_arglist, 13083 1.1 christos end_arglist>: New methods. 13084 1.1 christos <arglist_len, m_funcall_chain>: New members. 13085 1.1 christos (arglist_len, start_arglist, end_arglist): Don't declare. 13086 1.1 christos * parse.c (arglist_len, funcall_chain): Remove global. 13087 1.1 christos (start_arglist, end_arglist): Remove functions. 13088 1.1 christos (parse_exp_in_context): Update. 13089 1.1 christos * p-exp.y: Update rules. 13090 1.1 christos * m2-exp.y: Update rules. 13091 1.1 christos * go-exp.y: Update rules. 13092 1.1 christos * f-exp.y: Update rules. 13093 1.1 christos * d-exp.y: Update rules. 13094 1.1 christos * c-exp.y: Update rules. 13095 1.1 christos 13096 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13097 1.1 christos 13098 1.1 christos * rust-exp.y (struct rust_parser) <lex_hex, lex_escape, 13099 1.1 christos lex_operator, push_back>: New methods. 13100 1.1 christos Update all rules. 13101 1.1 christos (rust_parser::lex_hex, lex_escape): Rename and update. 13102 1.1 christos (rust_parser::lex_string, rust_parser::lex_identifier): Update. 13103 1.1 christos (rust_parser::lex_operator): Rename and update. 13104 1.1 christos (rust_parser::lex_number, rustyylex, rustyyerror) 13105 1.1 christos (rust_lex_test_init, rust_lex_test_sequence) 13106 1.1 christos (rust_lex_test_push_back, rust_lex_tests): Update. 13107 1.1 christos * parser-defs.h (struct parser_state) <parser_state>: Add "input" 13108 1.1 christos parameter. 13109 1.1 christos <lexptr, prev_lexptr>: New members. 13110 1.1 christos (lexptr, prev_lexptr): Don't declare. 13111 1.1 christos * parse.c (lexptr, prev_lexptr): Remove globals. 13112 1.1 christos (parse_exp_in_context): Update. 13113 1.1 christos * p-exp.y (yylex, yyerror): Update. 13114 1.1 christos * m2-exp.y (parse_number, yylex, yyerror): Update. 13115 1.1 christos * go-exp.y (lex_one_token, yyerror): Update. 13116 1.1 christos * f-exp.y (match_string_literal, yylex, yyerror): Update. 13117 1.1 christos * d-exp.y (lex_one_token, yyerror): Update. 13118 1.1 christos * c-exp.y (scan_macro_expansion, finished_macro_expansion) 13119 1.1 christos (lex_one_token, yyerror): Update. 13120 1.1 christos * ada-lex.l (YY_INPUT): Update. 13121 1.1 christos (rewind_to_char): Update. 13122 1.1 christos * ada-exp.y (yyerror): Update. 13123 1.1 christos 13124 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13125 1.1 christos 13126 1.1 christos * rust-exp.y (rustyylex, rust_lex_tests): Update. 13127 1.1 christos * parser-defs.h (struct parser_state) <parser_state>: Add new 13128 1.1 christos parameter. 13129 1.1 christos <comma_terminates>: New member. 13130 1.1 christos (comma_terminates): Don't declare global. 13131 1.1 christos * parse.c (comma_terminates): Remove global. 13132 1.1 christos (parse_exp_in_context): Update. 13133 1.1 christos * p-exp.y (yylex): Update. 13134 1.1 christos * m2-exp.y (yylex): Update. 13135 1.1 christos * go-exp.y (lex_one_token): Update. 13136 1.1 christos * f-exp.y (yylex): Update. 13137 1.1 christos * d-exp.y (lex_one_token): Update. 13138 1.1 christos * c-exp.y (lex_one_token): Update. 13139 1.1 christos * ada-lex.l: Update. 13140 1.1 christos 13141 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13142 1.1 christos 13143 1.1 christos * rust-exp.y (struct rust_parser) <paren_depth>: New member. 13144 1.1 christos (rustyylex, rust_lex_test_init, rust_lex_test_one) 13145 1.1 christos (rust_lex_test_sequence, rust_lex_test_push_back): Update. 13146 1.1 christos * parser-defs.h (paren_depth): Don't declare. 13147 1.1 christos * parse.c (paren_depth): Remove global. 13148 1.1 christos (parse_exp_in_context): Update. 13149 1.1 christos * p-exp.y (paren_depth): New global. 13150 1.1 christos (pascal_parse): Initialize it. 13151 1.1 christos * m2-exp.y (paren_depth): New global. 13152 1.1 christos (m2_parse): Initialize it. 13153 1.1 christos * go-exp.y (paren_depth): New global. 13154 1.1 christos (go_parse): Initialize it. 13155 1.1 christos * f-exp.y (paren_depth): New global. 13156 1.1 christos (f_parse): Initialize it. 13157 1.1 christos * d-exp.y (paren_depth): New global. 13158 1.1 christos (d_parse): Initialize it. 13159 1.1 christos * c-exp.y (paren_depth): New global. 13160 1.1 christos (c_parse): Initialize it. 13161 1.1 christos * ada-lex.l (paren_depth): New global. 13162 1.1 christos (lexer_init): Initialize it. 13163 1.1 christos 13164 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13165 1.1 christos 13166 1.1 christos * rust-exp.y (rust_parser::crate_name, rust_parser::super_name) 13167 1.1 christos (rust_parser::convert_ast_to_type) 13168 1.1 christos (rust_parser::convert_ast_to_expression, rust_lex_tests): Update. 13169 1.1 christos * parser-defs.h (struct parser_state) <parser_state>: Add 13170 1.1 christos parameters. Initialize new members. 13171 1.1 christos <expression_context_block, expression_context_pc>: New members. 13172 1.1 christos * parse.c (expression_context_block, expression_context_pc): 13173 1.1 christos Remove globals. 13174 1.1 christos (parse_exp_in_context): Update. 13175 1.1 christos * p-exp.y: Update all rules. 13176 1.1 christos (yylex): Update. 13177 1.1 christos * m2-exp.y: Update all rules. 13178 1.1 christos (yylex): Update. 13179 1.1 christos * go-exp.y (yylex): Update. 13180 1.1 christos * f-exp.y (yylex): Update. 13181 1.1 christos * d-exp.y: Update all rules. 13182 1.1 christos (yylex): Update. 13183 1.1 christos * c-exp.y: Update all rules. 13184 1.1 christos (lex_one_token, classify_name, yylex, c_parse): Update. 13185 1.1 christos * ada-exp.y (write_var_or_type, write_name_assoc): Update. 13186 1.1 christos 13187 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13188 1.1 christos 13189 1.1 christos * gdbarch.h, gdbarch.c: Rebuild. 13190 1.1 christos * gdbarch.sh (dtrace_parse_probe_argument): Change type. 13191 1.1 christos * stap-probe.h: 13192 1.1 christos (struct stap_parse_info): Replace "parser_state" with 13193 1.1 christos "expr_builder". 13194 1.1 christos * parser-defs.h (struct expr_builder): Rename from "parser_state". 13195 1.1 christos (parser_state): New class. 13196 1.1 christos * parse.c (expr_builder): Rename. 13197 1.1 christos (expr_builder::release): Rename. 13198 1.1 christos (write_exp_elt, write_exp_elt_opcode, write_exp_elt_sym) 13199 1.1 christos (write_exp_elt_msym, write_exp_elt_block, write_exp_elt_objfile) 13200 1.1 christos (write_exp_elt_longcst, write_exp_elt_floatcst) 13201 1.1 christos (write_exp_elt_type, write_exp_elt_intern, write_exp_string) 13202 1.1 christos (write_exp_string_vector, write_exp_bitstring) 13203 1.1 christos (write_exp_msymbol, mark_struct_expression) 13204 1.1 christos (write_dollar_variable) 13205 1.1 christos (insert_type_address_space, increase_expout_size): Replace 13206 1.1 christos "parser_state" with "expr_builder". 13207 1.1 christos * dtrace-probe.c: Replace "parser_state" with "expr_builder". 13208 1.1 christos * amd64-linux-tdep.c (amd64_dtrace_parse_probe_argument): Replace 13209 1.1 christos "parser_state" with "expr_builder". 13210 1.1 christos 13211 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13212 1.1 christos 13213 1.1 christos * rust-exp.y: Replace "parse_language" with method call. 13214 1.1 christos * p-exp.y: 13215 1.1 christos (yylex): Replace "parse_language" with method call. 13216 1.1 christos * m2-exp.y: 13217 1.1 christos (yylex): Replace "parse_language" with method call. 13218 1.1 christos * go-exp.y (classify_name): Replace "parse_language" with method 13219 1.1 christos call. 13220 1.1 christos * f-exp.y (yylex): Replace "parse_language" with method call. 13221 1.1 christos * d-exp.y (lex_one_token): Replace "parse_language" with method 13222 1.1 christos call. 13223 1.1 christos * c-exp.y: 13224 1.1 christos (lex_one_token, classify_name, yylex): Replace "parse_language" 13225 1.1 christos with method call. 13226 1.1 christos * ada-exp.y (find_primitive_type, type_char) 13227 1.1 christos (type_system_address): Replace "parse_language" with method call. 13228 1.1 christos 13229 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13230 1.1 christos 13231 1.1 christos * rust-exp.y: Replace "parse_gdbarch" with method call. 13232 1.1 christos * parse.c (write_dollar_variable, insert_type_address_space): 13233 1.1 christos Replace "parse_gdbarch" with method call. 13234 1.1 christos * p-exp.y (parse_type, yylex): Replace "parse_gdbarch" with method 13235 1.1 christos call. 13236 1.1 christos * objc-lang.c (end_msglist): Replace "parse_gdbarch" with method 13237 1.1 christos call. 13238 1.1 christos * m2-exp.y (parse_type, parse_m2_type, yylex): Replace 13239 1.1 christos "parse_gdbarch" with method call. 13240 1.1 christos * go-exp.y (parse_type, classify_name): Replace "parse_gdbarch" 13241 1.1 christos with method call. 13242 1.1 christos * f-exp.y (parse_type, parse_f_type, yylex): Replace 13243 1.1 christos "parse_gdbarch" with method call. 13244 1.1 christos * d-exp.y (parse_type, parse_d_type, lex_one_token): Replace 13245 1.1 christos "parse_gdbarch" with method call. 13246 1.1 christos * c-exp.y (parse_type, parse_number, classify_name): Replace 13247 1.1 christos "parse_gdbarch" with method call. 13248 1.1 christos * ada-lex.l: Replace "parse_gdbarch" with method call. 13249 1.1 christos * ada-exp.y (parse_type, find_primitive_type, type_char) 13250 1.1 christos (type_system_address): Replace "parse_gdbarch" with method call. 13251 1.1 christos 13252 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13253 1.1 christos 13254 1.1 christos * dtrace-probe.c (dtrace_probe::build_arg_exprs): Update. 13255 1.1 christos * stap-probe.c (stap_parse_argument): Update. 13256 1.1 christos * stap-probe.h (struct stap_parse_info) <stap_parse_info>: Remove 13257 1.1 christos initial_size parameter. 13258 1.1 christos * rust-exp.y (rust_lex_tests): Update. 13259 1.1 christos * parse.c (parser_state): Update. 13260 1.1 christos (parse_exp_in_context): Update. 13261 1.1 christos * parser-defs.h (struct parser_state) <parser_state>: Remove 13262 1.1 christos "initial_size" parameter. 13263 1.1 christos 13264 1.1 christos 2019-04-04 Tom Tromey <tom (a] tromey.com> 13265 1.1 christos 13266 1.1 christos * parser-defs.h (increase_expout_size): Don't declare. 13267 1.1 christos * parse.c (increase_expout_size): Now static. 13268 1.1 christos 13269 1.1 christos 2019-04-04 Thomas Schwinge <thomas (a] codesourcery.com> 13270 1.1 christos 13271 1.1 christos * gnu-nat.c (gnu_nat_target::wait): Fix 13272 1.1 christos target_waitstatus_to_string call. 13273 1.1 christos 13274 1.1 christos 2019-04-01 Andrew Burgess <andrew.burgess (a] embecosm.com> 13275 1.1 christos 13276 1.1 christos * eval.c (evaluate_subexp_standard): Handle internal functions 13277 1.1 christos during Fortran function call handling. 13278 1.1 christos 13279 1.1 christos 2019-04-01 Andrew Burgess <andrew.burgess (a] embecosm.com> 13280 1.1 christos 13281 1.1 christos * NEWS: Mention new internal functions. 13282 1.1 christos * dwarf2read.c (dwarf2_init_complex_target_type): New function. 13283 1.1 christos (read_base_type): Use dwarf2_init_complex_target_type. 13284 1.1 christos * value.c (creal_internal_fn): New function. 13285 1.1 christos (cimag_internal_fn): New function. 13286 1.1 christos (_initialize_values): Register new internal functions. 13287 1.1 christos 13288 1.1 christos 2019-04-01 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 13289 1.1 christos 13290 1.1 christos * infrun.c (stop_all_threads): If debug_infrun, always 13291 1.1 christos trace the wait status after wait_one, using 13292 1.1 christos target_waitstatus_to_string and target_pid_to_str. 13293 1.1 christos (handle_inferior_event): Replace various trace of 13294 1.1 christos wait status kind by a single trace. 13295 1.1 christos * gnu-nat.c (gnu_nat_target::wait): Replace local 13296 1.1 christos wait status kind image by target_waitstatus_to_string. 13297 1.1 christos * target/waitstatus.c (target_waitstatus_to_string): Fix 13298 1.1 christos obsolete comment. 13299 1.1 christos 13300 1.1 christos 2019-04-01 Tom Tromey <tromey (a] adacore.com> 13301 1.1 christos 13302 1.1 christos PR symtab/23331: 13303 1.1 christos * dwarf2read.c (partial_die_info::read): Handle DW_AT_ranges. 13304 1.1 christos 13305 1.1 christos 2019-04-01 Sergio Durigan Junior <sergiodj (a] redhat.com> 13306 1.1 christos Pedro Alves <palves (a] redhat.com> 13307 1.1 christos 13308 1.1 christos * top.c (quit_force): Call 'finalize_values'. 13309 1.1 christos * value.c (finalize_values): New function. 13310 1.1 christos * value.h (finalize_values): Declare. 13311 1.1 christos 13312 1.1 christos 2019-03-30 Eli Zaretskii <eliz (a] gnu.org> 13313 1.1 christos 13314 1.1 christos * NEWS: Announce $_gdb_major and $_gdb_minor. 13315 1.1 christos 13316 1.1 christos * top.c (init_gdb_version_vars): New function. 13317 1.1 christos (gdb_init): Call init_gdb_version_vars. 13318 1.1 christos 13319 1.1 christos 2019-03-29 Tom Tromey <tromey (a] adacore.com> 13320 1.1 christos 13321 1.1 christos * printcmd.c (_initialize_printcmd): Add usage lines. Update some 13322 1.1 christos help text. Remove dead code. 13323 1.1 christos 13324 1.1 christos 2019-03-29 Keith Seitz <keiths (a] redhat.com> 13325 1.1 christos 13326 1.1 christos From Siddhesh Poyarekar: 13327 1.1 christos * f-lang.h (f77_get_upperbound): Return LONGEST. 13328 1.1 christos (f77_get_lowerbound): Likewise. 13329 1.1 christos * f-typeprint.c (f_type_print_varspec_suffix): Expand 13330 1.1 christos UPPER_BOUND and LOWER_BOUND to LONGEST. Use plongest to format 13331 1.1 christos print them. 13332 1.1 christos (f_type_print_base): Expand UPPER_BOUND to LONGEST. Use 13333 1.1 christos plongest to format print it. 13334 1.1 christos * f-valprint.c (f77_get_lowerbound): Return LONGEST. 13335 1.1 christos (f77_get_upperbound): Likewise. 13336 1.1 christos (f77_get_dynamic_length_of_aggregate): Expand UPPER_BOUND, 13337 1.1 christos LOWER_BOUND to LONGEST. 13338 1.1 christos (f77_create_arrayprint_offset_tbl): Likewise. 13339 1.1 christos 13340 1.1 christos 2019-03-29 Keith Seitz <keiths (a] redhat.com> 13341 1.1 christos 13342 1.1 christos * ada-lang.c (ada_template_to_fixed_record_type_1): Use 13343 1.1 christos %s/pulongest for TYPE_LENGTH instead of %d in format 13344 1.1 christos strings. 13345 1.1 christos * ada-typerint.c (ada_print_type): Likewise. 13346 1.1 christos * amd64-windows-tdep.c (amd64_windows_store_arg_in_reg): Likewise. 13347 1.1 christos * compile/compile-c-support.c (generate_register_struct): Likewise. 13348 1.1 christos * gdbtypes.c (recursive_dump_type): Likewise. 13349 1.1 christos * gdbtypes.h (struct type) <length>: Change type to ULONGEST. 13350 1.1 christos * m2-typeprint.c (m2_array): Use %s/pulongest for TYPE_LENGTH 13351 1.1 christos instead of %d in format strings. 13352 1.1 christos * riscv-tdep.c (riscv_type_alignment): Cast second argument 13353 1.1 christos to std::min to ULONGEST. 13354 1.1 christos * symmisc.c (print_symbol): Use %s/pulongest for TYPE_LENGTH 13355 1.1 christos instead of %d in format strings. 13356 1.1 christos * tracepoint.c (info_scope_command): Likewise. 13357 1.1 christos * typeprint.c (print_offset_data::update) 13358 1.1 christos (print_offset_data::finish): Likewise. 13359 1.1 christos * xtensa-tdep.c (xtensa_store_return_value) 13360 1.1 christos (xtensa_push_dummy_call): Likewise. 13361 1.1 christos 13362 1.1 christos 2019-03-28 Jon Turney <jon.turney (a] dronecode.org.uk> 13363 1.1 christos 13364 1.1 christos * windows-nat.c (display_selector): Fixed format specifications 13365 1.1 christos for 64-bit Cygwin. 13366 1.1 christos 13367 1.1 christos 2019-03-28 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 13368 1.1 christos 13369 1.1 christos * infrun.c (follow_exec): Call target_terminal::ours_for_output. 13370 1.1 christos 13371 1.1 christos 2019-03-28 Sandra Loosemore <sandra (a] codesourcery.com> 13372 1.1 christos 13373 1.1 christos * nios2-tdep.h (struct gdbarch_tdep): Add is_kernel_helper. 13374 1.1 christos * nios2-tdep.c (nios2_get_next_pc): Skip over kernel helpers. 13375 1.1 christos * nios2-linux-tdep.c (nios2_linux_is_kernel_helper): New. 13376 1.1 christos (nios2_linux_init_abi): Install it. 13377 1.1 christos 13378 1.1 christos 2019-03-28 Alan Hayward <alan.hayward (a] arm.com> 13379 1.1 christos 13380 1.1 christos * aarch64-tdep.c (aarch64_vnv_type): Use vector types. 13381 1.1 christos 13382 1.1 christos 2019-03-28 Alan Hayward <alan.hayward (a] arm.com> 13383 1.1 christos 13384 1.1 christos * features/aarch64-sve.c (create_feature_aarch64_sve): Add q view. 13385 1.1 christos 13386 1.1 christos 2019-03-24 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 13387 1.1 christos Tom Tromey <tromey (a] adacore.com> 13388 1.1 christos 13389 1.1 christos * minsyms.c (minimal_symbol_upper_bound): Fix buffer overflow. 13390 1.1 christos 13391 1.1 christos 2019-03-26 Joel Brobecker <brobecker (a] adacore.com> 13392 1.1 christos 13393 1.1 christos * gdb-gdb.py.in (StructMainTypePrettyPrinter.bound_img): New method. 13394 1.1 christos (StructMainTypePrettyPrinter.bounds_img): Use new "bound_img" 13395 1.1 christos method to compute the bounds of range types. Also print "[evaluated]" 13396 1.1 christos if the bounds' values come from a dynamic evaluation. 13397 1.1 christos 13398 1.1 christos 2019-03-26 Andrew Burgess <andrew.burgess (a] embecosm.com> 13399 1.1 christos 13400 1.1 christos * cp-valprint.c (cp_print_value_fields): Don't print trailing 13401 1.1 christos whitespace when pretty printing is on. 13402 1.1 christos 13403 1.1 christos 2019-03-26 Alan Hayward <alan.hayward (a] arm.com> 13404 1.1 christos 13405 1.1 christos * ppc-linux-nat.c: Add include. 13406 1.1 christos 13407 1.1 christos 2019-03-26 Alan Hayward <alan.hayward (a] arm.com> 13408 1.1 christos 13409 1.1 christos * NEWS: Mention AArch64 Pointer Authentication. 13410 1.1 christos 13411 1.1 christos 2019-03-26 Alan Hayward <alan.hayward (a] arm.com> 13412 1.1 christos 13413 1.1 christos * arm-linux-nat.c: Add include. 13414 1.1 christos 13415 1.1 christos 2019-03-25 Simon Marchi <simon.marchi (a] polymtl.ca> 13416 1.1 christos 13417 1.1 christos * source-cache.c (source_cache::get_source_lines): Re-read 13418 1.1 christos fullname after calling open_source_file. 13419 1.1 christos 13420 1.1 christos 2019-03-25 John Baldwin <jhb (a] FreeBSD.org> 13421 1.1 christos 13422 1.1 christos * NEWS: Mention TLS support for FreeBSD. 13423 1.1 christos 13424 1.1 christos 2019-03-25 Tom Tromey <tromey (a] adacore.com> 13425 1.1 christos 13426 1.1 christos * minsyms.c (BUNCH_SIZE): Update comment. 13427 1.1 christos (~minimal_symbol_reader): Remove old comment. 13428 1.1 christos (compact_minimal_symbols): Update comment. 13429 1.1 christos (minimal_symbol_reader::install): Remove old comment. Update 13430 1.1 christos other comments. 13431 1.1 christos 13432 1.1 christos 2019-03-25 Alan Hayward <alan.hayward (a] arm.com> 13433 1.1 christos 13434 1.1 christos * s390-linux-nat.c: Add include. 13435 1.1 christos 13436 1.1 christos 2019-03-25 Alan Hayward <alan.hayward (a] arm.com> 13437 1.1 christos 13438 1.1 christos * aarch64-linux-nat.c (aarch64_linux_nat_target::read_description): 13439 1.1 christos Call linux_get_hwcap. 13440 1.1 christos * aarch64-linux-tdep.c (aarch64_linux_core_read_description): 13441 1.1 christos Likewise. 13442 1.1 christos (aarch64_linux_get_hwcap): Remove function. 13443 1.1 christos * aarch64-linux-tdep.h (aarch64_linux_get_hwcap): Remove 13444 1.1 christos declaration. 13445 1.1 christos * arm-linux-nat.c (arm_linux_nat_target::read_description):Call 13446 1.1 christos linux_get_hwcap. 13447 1.1 christos * arm-linux-tdep.c (arm_linux_core_read_description): Likewise. 13448 1.1 christos * linux-tdep.c (linux_get_hwcap): Add function. 13449 1.1 christos (linux_get_hwcap2): Likewise. 13450 1.1 christos * linux-tdep.h (linux_get_hwcap): Add declaration. 13451 1.1 christos (linux_get_hwcap2): Likewise. 13452 1.1 christos * ppc-linux-nat.c (ppc_linux_get_hwcap): Remove function. 13453 1.1 christos (ppc_linux_get_hwcap2): Likewise. 13454 1.1 christos (ppc_linux_nat_target::region_ok_for_hw_watchpoint): Call 13455 1.1 christos linux_get_hwcap. 13456 1.1 christos (ppc_linux_nat_target::insert_watchpoint): Likewise. 13457 1.1 christos (ppc_linux_nat_target::watchpoint_addr_within_range): Likewise. 13458 1.1 christos (ppc_linux_nat_target::read_description): Likewise. 13459 1.1 christos * ppc-linux-tdep.c (ppc_linux_core_read_description): Likewise. 13460 1.1 christos * s390-linux-nat.c: Likewise. 13461 1.1 christos * s390-linux-tdep.c (s390_core_read_description): Likewise. 13462 1.1 christos 13463 1.1 christos 2019-03-24 Tom Tromey <tom (a] tromey.com> 13464 1.1 christos 13465 1.1 christos * ada-lang.c (standard_lookup): Simplify initialization. 13466 1.1 christos (ada_lookup_symbol_nonlocal): Simplify return. 13467 1.1 christos * solib-spu.c (spu_lookup_lib_symbol): Simplify return. 13468 1.1 christos * solib-darwin.c (darwin_lookup_lib_symbol): Simplify return. 13469 1.1 christos * solib-svr4.c (elf_lookup_lib_symbol): Simplify return. 13470 1.1 christos * rust-lang.c (rust_lookup_symbol_nonlocal): Simplify 13471 1.1 christos initialization. 13472 1.1 christos * solib.c (solib_global_lookup): Simplify. 13473 1.1 christos * symtab.c (null_block_symbol): Remove. 13474 1.1 christos (symbol_cache_lookup): Simplify returns. 13475 1.1 christos (lookup_language_this): Simplify returns. 13476 1.1 christos (lookup_symbol_aux): Simplify return. 13477 1.1 christos (lookup_local_symbol): Simplify returns. 13478 1.1 christos (lookup_global_symbol_from_objfile): Simplify return. 13479 1.1 christos (lookup_symbol_in_objfile_symtabs) 13480 1.1 christos (lookup_symbol_in_objfile_from_linkage_name): Simplify return. 13481 1.1 christos (lookup_symbol_via_quick_fns, lookup_symbol_in_static_block) 13482 1.1 christos (lookup_static_symbol, lookup_global_symbol): Simplify return. 13483 1.1 christos * cp-namespace.c (cp_lookup_bare_symbol) 13484 1.1 christos (cp_search_static_and_baseclasses, cp_lookup_symbol_via_imports) 13485 1.1 christos (cp_lookup_symbol_via_all_imports, cp_lookup_nested_symbol_1) 13486 1.1 christos (cp_lookup_nested_symbol): Don't use null_block_symbol. 13487 1.1 christos (cp_lookup_symbol_via_imports): Simplify initialization. 13488 1.1 christos (find_symbol_in_baseclass): Likewise. 13489 1.1 christos * symtab.h (null_block_symbol): Remove. 13490 1.1 christos * d-namespace.c (d_lookup_symbol): Don't use null_block_symbol. 13491 1.1 christos (d_lookup_nested_symbol, d_lookup_symbol_imports) 13492 1.1 christos (d_lookup_symbol_module): Likewise. 13493 1.1 christos (find_symbol_in_baseclass): Simplify initialization. 13494 1.1 christos 13495 1.1 christos 2019-03-24 Tom Tromey <tom (a] tromey.com> 13496 1.1 christos 13497 1.1 christos * expression.h: Don't include symtab.h. 13498 1.1 christos (struct block): Forward declare. 13499 1.1 christos 13500 1.1 christos 2019-03-24 Tom Tromey <tom (a] tromey.com> 13501 1.1 christos 13502 1.1 christos * c-exp.y (typebase): Remove casts. 13503 1.1 christos * gdbtypes.c (lookup_unsigned_typename, ) 13504 1.1 christos (lookup_signed_typename): Remove cast. 13505 1.1 christos * eval.c (parse_to_comma_and_eval): Remove cast. 13506 1.1 christos * parse.c (write_dollar_variable): Remove cast. 13507 1.1 christos * block.h (struct block) <superblock>: Now const. 13508 1.1 christos * symfile-debug.c (debug_qf_map_matching_symbols): Update. 13509 1.1 christos * psymtab.c (psym_map_matching_symbols): Make "block" const. 13510 1.1 christos (map_block): Make "block" const. 13511 1.1 christos * symfile.h (struct quick_symbol_functions) 13512 1.1 christos <map_matching_symbols>: Constify block argument to "callback". 13513 1.1 christos * symtab.c (basic_lookup_transparent_type_quick): Make "block" 13514 1.1 christos const. 13515 1.1 christos (find_pc_sect_compunit_symtab): Make "b" const. 13516 1.1 christos (find_symbol_at_address): Likewise. 13517 1.1 christos (search_symbols): Likewise. 13518 1.1 christos * dwarf2read.c (dw2_lookup_symbol): Make "block" const. 13519 1.1 christos (dw2_debug_names_lookup_symbol): Likewise. 13520 1.1 christos (dw2_map_matching_symbols): Update. 13521 1.1 christos * p-valprint.c (pascal_val_print): Remove "block". 13522 1.1 christos * ada-lang.c (ada_add_global_exceptions): Make "b" const. 13523 1.1 christos (aux_add_nonlocal_symbols): Make "block" const. 13524 1.1 christos (resolve_subexp): Remove cast. 13525 1.1 christos * linespec.c (iterate_over_all_matching_symtabs): Make "block" 13526 1.1 christos const. 13527 1.1 christos (iterate_over_file_blocks): Likewise. 13528 1.1 christos * f-exp.y (%union) <bval>: Remove. 13529 1.1 christos * coffread.c (patch_opaque_types): Make "b" const. 13530 1.1 christos * spu-tdep.c (spu_catch_start): Make "block" const. 13531 1.1 christos * c-valprint.c (print_unpacked_pointer): Remove "block". 13532 1.1 christos * symmisc.c (dump_symtab_1): Make "b" const. 13533 1.1 christos (block_depth): Make "block" const. 13534 1.1 christos * d-exp.y (%union) <bval>: Remove. 13535 1.1 christos * cp-support.h (cp_lookup_rtti_type): Update. 13536 1.1 christos * cp-support.c (cp_lookup_rtti_type): Make "block" const. 13537 1.1 christos * psymtab.c (psym_lookup_symbol): Make "block" const. 13538 1.1 christos (maintenance_check_psymtabs): Make "b" const. 13539 1.1 christos * python/py-framefilter.c (extract_sym): Make "sym_block" const. 13540 1.1 christos (enumerate_locals, enumerate_args): Update. 13541 1.1 christos * python/py-symtab.c (stpy_global_block): Make "block" const. 13542 1.1 christos (stpy_static_block): Likewise. 13543 1.1 christos * inline-frame.c (block_starting_point_at): Make "new_block" 13544 1.1 christos const. 13545 1.1 christos * block.c (find_block_in_blockvector): Make return type const. 13546 1.1 christos (blockvector_for_pc_sect): Make "b" const. 13547 1.1 christos (find_block_in_blockvector): Make "b" const. 13548 1.1 christos 13549 1.1 christos 2019-03-23 Tom Tromey <tom (a] tromey.com> 13550 1.1 christos 13551 1.1 christos * varobj.c (varobj_create): Update. 13552 1.1 christos * symfile.c (clear_symtab_users): Don't reset innermost_block. 13553 1.1 christos * printcmd.c (display_command, do_one_display): Don't reset 13554 1.1 christos innermost_block. 13555 1.1 christos * parser-defs.h (enum innermost_block_tracker_type): Move to 13556 1.1 christos expression.h. 13557 1.1 christos (innermost_block): Update comment. 13558 1.1 christos * parse.c (parse_exp_1): Add tracker_types parameter. 13559 1.1 christos (parse_exp_in_context): Rename from parse_exp_in_context_1. Add 13560 1.1 christos tracker_types parameter. Reset innermost_block. 13561 1.1 christos (parse_exp_in_context): Remove. 13562 1.1 christos (parse_expression_for_completion): Update. 13563 1.1 christos * objfiles.c (~objfile): Don't reset expression_context_block or 13564 1.1 christos innermost_block. 13565 1.1 christos * expression.h (enum innermost_block_tracker_type): Move from 13566 1.1 christos parser-defs.h. 13567 1.1 christos (parse_exp_1): Add tracker_types parameter. 13568 1.1 christos * breakpoint.c (set_breakpoint_condition, watch_command_1): Don't 13569 1.1 christos reset innermost_block. 13570 1.1 christos 13571 1.1 christos 2019-03-23 Tom Tromey <tom (a] tromey.com> 13572 1.1 christos 13573 1.1 christos * objfiles.h: Include bcache.h. 13574 1.1 christos 13575 1.1 christos 2019-03-23 Tom Tromey <tom (a] tromey.com> 13576 1.1 christos 13577 1.1 christos * linespec.c (get_current_search_block): Use 13578 1.1 christos scoped_restore_current_language. 13579 1.1 christos * symmisc.c (dump_symtab): Use scoped_restore_current_language. 13580 1.1 christos 13581 1.1 christos 2019-03-22 Alan Hayward <alan.hayward (a] arm.com> 13582 1.1 christos Jiong Wang <jiong.wang (a] arm.com> 13583 1.1 christos 13584 1.1 christos * aarch64-linux-tdep.c 13585 1.1 christos (aarch64_linux_iterate_over_regset_sections): Check for pauth 13586 1.1 christos section. 13587 1.1 christos * aarch64-linux-tdep.h (AARCH64_LINUX_SIZEOF_PAUTH): New define. 13588 1.1 christos 13589 1.1 christos 2019-03-22 Alan Hayward <alan.hayward (a] arm.com> 13590 1.1 christos Jiong Wang <jiong.wang (a] arm.com> 13591 1.1 christos 13592 1.1 christos * aarch64-tdep.c (aarch64_analyze_prologue): Check for pauth 13593 1.1 christos instructions. 13594 1.1 christos (aarch64_analyze_prologue_test): Add PACIASP test. 13595 1.1 christos (aarch64_prologue_prev_register): Unmask PC value. 13596 1.1 christos 13597 1.1 christos 2019-03-22 Alan Hayward <alan.hayward (a] arm.com> 13598 1.1 christos Jiong Wang <jiong.wang (a] arm.com> 13599 1.1 christos 13600 1.1 christos * aarch64-tdep.c (aarch64_frame_unmask_address): New function. 13601 1.1 christos (aarch64_dwarf2_prev_register): Unmask PC value. 13602 1.1 christos (aarch64_dwarf2_frame_init_reg): Init pauth registers. 13603 1.1 christos (aarch64_execute_dwarf_cfa_vendor_op): Check for 13604 1.1 christos DW_CFA_AARCH64_negate_ra_state. 13605 1.1 christos (aarch64_gdbarch_init): Add aarch64_execute_dwarf_cfa_vendor_op. 13606 1.1 christos 13607 1.1 christos 2019-03-22 Alan Hayward <alan.hayward (a] arm.com> 13608 1.1 christos Jiong Wang <jiong.wang (a] arm.com> 13609 1.1 christos 13610 1.1 christos * aarch64-tdep.c (aarch64_dwarf_reg_to_regnum): Check for pauth 13611 1.1 christos registers. 13612 1.1 christos (aarch64_pseudo_register_name): Likewise. 13613 1.1 christos (aarch64_pseudo_register_type): Likewise. 13614 1.1 christos (aarch64_pseudo_register_reggroup_p): Likewise. 13615 1.1 christos (aarch64_gdbarch_init): Add pauth registers. 13616 1.1 christos * aarch64-tdep.h (AARCH64_DWARF_PAUTH_RA_STATE): New define. 13617 1.1 christos (AARCH64_DWARF_PAUTH_DMASK): Likewise. 13618 1.1 christos (AARCH64_DWARF_PAUTH_CMASK): Likewise. 13619 1.1 christos (struct gdbarch_tdep): Add regnum for ra_state. 13620 1.1 christos 13621 1.1 christos 2019-03-22 Alan Hayward <alan.hayward (a] arm.com> 13622 1.1 christos Jiong Wang <jiong.wang (a] arm.com> 13623 1.1 christos 13624 1.1 christos * arch/aarch64.h (AARCH64_PAUTH_REGS_SIZE): New define. 13625 1.1 christos 13626 1.1 christos 2019-03-22 Alan Hayward <alan.hayward (a] arm.com> 13627 1.1 christos Jiong Wang <jiong.wang (a] arm.com> 13628 1.1 christos 13629 1.1 christos * aarch64-linux-nat.c (fetch_pauth_masks_from_thread): New 13630 1.1 christos function. 13631 1.1 christos (aarch64_linux_nat_target::fetch_registers): Read pauth registers. 13632 1.1 christos * aarch64-tdep.c (aarch64_cannot_store_register): New function. 13633 1.1 christos (aarch64_gdbarch_init): Add puth registers. 13634 1.1 christos * aarch64-tdep.h (struct gdbarch_tdep): Add pauth features. 13635 1.1 christos * arch/aarch64.h (AARCH64_PAUTH_DMASK_REGNUM): New define. 13636 1.1 christos (AARCH64_PAUTH_CMASK_REGNUM): Likewise. 13637 1.1 christos 13638 1.1 christos 2019-03-22 Alan Hayward <alan.hayward (a] arm.com> 13639 1.1 christos Jiong Wang <jiong.wang (a] arm.com> 13640 1.1 christos 13641 1.1 christos * aarch64-linux-nat.c 13642 1.1 christos (aarch64_linux_nat_target::read_description): Read PACA hwcap. 13643 1.1 christos * aarch64-linux-tdep.c 13644 1.1 christos (aarch64_linux_core_read_description): Likewise. 13645 1.1 christos (aarch64_linux_get_hwcap): New function. 13646 1.1 christos * aarch64-linux-tdep.h (AARCH64_HWCAP_PACA): New define. 13647 1.1 christos (aarch64_linux_get_hwcap): New declaration. 13648 1.1 christos 13649 1.1 christos 2019-03-22 Alan Hayward <alan.hayward (a] arm.com> 13650 1.1 christos Jiong Wang <jiong.wang (a] arm.com> 13651 1.1 christos 13652 1.1 christos * aarch64-linux-nat.c 13653 1.1 christos (aarch64_linux_nat_target::read_description): Add pauth param. 13654 1.1 christos * aarch64-linux-tdep.c 13655 1.1 christos (aarch64_linux_core_read_description): Likewise. 13656 1.1 christos * aarch64-tdep.c (struct target_desc): Add in pauth. 13657 1.1 christos (aarch64_read_description): Add pauth param. 13658 1.1 christos (aarch64_gdbarch_init): Likewise. 13659 1.1 christos * aarch64-tdep.h (aarch64_read_description): Likewise. 13660 1.1 christos * arch/aarch64.c (aarch64_create_target_description): Likewise. 13661 1.1 christos * arch/aarch64.h (aarch64_create_target_description): Likewise. 13662 1.1 christos * features/Makefile: Add new files. 13663 1.1 christos * features/aarch64-pauth.c: New file. 13664 1.1 christos * features/aarch64-pauth.xml: New file. 13665 1.1 christos 13666 1.1 christos 2019-03-20 Tom Tromey <tromey (a] adacore.com> 13667 1.1 christos 13668 1.1 christos * infrun.c (handle_inferior_event): Rename from 13669 1.1 christos handle_inferior_event_1. Create a scoped_value_mark. 13670 1.1 christos (handle_inferior_event): Remove. 13671 1.1 christos 13672 1.1 christos 2019-03-19 Tom Tromey <tromey (a] adacore.com> 13673 1.1 christos 13674 1.1 christos * mi/mi-interp.c (mi_on_normal_stop_1): Only show displays once. 13675 1.1 christos * infrun.h (print_stop_event): Add "displays" parameter. 13676 1.1 christos * infrun.c (print_stop_event): Add "displays" parameter. 13677 1.1 christos 13678 1.1 christos 2019-03-19 Pedro Alves <palves (a] redhat.com> 13679 1.1 christos 13680 1.1 christos * tui/tui-out.c (tui_ui_out::do_field_string): Simplify. 13681 1.1 christos (tui_ui_out::do_text): Add comments. Reset M_LINE to 0 instead of 13682 1.1 christos to -1. Fix TABs vs spaces. 13683 1.1 christos (tui_ui_out::tui_ui_out): Don't initialize fields here. 13684 1.1 christos * tui/tui-out.h (tui_ui_out) Add intro comments. 13685 1.1 christos <m_line, m_start_of_line>: In-class initialize, and add describing 13686 1.1 christos comment. 13687 1.1 christos 13688 1.1 christos 2019-03-18 Alan Hayward <alan.hayward (a] arm.com> 13689 1.1 christos 13690 1.1 christos * arm-linux-nat.c (arm_linux_insert_hw_breakpoint1): Fix 13691 1.1 christos variable names. 13692 1.1 christos (arm_linux_remove_hw_breakpoint1): Use a gdb::function_view. 13693 1.1 christos 13694 1.1 christos 2019-03-18 Pedro Alves <palves (a] redhat.com> 13695 1.1 christos Eli Zaretskii <eliz (a] gnu.org> 13696 1.1 christos 13697 1.1 christos * tui/tui-out.c (tui_ui_out::tui_ui_out): Fix initialization of 13698 1.1 christos m_line and m_start_of_line. 13699 1.1 christos 13700 1.1 christos 2019-03-18 Eli Zaretskii <eliz (a] gnu.org> 13701 1.1 christos 13702 1.1 christos * tui/tui-io.c (gdb_wgetch): Don't echo CR. 13703 1.1 christos (tui_getc): When gdb_wgetch returns a CR, behave the same as when 13704 1.1 christos it returns a newline. This fixes a regression in TU mode, whereby 13705 1.1 christos the next line is output on the same screen line as the user input. 13706 1.1 christos 13707 1.1 christos 2019-03-18 Tom Tromey <tromey (a] adacore.com> 13708 1.1 christos 13709 1.1 christos * minsyms.c (minimal_symbol_reader::install): Remove call to 13710 1.1 christos obstack_blank. 13711 1.1 christos 13712 1.1 christos 2019-03-18 Pedro Alves <palves (a] redhat.com> 13713 1.1 christos 13714 1.1 christos * tui/tui-io.c (reverse_mode_p, reverse_save_bg, reverse_save_fg): 13715 1.1 christos New globals. 13716 1.1 christos (apply_style): New, factored out from ... 13717 1.1 christos (apply_ansi_escape): ... this. Handle reverse video mode. 13718 1.1 christos (tui_set_reverse_mode): New function. 13719 1.1 christos * tui/tui-io.h (tui_set_reverse_mode): New declaration. 13720 1.1 christos * tui/tui-winsource.c (tui_show_source_line): Use 13721 1.1 christos tui_set_reverse_mode instead of setting A_STANDOUT. 13722 1.1 christos * ui-style.h (struct ui_file_style) <set_reverse, set_fg, set_bg>: 13723 1.1 christos New setter methods. 13724 1.1 christos 13725 1.1 christos 2019-03-18 Hannes Domani <ssbssa (a] yahoo.de> 13726 1.1 christos 13727 1.1 christos * tui/tui-source.c (copy_source_line): Fix handling of 'column'. 13728 1.1 christos Handle tabs. 13729 1.1 christos 13730 1.1 christos 2019-03-18 Tom Tromey <tromey (a] adacore.com> 13731 1.1 christos 13732 1.1 christos * ada-lang.c (empty_array): Add "high" parameter. 13733 1.1 christos (ada_evaluate_subexp): Update. 13734 1.1 christos 13735 1.1 christos 2019-03-17 Sergei Trofimovich <siarheit (a] google.com> 13736 1.1 christos 13737 1.1 christos * unittests/string_view-selftests.c: Define 13738 1.1 christos _initialize_string_view_selftests unconditionally. 13739 1.1 christos 13740 1.1 christos 2019-03-17 Vladimir Martyanov <vilgeforce (a] gmail.com> 13741 1.1 christos 13742 1.1 christos PR gdb/24350 13743 1.1 christos * windows-nat.c (windows_make_so): Remove unused text_vma variable. 13744 1.1 christos 13745 1.1 christos 2019-03-17 Vladimir Martyanov <vilgeforce (a] gmail.com> 13746 1.1 christos 13747 1.1 christos PR gdb/24351 13748 1.1 christos * windows-nat.c (display_selector): Fix format specifiers. 13749 1.1 christos 13750 1.1 christos 2019-03-17 Eli Zaretskii <eliz (a] gnu.org> 13751 1.1 christos 13752 1.1 christos * tui/tui-winsource.c (tui_set_is_exec_point_at): Call 13753 1.1 christos tui_refill_source_window instead of tui_refresh_win, to update the 13754 1.1 christos current execution line. This fixes redisplay of the current line 13755 1.1 christos when stepping through the code with "next" or "step". 13756 1.1 christos 13757 1.1 christos 2019-03-16 Eli Zaretskii <eliz (a] gnu.org> 13758 1.1 christos 13759 1.1 christos * source-cache.c (source_cache::get_source_lines): Call 13760 1.1 christos find_source_lines to initialize s->nlines. This fixes vertical 13761 1.1 christos scrolling of TUI source window when the DOWN arrow is pressed. 13762 1.1 christos 13763 1.1 christos 2019-03-16 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 13764 1.1 christos 13765 1.1 christos * auto-load.c (_initialize_auto_load): Fix 'This options has'. 13766 1.1 christos linux-thread-db.c (_initialize_thread_db): Likewise. 13767 1.1 christos 13768 1.1 christos 2019-03-16 Eli Zaretskii <eliz (a] gnu.org> 13769 1.1 christos 13770 1.1 christos * tui/tui-winsource.c (tui_show_source_line): Revert "Use 13771 1.1 christos wclrtoeol in tui_show_source_line". This reverts changes made in 13772 1.1 christos commit 4a3045920bbe4e50a0f4920b0fdc4e88ef23015c. 13773 1.1 christos 13774 1.1 christos 2019-03-15 Tom Tromey <tom (a] tromey.com> 13775 1.1 christos 13776 1.1 christos * symtab.h (struct minimal_symbol): Derive from 13777 1.1 christos general_symbol_info. 13778 1.1 christos (MSYMBOL_VALUE, MSYMBOL_VALUE_RAW_ADDRESS) 13779 1.1 christos (MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) 13780 1.1 christos (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) 13781 1.1 christos (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) 13782 1.1 christos (MSYMBOL_LINKAGE_NAME, MSYMBOL_DEMANGLED_NAME) 13783 1.1 christos (MSYMBOL_SEARCH_NAME): Update. 13784 1.1 christos (MSYMBOL_SET_LANGUAGE, MSYMBOL_SET_NAMES): Remove. 13785 1.1 christos * solib.c (gdb_bfd_lookup_symbol_from_symtab): Don't use memset. 13786 1.1 christos * minsyms.c (minimal_symbol_reader::record_full): Update. 13787 1.1 christos 13788 1.1 christos 2019-03-15 Tom Tromey <tom (a] tromey.com> 13789 1.1 christos 13790 1.1 christos * minsyms.c (minimal_symbol_reader::install): Use memcpy. 13791 1.1 christos 13792 1.1 christos 2019-03-15 Tom Tromey <tom (a] tromey.com> 13793 1.1 christos 13794 1.1 christos * objfiles.h (struct objfile_per_bfd_storage) <msymbols>: Now a 13795 1.1 christos unique_xmalloc_ptr. 13796 1.1 christos (objfile::msymbols_range::begin, objfile::msymbols_range::end): 13797 1.1 christos Update. 13798 1.1 christos * minsyms.c (lookup_minimal_symbol_by_pc_section) 13799 1.1 christos (build_minimal_symbol_hash_tables) 13800 1.1 christos (minimal_symbol_reader::install): Update. 13801 1.1 christos 13802 1.1 christos 2019-03-15 Tom Tromey <tom (a] tromey.com> 13803 1.1 christos 13804 1.1 christos * symtab.c (create_demangled_names_hash): Update. 13805 1.1 christos (symbol_set_names): Update. 13806 1.1 christos * objfiles.h (struct objfile_per_bfd_storage) 13807 1.1 christos <demangled_names_hash>: Now an htab_up. 13808 1.1 christos * objfiles.c (objfile_per_bfd_storage): Simplify. 13809 1.1 christos 13810 1.1 christos 2019-03-15 Tom Tromey <tom (a] tromey.com> 13811 1.1 christos 13812 1.1 christos * objfiles.h (struct objfile_per_bfd_storage): Declare 13813 1.1 christos destructor. 13814 1.1 christos * objfiles.c (objfile_per_bfd_storage::~objfile_per_bfd_storage): 13815 1.1 christos New. 13816 1.1 christos (get_objfile_bfd_data): Use new. Don't initialize 13817 1.1 christos language_of_main. 13818 1.1 christos (free_objfile_per_bfd_storage): Remove. 13819 1.1 christos (objfile_bfd_data_free, objfile::~objfile): Use delete. 13820 1.1 christos 13821 1.1 christos 2019-03-15 Tom Tromey <tom (a] tromey.com> 13822 1.1 christos 13823 1.1 christos * symfile.c (reread_symbols): Update. 13824 1.1 christos * objfiles.c (objfile::objfile): Update. 13825 1.1 christos * minsyms.h (terminate_minimal_symbol_table): Don't declare. 13826 1.1 christos * minsyms.c (lookup_minimal_symbol_by_pc_section): Update 13827 1.1 christos comment. 13828 1.1 christos (minimal_symbol_reader::install): Update. 13829 1.1 christos (terminate_minimal_symbol_table): Remove. 13830 1.1 christos * jit.c (jit_object_close_impl): Update. 13831 1.1 christos 13832 1.1 christos 2019-03-15 Tom Tromey <tom (a] tromey.com> 13833 1.1 christos 13834 1.1 christos * minsyms.c (minimal_symbol_reader::record_full): Remove some 13835 1.1 christos initializations. 13836 1.1 christos 13837 1.1 christos 2019-03-15 Tom Tromey <tom (a] tromey.com> 13838 1.1 christos 13839 1.1 christos * objfiles.h (struct objfile_per_bfd_storage) 13840 1.1 christos <demangled_hash_languages>: Now a bitset. 13841 1.1 christos * minsyms.c (add_minsym_to_demangled_hash_table): Update. 13842 1.1 christos (lookup_minimal_symbol): Update. 13843 1.1 christos 13844 1.1 christos 2019-03-15 Tom Tromey <tom (a] tromey.com> 13845 1.1 christos 13846 1.1 christos * minsyms.h (class minimal_symbol_reader) <record_with_info>: 13847 1.1 christos Don't return the symbol. 13848 1.1 christos * coffread.c (record_minimal_symbol): Use record_full. 13849 1.1 christos 13850 1.1 christos 2019-03-14 Eli Zaretskii <eliz (a] gnu.org> 13851 1.1 christos 13852 1.1 christos The MS-Windows port of ncurses fails to switch to a color pair if 13853 1.1 christos one or both of the colors are the implicit default colors. This 13854 1.1 christos change records the default colors when TUI is initialized, and 13855 1.1 christos then specifies them explicitly when a color pair uses the default 13856 1.1 christos colors. This allows color styling in TUI mode on MS-Windows. 13857 1.1 christos 13858 1.1 christos * tui/tui-io.c [__MINGW32__]: Include windows.h. Declare 13859 1.1 christos ncurses_norm_attr. 13860 1.1 christos (tui_initialize_io) [__MINGW32__]: Record the default terminal 13861 1.1 christos colors in ncurses_norm_attr. 13862 1.1 christos (apply_ansi_escape) [__MINGW32__]: If a color in a color pair is 13863 1.1 christos "none", replace it with the default color recorded in 13864 1.1 christos ncurses_norm_attr. 13865 1.1 christos 13866 1.1 christos 2019-03-14 Tom Tromey <tromey (a] adacore.com> 13867 1.1 christos 13868 1.1 christos * source-cache.h (class source_cache) <get_source_lines>: Return 13869 1.1 christos std::string. 13870 1.1 christos * source-cache.c (source_cache::extract_lines): Handle case where 13871 1.1 christos first_pos==npos. Return std::string. 13872 1.1 christos (source_cache::get_source_lines): Update. 13873 1.1 christos 13874 1.1 christos 2019-03-14 Tom Tromey <tromey (a] adacore.com> 13875 1.1 christos 13876 1.1 christos * NEWS: Add item for "style sources" commands. 13877 1.1 christos * source-cache.c (source_cache::get_source_lines): Check 13878 1.1 christos source_styling. 13879 1.1 christos * cli/cli-style.c (source_styling): New global. 13880 1.1 christos (_initialize_cli_style): Add "style sources" commands. 13881 1.1 christos (show_style_sources): New function. 13882 1.1 christos * cli/cli-style.h (source_styling): Declare. 13883 1.1 christos 13884 1.1 christos 2019-03-14 Pedro Alves <palves (a] redhat.com> 13885 1.1 christos Tom Tromey <tromey (a] adacore.com> 13886 1.1 christos 13887 1.1 christos * tui/tui-winsource.h (tui_refill_source_window): Declare. 13888 1.1 christos * tui/tui-winsource.c (tui_refill_source_window): New function, 13889 1.1 christos from... 13890 1.1 christos (tui_horizontal_source_scroll): ... here. Move some logic. 13891 1.1 christos * cli/cli-style.c (set_style_enabled): Notify new observable. 13892 1.1 christos * tui/tui-hooks.c (tui_redisplay_source): New function. 13893 1.1 christos (tui_attach_detach_observers): Attach or detach 13894 1.1 christos tui_redisplay_source. 13895 1.1 christos * observable.h (source_styling_changed): New observable. 13896 1.1 christos * observable.c: Define source_styling_changed observable. 13897 1.1 christos 13898 1.1 christos 2019-03-13 Tom Tromey <tromey (a] adacore.com> 13899 1.1 christos 13900 1.1 christos * i386-gnu-nat.c (i386_gnu_nat_target::fetch_registers) 13901 1.1 christos (i386_gnu_nat_target::store_registers): Update. 13902 1.1 christos * target-debug.h (target_debug_print_std_string): New macro. 13903 1.1 christos * x86-linux-nat.c (x86_linux_nat_target::enable_btrace): Update. 13904 1.1 christos * windows-tdep.c (display_one_tib): Update. 13905 1.1 christos * tui/tui-stack.c (tui_make_status_line): Update. 13906 1.1 christos * top.c (print_inferior_quit_action): Update. 13907 1.1 christos * thread.c (thr_try_catch_cmd): Update. 13908 1.1 christos (add_thread_with_info): Update. 13909 1.1 christos (thread_target_id_str): Update. 13910 1.1 christos (thr_try_catch_cmd): Update. 13911 1.1 christos (thread_command): Update. 13912 1.1 christos (thread_find_command): Update. 13913 1.1 christos * record-btrace.c (record_btrace_target::info_record) 13914 1.1 christos (record_btrace_resume_thread, record_btrace_target::resume) 13915 1.1 christos (record_btrace_cancel_resume, record_btrace_step_thread) 13916 1.1 christos (record_btrace_target::wait, record_btrace_target::wait) 13917 1.1 christos (record_btrace_target::wait, record_btrace_target::stop): Update. 13918 1.1 christos * progspace.c (print_program_space): Update. 13919 1.1 christos * process-stratum-target.c 13920 1.1 christos (process_stratum_target::thread_address_space): Update. 13921 1.1 christos * linux-fork.c (linux_fork_mourn_inferior) 13922 1.1 christos (detach_checkpoint_command, info_checkpoints_command) 13923 1.1 christos (linux_fork_context): Update. 13924 1.1 christos (linux_fork_detach): Update. 13925 1.1 christos (class scoped_switch_fork_info): Update. 13926 1.1 christos (delete_checkpoint_command): Update. 13927 1.1 christos * infrun.c (follow_fork_inferior): Update. 13928 1.1 christos (follow_fork_inferior): Update. 13929 1.1 christos (proceed_after_vfork_done): Update. 13930 1.1 christos (handle_vfork_child_exec_or_exit): Update. 13931 1.1 christos (follow_exec): Update. 13932 1.1 christos (displaced_step_prepare_throw): Update. 13933 1.1 christos (displaced_step_restore): Update. 13934 1.1 christos (start_step_over): Update. 13935 1.1 christos (resume_1): Update. 13936 1.1 christos (clear_proceed_status_thread): Update. 13937 1.1 christos (proceed): Update. 13938 1.1 christos (print_target_wait_results): Update. 13939 1.1 christos (do_target_wait): Update. 13940 1.1 christos (context_switch): Update. 13941 1.1 christos (stop_all_threads): Update. 13942 1.1 christos (restart_threads): Update. 13943 1.1 christos (finish_step_over): Update. 13944 1.1 christos (handle_signal_stop): Update. 13945 1.1 christos (switch_back_to_stepped_thread): Update. 13946 1.1 christos (keep_going_pass_signal): Update. 13947 1.1 christos (print_exited_reason): Update. 13948 1.1 christos (normal_stop): Update. 13949 1.1 christos * inferior.c (inferior_pid_to_str): Change return type. 13950 1.1 christos (print_selected_inferior): Update. 13951 1.1 christos (add_inferior): Update. 13952 1.1 christos (detach_inferior): Update. 13953 1.1 christos * dummy-frame.c (fprint_dummy_frames): Update. 13954 1.1 christos * dcache.c (dcache_info_1): Update. 13955 1.1 christos * btrace.c (btrace_enable, btrace_disable, btrace_teardown) 13956 1.1 christos (btrace_fetch, btrace_clear): Update. 13957 1.1 christos * linux-tdep.c (linux_core_pid_to_str): Change return type. 13958 1.1 christos * i386-cygwin-tdep.c (i386_windows_core_pid_to_str): Change return 13959 1.1 christos type. 13960 1.1 christos * fbsd-tdep.c (fbsd_core_pid_to_str): Change return type. 13961 1.1 christos * sol2-tdep.h (sol2_core_pid_to_str): Change return type. 13962 1.1 christos * sol2-tdep.c (sol2_core_pid_to_str): Change return type. 13963 1.1 christos * gdbarch.c, gdbarch.h: Rebuild. 13964 1.1 christos * gdbarch.sh (core_pid_to_str): Change return type. 13965 1.1 christos * windows-nat.c (struct windows_nat_target) <pid_to_str>: Change 13966 1.1 christos return type. 13967 1.1 christos (windows_nat_target::pid_to_str): Change return type. 13968 1.1 christos (windows_delete_thread): Update. 13969 1.1 christos (windows_nat_target::attach): Update. 13970 1.1 christos (windows_nat_target::files_info): Update. 13971 1.1 christos * target-delegates.c: Rebuild. 13972 1.1 christos * sol-thread.c (class sol_thread_target) <pid_to_str>: Change 13973 1.1 christos return type. 13974 1.1 christos (sol_thread_target::pid_to_str): Change return type. 13975 1.1 christos * remote.c (class remote_target) <pid_to_str>: Change return 13976 1.1 christos type. 13977 1.1 christos (remote_target::pid_to_str): Change return type. 13978 1.1 christos (extended_remote_target::attach, remote_target::remote_stop_ns) 13979 1.1 christos (remote_target::remote_notif_remove_queued_reply) 13980 1.1 christos (remote_target::push_stop_reply, remote_target::disable_btrace): 13981 1.1 christos Update. 13982 1.1 christos (extended_remote_target::attach): Update. 13983 1.1 christos * remote-sim.c (struct gdbsim_target) <pid_to_str>: Change return 13984 1.1 christos type. 13985 1.1 christos (gdbsim_target::pid_to_str): Change return type. 13986 1.1 christos * ravenscar-thread.c (struct ravenscar_thread_target) 13987 1.1 christos <pid_to_str>: Change return type. 13988 1.1 christos (ravenscar_thread_target::pid_to_str): Change return type. 13989 1.1 christos * procfs.c (class procfs_target) <pid_to_str>: Change return 13990 1.1 christos type. 13991 1.1 christos (procfs_target::pid_to_str): Change return type. 13992 1.1 christos (procfs_target::attach): Update. 13993 1.1 christos (procfs_target::detach): Update. 13994 1.1 christos (procfs_target::fetch_registers): Update. 13995 1.1 christos (procfs_target::store_registers): Update. 13996 1.1 christos (procfs_target::wait): Update. 13997 1.1 christos (procfs_target::files_info): Update. 13998 1.1 christos * obsd-nat.c (obsd_nat_target::pid_to_str): Change return type. 13999 1.1 christos * nto-procfs.c (struct nto_procfs_target) <pid_to_str>: Change 14000 1.1 christos return type. 14001 1.1 christos (nto_procfs_target::pid_to_str): Change return type. 14002 1.1 christos (nto_procfs_target::files_info, nto_procfs_target::attach): Update. 14003 1.1 christos * linux-thread-db.c (class thread_db_target) <pid_to_str>: Change 14004 1.1 christos return type. 14005 1.1 christos * linux-nat.c (linux_nat_target::pid_to_str): Change return type. 14006 1.1 christos (exit_lwp): Update. 14007 1.1 christos (attach_proc_task_lwp_callback, get_detach_signal) 14008 1.1 christos (detach_one_lwp, resume_lwp, linux_nat_target::resume) 14009 1.1 christos (linux_nat_target::resume, wait_lwp, stop_callback) 14010 1.1 christos (maybe_clear_ignore_sigint, stop_wait_callback, status_callback) 14011 1.1 christos (save_stop_reason, select_event_lwp, linux_nat_filter_event) 14012 1.1 christos (linux_nat_wait_1, resume_stopped_resumed_lwps) 14013 1.1 christos (linux_nat_target::wait, linux_nat_stop_lwp): Update. 14014 1.1 christos * inf-ptrace.c (inf_ptrace_target::pid_to_str): Change return 14015 1.1 christos type. 14016 1.1 christos (inf_ptrace_target::attach): Update. 14017 1.1 christos (inf_ptrace_target::files_info): Update. 14018 1.1 christos * go32-nat.c (struct go32_nat_target) <pid_to_str>: Change return 14019 1.1 christos type. 14020 1.1 christos (go32_nat_target::pid_to_str): Change return type. 14021 1.1 christos * gnu-nat.c (gnu_nat_target::pid_to_str): Change return type. 14022 1.1 christos (gnu_nat_target::wait): Update. 14023 1.1 christos (gnu_nat_target::wait): Update. 14024 1.1 christos (gnu_nat_target::resume): Update. 14025 1.1 christos * fbsd-nat.c (fbsd_nat_target::pid_to_str): Change return type. 14026 1.1 christos (fbsd_nat_target::wait): Update. 14027 1.1 christos * darwin-nat.c (darwin_nat_target::pid_to_str): Change return 14028 1.1 christos type. 14029 1.1 christos (darwin_nat_target::attach): Update. 14030 1.1 christos * corelow.c (class core_target) <pid_to_str>: Change return type. 14031 1.1 christos (core_target::pid_to_str): Change return type. 14032 1.1 christos * target.c (normal_pid_to_str): Change return type. 14033 1.1 christos (default_pid_to_str): Likewise. 14034 1.1 christos (target_pid_to_str): Change return type. 14035 1.1 christos (target_translate_tls_address): Update. 14036 1.1 christos (target_announce_detach): Update. 14037 1.1 christos * bsd-uthread.c (struct bsd_uthread_target) <pid_to_str>: Change 14038 1.1 christos return type. 14039 1.1 christos (bsd_uthread_target::pid_to_str): Change return type. 14040 1.1 christos * bsd-kvm.c (class bsd_kvm_target) <pid_to_str>: Change return 14041 1.1 christos type. 14042 1.1 christos (bsd_kvm_target::pid_to_str): Change return type. 14043 1.1 christos * aix-thread.c (class aix_thread_target) <pid_to_str>: Change 14044 1.1 christos return type. 14045 1.1 christos (aix_thread_target::pid_to_str): Change return type. 14046 1.1 christos * target.h (struct target_ops) <pid_to_str>: Change return type. 14047 1.1 christos (target_pid_to_str, normal_pid_to_str): Likewise. 14048 1.1 christos * obsd-nat.h (class obsd_nat_target) <pid_to_str>: Change return 14049 1.1 christos type. 14050 1.1 christos * linux-nat.h (class linux_nat_target) <pid_to_str>: Change return 14051 1.1 christos type. 14052 1.1 christos * inf-ptrace.h (struct inf_ptrace_target) <pid_to_str>: Change 14053 1.1 christos return type. 14054 1.1 christos * gnu-nat.h (struct gnu_nat_target) <pid_to_str>: Change return 14055 1.1 christos type. 14056 1.1 christos * fbsd-nat.h (class fbsd_nat_target) <pid_to_str>: Change return 14057 1.1 christos type. 14058 1.1 christos * darwin-nat.h (class darwin_nat_target) <pid_to_str>: Change 14059 1.1 christos return type. 14060 1.1 christos 14061 1.1 christos 2019-03-13 Simon Marchi <simon.marchi (a] ericsson.com> 14062 1.1 christos 14063 1.1 christos * NEWS: Mention that the new default MI version is 3. Mention 14064 1.1 christos changes to the output of commands and events that deal with 14065 1.1 christos multi-location breakpoints. 14066 1.1 christos * breakpoint.c: Include "mi/mi-out.h". 14067 1.1 christos (print_one_breakpoint): Change output syntax if using MI version 14068 1.1 christos >= 3. 14069 1.1 christos * mi/mi-main.h (mi_cmd_fix_multi_location_breakpoint_output): 14070 1.1 christos New. 14071 1.1 christos (mi_multi_location_breakpoint_output_fixed): New. 14072 1.1 christos * mi/mi-main.c (fix_multi_location_breakpoint_output): New. 14073 1.1 christos (mi_cmd_fix_multi_location_breakpoint_output): New. 14074 1.1 christos (mi_multi_location_breakpoint_output_fixed): New. 14075 1.1 christos * mi/mi-cmds.c (mi_cmds): Register command 14076 1.1 christos -fix-multi-location-breakpoint-output. 14077 1.1 christos * mi/mi-out.c (mi_out_new): Instantiate version 3 when using 14078 1.1 christos interpreter "mi". 14079 1.1 christos 14080 1.1 christos 2019-03-13 Simon Marchi <simon.marchi (a] polymtl.ca> 14081 1.1 christos 14082 1.1 christos * mi/mi-out.h (mi_out_new): Change parameter to const char *. 14083 1.1 christos * mi/mi-out.c (mi_out_new): Change parameter to const char *, 14084 1.1 christos instantiate mi_ui_out based on interpreter name. 14085 1.1 christos * mi/mi-interp.c (mi_interp::init): Use the new mi_out_new. 14086 1.1 christos * mi/mi-main.c (mi_load_progress): Likewise. 14087 1.1 christos 14088 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14089 1.1 christos 14090 1.1 christos * NEWS: Combine separate "New targets" sections for 8.3. 14091 1.1 christos 14092 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14093 1.1 christos 14094 1.1 christos * ppc-fbsd-tdep.c (ppcfbsd_get_thread_local_address): New. 14095 1.1 christos (ppcfbsd_init_abi): Install gdbarch 14096 1.1 christos "fetch_tls_load_module_address" and "get_thread_local_address" 14097 1.1 christos methods. 14098 1.1 christos 14099 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14100 1.1 christos 14101 1.1 christos * riscv-fbsd-tdep.c (riscv_fbsd_get_thread_local_address): New. 14102 1.1 christos (riscv_fbsd_init_abi): Install gdbarch 14103 1.1 christos "fetch_tls_load_module_address" and "get_thread_local_address" 14104 1.1 christos methods. 14105 1.1 christos 14106 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14107 1.1 christos 14108 1.1 christos * i386-fbsd-tdep.c (i386fbsd_get_thread_local_address): New. 14109 1.1 christos (i386fbsd_init_abi): Install gdbarch 14110 1.1 christos "fetch_tls_load_module_address" and "get_thread_local_address" 14111 1.1 christos methods. 14112 1.1 christos 14113 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14114 1.1 christos 14115 1.1 christos * amd64-fbsd-tdep.c (amd64fbsd_get_thread_local_address): New. 14116 1.1 christos (amd64fbsd_init_abi): Install gdbarch 14117 1.1 christos "fetch_tls_load_module_address" and "get_thread_local_address" 14118 1.1 christos methods. 14119 1.1 christos 14120 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14121 1.1 christos 14122 1.1 christos * fbsd-tdep.c (fbsd_pspace_data_handle): New variable. 14123 1.1 christos (struct fbsd_pspace_data): New type. 14124 1.1 christos (get_fbsd_pspace_data, fbsd_pspace_data_cleanup) 14125 1.1 christos (fbsd_read_integer_by_name, fbsd_fetch_rtld_offsets) 14126 1.1 christos (fbsd_get_tls_index, fbsd_get_thread_local_address): New function. 14127 1.1 christos (_initialize_fbsd_tdep): Initialize 'fbsd_pspace_data_handle'. 14128 1.1 christos * fbsd-tdep.c (fbsd_get_thread_local_address): New prototype. 14129 1.1 christos 14130 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14131 1.1 christos 14132 1.1 christos * gdbtypes.c (lookup_struct_elt): New function. 14133 1.1 christos (lookup_struct_elt_type): Reimplement via lookup_struct_elt. 14134 1.1 christos * gdbtypes.h (struct struct_elt): New type. 14135 1.1 christos (lookup_struct_elt): New prototype. 14136 1.1 christos 14137 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14138 1.1 christos 14139 1.1 christos * gdbtypes.c (lookup_struct_elt_type): Update comment and 14140 1.1 christos remove disabled code block. 14141 1.1 christos 14142 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14143 1.1 christos 14144 1.1 christos * gdbarch.sh (get_thread_local_address): New method. 14145 1.1 christos * gdbarch.h, gdbarch.c: Regenerate. 14146 1.1 christos * target.c (target_translate_tls_address): Use 14147 1.1 christos gdbarch_get_thread_local_address if present instead of 14148 1.1 christos target::get_thread_local_address. 14149 1.1 christos 14150 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14151 1.1 christos 14152 1.1 christos * target.h (target::get_thread_local_address): Update comment. 14153 1.1 christos 14154 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14155 1.1 christos 14156 1.1 christos * solib-svr4.c (svr4_fetch_objfile_link_map): Look for 14157 1.1 christos objfile->separate_debug_objfile_backlink if not NULL. 14158 1.1 christos 14159 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14160 1.1 christos 14161 1.1 christos * amd64-bsd-nat.c (amd64bsd_fetch_inferior_registers): Use 14162 1.1 christos tdep->fsbase_regnum instead of constants for fs_base and gs_base. 14163 1.1 christos (amd64bsd_store_inferior_registers): Likewise. 14164 1.1 christos * amd64-fbsd-nat.c (amd64_fbsd_nat_target::read_description): 14165 1.1 christos Enable segment base registers. 14166 1.1 christos * i386-bsd-nat.c (i386bsd_fetch_inferior_registers): Use 14167 1.1 christos PT_GETFSBASE and PT_GETGSBASE. 14168 1.1 christos (i386bsd_store_inferior_registers): Use PT_SETFSBASE and 14169 1.1 christos PT_SETGSBASE. 14170 1.1 christos * i386-fbsd-nat.c (i386_fbsd_nat_target::read_description): Enable 14171 1.1 christos segment base registers. 14172 1.1 christos * i386-fbsd-tdep.c (i386fbsd_core_read_description): Likewise. 14173 1.1 christos 14174 1.1 christos 2019-03-12 John Baldwin <jhb (a] FreeBSD.org> 14175 1.1 christos 14176 1.1 christos * amd64-fbsd-nat.c (amd64_fbsd_nat_target::read_description): 14177 1.1 christos Update calls to i386_target_description to add 'segments' 14178 1.1 christos parameter. 14179 1.1 christos * amd64-tdep.c (amd64_init_abi): Set tdep->fsbase_regnum. Don't 14180 1.1 christos add segment base registers. 14181 1.1 christos * arch/i386.c (i386_create_target_description): Add 'segments' 14182 1.1 christos parameter to enable segment base registers. 14183 1.1 christos * arch/i386.h (i386_create_target_description): Likewise. 14184 1.1 christos * features/i386/32bit-segments.xml: New file. 14185 1.1 christos * features/i386/32bit-segments.c: Generate. 14186 1.1 christos * i386-fbsd-nat.c (i386_fbsd_nat_target::read_description): Update 14187 1.1 christos call to i386_target_description to add 'segments' parameter. 14188 1.1 christos * i386-fbsd-tdep.c (i386fbsd_core_read_description): Likewise. 14189 1.1 christos * i386-go32-tdep.c (i386_go32_init_abi): Likewise. 14190 1.1 christos * i386-linux-tdep.c (i386_linux_read_description): Likewise. 14191 1.1 christos * i386-tdep.c (i386_validate_tdesc_p): Add segment base registers 14192 1.1 christos if feature is present. 14193 1.1 christos (i386_gdbarch_init): Pass I386_NUM_REGS to set_gdbarch_num_regs. 14194 1.1 christos Add 'segments' parameter to call to i386_target_description. 14195 1.1 christos (i386_target_description): Add 'segments' parameter to enable 14196 1.1 christos segment base registers. 14197 1.1 christos (_initialize_i386_tdep) [GDB_SELF_TEST]: Add 'segments' parameter 14198 1.1 christos to call to i386_target_description. 14199 1.1 christos * i386-tdep.h (struct gdbarch_tdep): Add 'fsbase_regnum'. 14200 1.1 christos (enum i386_regnum): Add I386_FSBASE_REGNUM and I386_GSBASE_REGNUM. 14201 1.1 christos Define I386_NUM_REGS. 14202 1.1 christos (i386_target_description): Add 'segments' parameter to enable 14203 1.1 christos segment base registers. 14204 1.1 christos 14205 1.1 christos 2019-03-12 Eli Zaretskii <eliz (a] gnu.org> 14206 1.1 christos 14207 1.1 christos PR/24325 14208 1.1 christos * source-cache.c: #undef open and close, to avoid unresolved 14209 1.1 christos externals during linking. 14210 1.1 christos 14211 1.1 christos 2019-03-12 Tom Tromey <tromey (a] adacore.com> 14212 1.1 christos 14213 1.1 christos * remote.c (magic_null_ptid, not_sent_ptid, any_thread_ptid): Now 14214 1.1 christos const. Add initializers. 14215 1.1 christos (_initialize_remote): Don't initialize ptid globals. 14216 1.1 christos 14217 1.1 christos 2019-03-12 Pedro Alves <palves (a] redhat.com> 14218 1.1 christos 14219 1.1 christos * yy-remap.h [TEST_CPNAMES] (YYFPRINTF): Don't define. 14220 1.1 christos 14221 1.1 christos 2019-03-12 Pedro Alves <palves (a] redhat.com> 14222 1.1 christos 14223 1.1 christos * cp-name-parser.y (main): Remove unused 'len' variable. 14224 1.1 christos 14225 1.1 christos 2019-03-12 Tom Tromey <tromey (a] adacore.com> 14226 1.1 christos 14227 1.1 christos * common/ptid.c (null_ptid, minus_one_ptid): Now const. 14228 1.1 christos * common/ptid.h (null_ptid, minus_one_ptid): Now const. 14229 1.1 christos 14230 1.1 christos 2019-03-12 Tom Tromey <tromey (a] adacore.com> 14231 1.1 christos 14232 1.1 christos * linux-nat.c (iterate_over_lwps): Update. 14233 1.1 christos (stop_callback): Remove parameter. 14234 1.1 christos (stop_wait_callback, detach_callback, resume_set_callback) 14235 1.1 christos (select_singlestep_lwp_callback, set_ignore_sigint) 14236 1.1 christos (status_callback, resumed_callback, resume_clear_callback) 14237 1.1 christos (kill_callback, kill_wait_callback, linux_nat_stop_lwp): Remove 14238 1.1 christos data parameter. 14239 1.1 christos (linux_nat_target::detach, linux_nat_target::resume) 14240 1.1 christos (linux_stop_and_wait_all_lwps, select_event_lwp) 14241 1.1 christos (linux_nat_filter_event, linux_nat_wait_1) 14242 1.1 christos (linux_nat_target::kill, linux_nat_target::stop) 14243 1.1 christos (linux_nat_target::stop): Update. 14244 1.1 christos (linux_nat_resume_callback): Change type. 14245 1.1 christos (resume_stopped_resumed_lwps, count_events_callback) 14246 1.1 christos (select_event_lwp_callback): Likewise. 14247 1.1 christos (linux_stop_lwp, linux_nat_stop_lwp): Update. 14248 1.1 christos * arm-linux-nat.c (struct update_registers_data): Remove. 14249 1.1 christos (update_registers_callback): Change type. 14250 1.1 christos (arm_linux_insert_hw_breakpoint1): Update. 14251 1.1 christos * nat/x86-linux-dregs.c (update_debug_registers_callback): Remove 14252 1.1 christos parameter. 14253 1.1 christos (x86_linux_dr_set_addr): Update. 14254 1.1 christos (x86_linux_dr_set_control): Update. 14255 1.1 christos * nat/linux-nat.h (iterate_over_lwps_ftype): Remove parameter. 14256 1.1 christos (iterate_over_lwps): Use gdb::function_view. 14257 1.1 christos * nat/aarch64-linux-hw-point.c (struct 14258 1.1 christos aarch64_dr_update_callback_param): Remove. 14259 1.1 christos (debug_reg_change_callback): Change type. 14260 1.1 christos (aarch64_notify_debug_reg_change): Update. 14261 1.1 christos * s390-linux-nat.c (s390_refresh_per_info): Update. 14262 1.1 christos 14263 1.1 christos 2019-03-11 Tom Tromey <tromey (a] adacore.com> 14264 1.1 christos 14265 1.1 christos * dwarf2read.c (dwarf2_find_containing_comp_unit): Remove 14266 1.1 christos redundant assignment to "this_cu". 14267 1.1 christos 14268 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14269 1.1 christos 14270 1.1 christos * gdbtypes.c (rank_one_type): Remove unnecessary cases from switch. 14271 1.1 christos 14272 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14273 1.1 christos 14274 1.1 christos * gdbtypes.c (rank_one_type_parm_set): New function extracted 14275 1.1 christos from... 14276 1.1 christos (rank_one_type): ... this. 14277 1.1 christos 14278 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14279 1.1 christos 14280 1.1 christos * gdbtypes.c (rank_one_type_parm_struct): New function extracted 14281 1.1 christos from... 14282 1.1 christos (rank_one_type): ... this. 14283 1.1 christos 14284 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14285 1.1 christos 14286 1.1 christos * gdbtypes.c (rank_one_type_parm_complex): New function extracted 14287 1.1 christos from... 14288 1.1 christos (rank_one_type): ... this. 14289 1.1 christos 14290 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14291 1.1 christos 14292 1.1 christos * gdbtypes.c (rank_one_type_parm_float): New function extracted 14293 1.1 christos from... 14294 1.1 christos (rank_one_type): ... this. 14295 1.1 christos 14296 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14297 1.1 christos 14298 1.1 christos * gdbtypes.c (rank_one_type_parm_bool): New function extracted 14299 1.1 christos from... 14300 1.1 christos (rank_one_type): ... this. 14301 1.1 christos 14302 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14303 1.1 christos 14304 1.1 christos * gdbtypes.c (rank_one_type_parm_range): New function extracted 14305 1.1 christos from... 14306 1.1 christos (rank_one_type): ... this. 14307 1.1 christos 14308 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14309 1.1 christos 14310 1.1 christos * gdbtypes.c (rank_one_type_parm_char): New function extracted 14311 1.1 christos from... 14312 1.1 christos (rank_one_type): ... this. 14313 1.1 christos 14314 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14315 1.1 christos 14316 1.1 christos * gdbtypes.c (rank_one_type_parm_enum): New function extracted 14317 1.1 christos from... 14318 1.1 christos (rank_one_type): ... this. 14319 1.1 christos 14320 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14321 1.1 christos 14322 1.1 christos * gdbtypes.c (rank_one_type_parm_int): New function extracted 14323 1.1 christos from... 14324 1.1 christos (rank_one_type): ... this. 14325 1.1 christos 14326 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14327 1.1 christos 14328 1.1 christos * gdbtypes.c (rank_one_type_parm_func): New function extracted 14329 1.1 christos from... 14330 1.1 christos (rank_one_type): ... this. 14331 1.1 christos 14332 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14333 1.1 christos 14334 1.1 christos * gdbtypes.c (rank_one_type_parm_array): New function extracted 14335 1.1 christos from... 14336 1.1 christos (rank_one_type): ... this. 14337 1.1 christos 14338 1.1 christos 2019-03-08 Simon Marchi <simon.marchi (a] efficios.com> 14339 1.1 christos 14340 1.1 christos * gdbtypes.c (rank_one_type_parm_ptr): New function extracted 14341 1.1 christos from... 14342 1.1 christos (rank_one_type): ... this. 14343 1.1 christos 14344 1.1 christos 2019-02-27 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 14345 1.1 christos 14346 1.1 christos * inferior.c (initialize_inferiors): Ensure 'help set/show print 14347 1.1 christos inferior-events' shows the example events. 14348 1.1 christos 14349 1.1 christos 2019-03-08 Eli Zaretskii <eliz (a] gnu.org> 14350 1.1 christos 14351 1.1 christos Support styling on native MS-Windows console 14352 1.1 christos 14353 1.1 christos PR/24315 14354 1.1 christos * utils.c (can_emit_style_escape) [_WIN32]: Don't disable styling 14355 1.1 christos on MS-Windows if $TERM is not defined. 14356 1.1 christos 14357 1.1 christos * cli/cli-style.c: Set cli_styling to 1 in the MinGW build. 14358 1.1 christos 14359 1.1 christos * posix-hdep.c (gdb_console_fputs): 14360 1.1 christos * mingw-hdep.c (rgb_to_16colors, gdb_console_fputs): New 14361 1.1 christos functions. 14362 1.1 christos * ui-file.h (gdb_console_fputs): Add prototype. 14363 1.1 christos 14364 1.1 christos * ui-file.c (stdio_file::puts): Call gdb_console_fputs, and fall 14365 1.1 christos back to fputs only if the former returns zero. 14366 1.1 christos 14367 1.1 christos 2019-03-07 Tom Tromey <tom (a] tromey.com> 14368 1.1 christos 14369 1.1 christos * symmisc.c (print_symbol_bcache_statistics): Update. 14370 1.1 christos (print_objfile_statistics): Update. 14371 1.1 christos * symfile.c (allocate_symtab): Update. 14372 1.1 christos * stabsread.c: Don't include bcache.h. 14373 1.1 christos * psymtab.h (struct psymbol_bcache): Don't declare. 14374 1.1 christos (class psymtab_storage) <psymbol_cache>: Now a bcache. 14375 1.1 christos (psymbol_bcache_init, psymbol_bcache_free) 14376 1.1 christos (psymbol_bcache_get_bcache): Don't declare. 14377 1.1 christos * psymtab.c (struct psymbol_bcache): Remove. 14378 1.1 christos (psymtab_storage::psymtab_storage): Update. 14379 1.1 christos (psymtab_storage::~psymtab_storage): Update. 14380 1.1 christos (psymbol_bcache_init, psymbol_bcache_free) 14381 1.1 christos (psymbol_bcache_get_bcache, psymbol_bcache_full): Remove. 14382 1.1 christos (add_psymbol_to_bcache): Update. 14383 1.1 christos (allocate_psymtab): Update. 14384 1.1 christos * objfiles.h (struct objfile_per_bfd_storage) <filename_cache, 14385 1.1 christos macro_cache>: No longer pointers. 14386 1.1 christos * objfiles.c (get_objfile_bfd_data): Don't call bcache_xmalloc. 14387 1.1 christos (free_objfile_per_bfd_storage): Don't call bcache_xfree. 14388 1.1 christos * macrotab.c (macro_bcache): Update. 14389 1.1 christos * macroexp.c: Don't include bcache.h. 14390 1.1 christos * gdbtypes.c (check_types_worklist): Update. 14391 1.1 christos (types_deeply_equal): Remove TRY/CATCH. Update. 14392 1.1 christos * elfread.c (elf_symtab_read): Update. 14393 1.1 christos * dwarf2read.c: Don't include bcache.h. 14394 1.1 christos * buildsym.c (buildsym_compunit::get_macro_table): Update. 14395 1.1 christos * bcache.h (bcache, bcache_full, bcache_xffree, bcache_xmalloc) 14396 1.1 christos (print_bcache_statistics, bcache_memory_used): Don't declare. 14397 1.1 christos (struct bcache): Move from bcache.c. Add constructor, destructor, 14398 1.1 christos methods. Rename all data members. 14399 1.1 christos * bcache.c (struct bcache): Move to bcache.h. 14400 1.1 christos (bcache::expand_hash_table): Rename from expand_hash_table. 14401 1.1 christos (bcache): Remove. 14402 1.1 christos (bcache::insert): Rename from bcache_full. 14403 1.1 christos (bcache::compare): Rename from bcache_compare. 14404 1.1 christos (bcache_xmalloc): Remove. 14405 1.1 christos (bcache::~bcache): Rename from bcache_xfree. 14406 1.1 christos (bcache::print_statistics): Rename from print_bcache_statistics. 14407 1.1 christos (bcache::memory_used): Rename from bcache_memory_used. 14408 1.1 christos 14409 1.1 christos 2019-03-07 Pedro Alves <palves (a] redhat.com> 14410 1.1 christos 14411 1.1 christos * infrun.c (normal_stop): Also check for 14412 1.1 christos TARGET_WAITKIND_NO_RESUMED before referring to inferior_thread(). 14413 1.1 christos 14414 1.1 christos 2019-03-07 Andrew Burgess <andrew.burgess (a] embecosm.com> 14415 1.1 christos 14416 1.1 christos * f-lang.c (value_from_host_double): Moved to... 14417 1.1 christos * value.c (value_from_host_double): ...here. 14418 1.1 christos * value.h (value_from_host_double): Declare. 14419 1.1 christos * guile/scm-math.c (vlscm_convert_typed_number): Use 14420 1.1 christos value_from_host_double. 14421 1.1 christos (vlscm_convert_number): Likewise. 14422 1.1 christos * guile/scm-value.c (gdbscm_value_to_real): Likewise. 14423 1.1 christos * python/py-value.c (convert_value_from_python): Likewise. 14424 1.1 christos 14425 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14426 1.1 christos 14427 1.1 christos * gcore.c (write_gcore_file): Use SCOPE_EXIT. 14428 1.1 christos 14429 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14430 1.1 christos 14431 1.1 christos * utils.h (free_current_contents): Don't declare. 14432 1.1 christos * utils.c (free_current_contents): Remove. 14433 1.1 christos 14434 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14435 1.1 christos 14436 1.1 christos * top.c (quit_force): Update. 14437 1.1 christos * main.c (captured_command_loop): Update. 14438 1.1 christos * common/new-op.c (operator new): Update. 14439 1.1 christos * common/common-exceptions.c (struct catcher) 14440 1.1 christos <save_cleanup_chain>: Remove member. 14441 1.1 christos (exceptions_state_mc_init): Update. 14442 1.1 christos (exception_try_scope_entry): Return nullptr. 14443 1.1 christos (exception_try_scope_exit, exception_rethrow) 14444 1.1 christos (throw_exception_sjlj, throw_exception_cxx): Update. 14445 1.1 christos * common/cleanups.h (make_cleanup, make_cleanup_dtor) 14446 1.1 christos (all_cleanups, do_cleanups, discard_cleanups) 14447 1.1 christos (discard_final_cleanups, save_cleanups, save_final_cleanups) 14448 1.1 christos (restore_cleanups, restore_final_cleanups): Don't declare. 14449 1.1 christos (do_final_cleanups): Remove parameter. 14450 1.1 christos * common/cleanups.c (cleanup_chain, make_cleanup) 14451 1.1 christos (make_cleanup_dtor, all_cleanups, do_cleanups) 14452 1.1 christos (discard_my_cleanups, discard_cleanups) 14453 1.1 christos (discard_final_cleanups, save_my_cleanups, save_cleanups) 14454 1.1 christos (save_final_cleanups, restore_my_cleanups, restore_cleanups) 14455 1.1 christos (null_cleanup): Remove. 14456 1.1 christos (do_final_cleanups): Remove parameter. 14457 1.1 christos 14458 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14459 1.1 christos 14460 1.1 christos * remote.c (remote_target::remote_parse_stop_reply): Use 14461 1.1 christos unique_xmalloc_ptr. 14462 1.1 christos 14463 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14464 1.1 christos 14465 1.1 christos * stabsread.c (struct stabs_field_info): Rename from field_info. 14466 1.1 christos <list, fnlist>: Add initializers. 14467 1.1 christos <obstack>: New member. 14468 1.1 christos (read_member_functions, read_struct_fields, read_baseclasses): 14469 1.1 christos Allocate on obstack. Don't use cleanups. 14470 1.1 christos (read_one_struct_field, read_member_functions, read_struct_fields) 14471 1.1 christos (read_baseclasses, read_tilde_fields, attach_fn_fields_to_type) 14472 1.1 christos (attach_fields_to_type, read_cpp_abbrev, read_member_functions) 14473 1.1 christos (read_struct_type): Update. 14474 1.1 christos 14475 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14476 1.1 christos 14477 1.1 christos * nat/linux-namespaces.c (linux_mntns_access_fs): Use SCOPE_EXIT. 14478 1.1 christos * common/filestuff.h (make_cleanup_close): Don't declare. 14479 1.1 christos * common/filestuff.c (do_close_cleanup, make_cleanup_close): 14480 1.1 christos Remove. 14481 1.1 christos 14482 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14483 1.1 christos 14484 1.1 christos * solib-aix.c: Use make_scope_exit. 14485 1.1 christos 14486 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14487 1.1 christos 14488 1.1 christos * solib-svr4.c (svr4_parse_libraries, svr4_current_sos_direct): 14489 1.1 christos Use make_scope_exit. 14490 1.1 christos 14491 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14492 1.1 christos 14493 1.1 christos * solib-svr4.c (disable_probes_interface): Remove parameter. 14494 1.1 christos (svr4_handle_solib_event): Use make_scope_exit. 14495 1.1 christos 14496 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14497 1.1 christos 14498 1.1 christos * remote.c (struct stop_reply_deleter): Remove. 14499 1.1 christos (stop_reply_up): Update. 14500 1.1 christos (struct stop_reply): Derive from notif_event. Don't typedef. 14501 1.1 christos <regcache>: Now a std::vector. 14502 1.1 christos (stop_reply_xfree): Remove. 14503 1.1 christos (stop_reply::~stop_reply): Rename from stop_reply_dtr. 14504 1.1 christos (remote_notif_stop_alloc_reply): Return a unique_ptr. Use new. 14505 1.1 christos (remote_target::discard_pending_stop_replies): Use delete. 14506 1.1 christos (remote_target::remote_parse_stop_reply): Update. 14507 1.1 christos (remote_target::process_stop_reply): Update. 14508 1.1 christos * remote-notif.h (struct notif_event): Add virtual destructor. 14509 1.1 christos Remove "dtr" member. 14510 1.1 christos (struct notif_client) <alloc_event>: Return a unique_ptr. 14511 1.1 christos (notif_event_xfree): Don't declare. 14512 1.1 christos (notif_event_up): New typedef. 14513 1.1 christos * remote-notif.c (remote_notif_ack, remote_notif_parse): Update. 14514 1.1 christos (notif_event_xfree, do_notif_event_xfree): Remove. 14515 1.1 christos (remote_notif_state_xfree): Update. 14516 1.1 christos 14517 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14518 1.1 christos 14519 1.1 christos * infrun.c (displaced_step_clear_cleanup): Now a 14520 1.1 christos forward_scope_exit type. 14521 1.1 christos (displaced_step_prepare_throw): Update. 14522 1.1 christos (displaced_step_fixup): Update. 14523 1.1 christos 14524 1.1 christos 2019-03-06 Tom Tromey <tom (a] tromey.com> 14525 1.1 christos 14526 1.1 christos * inferior.h (class inferior): Update comment. 14527 1.1 christos * gdbthread.h (class thread_info): Update comment. 14528 1.1 christos 14529 1.1 christos 2019-03-06 Joel Brobecker <brobecker (a] adacore.com> 14530 1.1 christos Tom Tromey <tom (a] tromey.com> 14531 1.1 christos 14532 1.1 christos * stabsread.h (struct stab_section_list): Remove. 14533 1.1 christos (coffstab_build_psymtabs): Update. 14534 1.1 christos * dbxread.c (symbuf_sections): Now a std::vector. 14535 1.1 christos (sect_idx): New global. 14536 1.1 christos (fill_symbuf): Update. 14537 1.1 christos (coffstab_build_psymtabs): Change type of stabsects parameter. 14538 1.1 christos Update. 14539 1.1 christos * coffread.c (struct coff_symfile_info) <stabsects>: Now a 14540 1.1 christos std::vector. 14541 1.1 christos (linetab, linetab_offset, linetab_size, stringtab): Move earlier. 14542 1.1 christos (coff_locate_sections): Update. 14543 1.1 christos (coff_symfile_read): Remove cleanups. Update. 14544 1.1 christos (init_stringtab): Add storage parameter. 14545 1.1 christos (free_stringtab, free_stringtab_cleanup): Remove. 14546 1.1 christos (init_lineno): Add storage parameter. 14547 1.1 christos (free_linetab, free_linetab_cleanup): Remove. 14548 1.1 christos 14549 1.1 christos 2019-03-06 Pedro Alves <palves (a] redhat.com> 14550 1.1 christos 14551 1.1 christos * linux-fork.c (fork_info::clobber_regs): Delete. 14552 1.1 christos (fork_load_infrun_state): Remove reference to 'clobber_regs'. 14553 1.1 christos (fork_save_infrun_state): Remove 'clobber_regs' parameter. Update 14554 1.1 christos comment. Adjust. 14555 1.1 christos (scoped_switch_fork_info::scoped_switch_fork_info) 14556 1.1 christos (checkpoint_command, linux_fork_context): Adjust 14557 1.1 christos fork_save_infrun_state calls. 14558 1.1 christos 14559 1.1 christos 2019-03-06 Pedro Alves <palves (a] redhat.com> 14560 1.1 christos 14561 1.1 christos * linux-fork.c (inf_has_multiple_thread_cb): Delete. 14562 1.1 christos (inf_has_multiple_threads): Return 'bool' and rewrite using 14563 1.1 christos inferior_info::threads(). 14564 1.1 christos 14565 1.1 christos 2019-03-06 Pedro Alves <palves (a] redhat.com> 14566 1.1 christos 14567 1.1 christos * linux-fork.c: Include <list>. 14568 1.1 christos (fork_list): Now a std::list instance. 14569 1.1 christos (fork_info): Add ctor, dtor, and in-class initialize all fields. 14570 1.1 christos (forks_exist_p, find_last_fork): Adjust. 14571 1.1 christos (new_fork): Delete. 14572 1.1 christos (one_fork_p): New. 14573 1.1 christos (add_fork): Adjust. 14574 1.1 christos (free_fork): Delete, folded into fork_info::~fork_info(). 14575 1.1 christos (delete_fork, find_fork_ptid, find_fork_id, find_fork_pid): 14576 1.1 christos Adjust. 14577 1.1 christos (init_fork_list): Delete. 14578 1.1 christos (linux_fork_killall, linux_fork_mourn_inferior) 14579 1.1 christos (linux_fork_detach, info_checkpoints_command): Adjust. 14580 1.1 christos (_initialize_linux_fork): No longer call init_fork_list. 14581 1.1 christos 14582 1.1 christos 2019-03-06 Pedro Alves <palves (a] redhat.com> 14583 1.1 christos 14584 1.1 christos * linux-fork.c (new_fork): New, split out of ... 14585 1.1 christos (add_fork): ... this. Return void. Move "first fork" special 14586 1.1 christos case from here, to ... 14587 1.1 christos (checkpoint_command): ... here. 14588 1.1 christos * linux-linux.h (add_fork): Return void. 14589 1.1 christos 14590 1.1 christos 2019-03-06 Andrew Burgess <andrew.burgess (a] embecosm.com> 14591 1.1 christos 14592 1.1 christos * f-exp.y (direct_abs_decl): Handle TYPE*SIZE type names. 14593 1.1 christos 14594 1.1 christos 2019-03-06 Andrew Burgess <andrew.burgess (a] embecosm.com> 14595 1.1 christos Chris January <chris.january (a] arm.com> 14596 1.1 christos David Lecomber <david.lecomber (a] arm.com> 14597 1.1 christos 14598 1.1 christos * f-exp.y: New token, UNOP_INTRINSIC. 14599 1.1 christos (exp): New pattern using UNOP_INTRINSIC token. 14600 1.1 christos (f77_keywords): Add 'abs' keyword. 14601 1.1 christos * f-lang.c: Add 'target-float.h' and 'math.h' includes. 14602 1.1 christos (value_from_host_double): New function. 14603 1.1 christos (evaluate_subexp_f): Support UNOP_ABS. 14604 1.1 christos 14605 1.1 christos 2019-03-06 Andrew Burgess <andrew.burgess (a] embecosm.com> 14606 1.1 christos 14607 1.1 christos * f-lang.c (build_fortran_types): Use TYPE_CODE_CHAR for character 14608 1.1 christos types. 14609 1.1 christos 14610 1.1 christos 2019-03-06 Andrew Burgess <andrew.burgess (a] embecosm.com> 14611 1.1 christos 14612 1.1 christos * f-exp.y (convert_to_kind_type): Handle integer (kind=8). 14613 1.1 christos * f-lang.c (build_fortran_types): Setup builtin_integer_s8. 14614 1.1 christos * f-lang.h (struct builtin_f_type): Add builtin_integer_s8 field. 14615 1.1 christos 14616 1.1 christos 2019-03-06 Andrew Burgess <andrew.burgess (a] embecosm.com> 14617 1.1 christos 14618 1.1 christos * f-exp.y (convert_to_kind_type): Handle more type kinds. 14619 1.1 christos 14620 1.1 christos 2019-03-06 Andrew Burgess <andrew.burgess (a] embecosm.com> 14621 1.1 christos Chris January <chris.january (a] arm.com> 14622 1.1 christos 14623 1.1 christos * expprint.c (dump_subexp_body_standard): Support UNOP_KIND. 14624 1.1 christos * f-exp.y: Define 'KIND' token. 14625 1.1 christos (exp): New pattern for KIND expressions. 14626 1.1 christos (ptype): Handle types with a kind extension. 14627 1.1 christos (direct_abs_decl): Extend to spot kind extensions. 14628 1.1 christos (f77_keywords): Add 'kind' to the list. 14629 1.1 christos (push_kind_type): New function. 14630 1.1 christos (convert_to_kind_type): New function. 14631 1.1 christos * f-lang.c (evaluate_subexp_f): Support UNOP_KIND. 14632 1.1 christos * parse.c (operator_length_standard): Likewise. 14633 1.1 christos * parser-defs.h (enum type_pieces): Add tp_kind. 14634 1.1 christos * std-operator.def: Add UNOP_KIND. 14635 1.1 christos 14636 1.1 christos 2019-03-06 Andrew Burgess <andrew.burgess (a] embecosm.com> 14637 1.1 christos 14638 1.1 christos * f-exp.y (f_parse): Set yydebug. 14639 1.1 christos 14640 1.1 christos 2019-03-06 Andrew Burgess <andrew.burgess (a] embecosm.com> 14641 1.1 christos 14642 1.1 christos * f-lang.c (evaluate_subexp_f): New function. 14643 1.1 christos (exp_descriptor_f): New global. 14644 1.1 christos (f_language_defn): Use exp_descriptor_f instead of 14645 1.1 christos exp_descriptor_standard. 14646 1.1 christos 14647 1.1 christos 2019-03-06 Andrew Burgess <andrew.burgess (a] embecosm.com> 14648 1.1 christos 14649 1.1 christos * f-exp.y (struct token): Add comments. 14650 1.1 christos (dot_ops): Remove uppercase versions and the end marker. 14651 1.1 christos (f77_keywords): Likewise. 14652 1.1 christos (yylex): Use ARRAY_SIZE to iterate over dot_ops, assert all 14653 1.1 christos entries in the dot_ops array are case insensitive, and use 14654 1.1 christos strncasecmp to compare strings. Also some whitespace cleanup in 14655 1.1 christos this area. Similar for the f77_keywords array, except entries in 14656 1.1 christos this list might be case sensitive. 14657 1.1 christos 14658 1.1 christos 2019-03-06 Andrew Burgess <andrew.burgess (a] embecosm.com> 14659 1.1 christos 14660 1.1 christos * f-exp.y (struct f77_boolean_val): Add comments. 14661 1.1 christos (boolean_values): Remove uppercase versions, and end marker. 14662 1.1 christos (yylex): Use ARRAY_SIZE for iterating over boolean_values array, 14663 1.1 christos and use strncasecmp to achieve case insensitivity. Additionally, 14664 1.1 christos perform whitespace cleanup around this code. 14665 1.1 christos 14666 1.1 christos 2019-03-06 Tom Tromey <tromey (a] adacore.com> 14667 1.1 christos 14668 1.1 christos * remote-sim.c (gdbsim_target_open): Use result of 14669 1.1 christos gdb_argv::release. 14670 1.1 christos 14671 1.1 christos 2019-03-06 Richard Bunt <richard.bunt (a] arm.com> 14672 1.1 christos Dirk Schubert <dirk.schubert (a] arm.com> 14673 1.1 christos Chris January <chris.january (a] arm.com> 14674 1.1 christos 14675 1.1 christos * eval.c (evaluate_subexp_standard): Call Fortran argument 14676 1.1 christos wrapping logic. 14677 1.1 christos * f-lang.c (struct value): A value which can be passed into a 14678 1.1 christos Fortran function call. 14679 1.1 christos (fortran_argument_convert): Wrap Fortran arguments in a pointer 14680 1.1 christos where appropriate. 14681 1.1 christos (struct type): Value ready for a Fortran function call. 14682 1.1 christos (fortran_preserve_arg_pointer): Undo check_typedef, the pointer 14683 1.1 christos is needed. 14684 1.1 christos * f-lang.h (fortran_argument_convert): Declaration. 14685 1.1 christos (fortran_preserve_arg_pointer): Declaration. 14686 1.1 christos * infcall.c (value_arg_coerce): Call Fortran argument logic. 14687 1.1 christos 14688 1.1 christos 2019-03-05 Tom Tromey <tromey (a] adacore.com> 14689 1.1 christos 14690 1.1 christos * python/py-prettyprint.c (print_string_repr): Remove #if. 14691 1.1 christos * python/py-utils.c (unicode_to_encoded_string): Remove #if. 14692 1.1 christos 14693 1.1 christos 2019-03-05 Tom Tromey <tromey (a] adacore.com> 14694 1.1 christos 14695 1.1 christos * target.c (the_dummy_target): Move later. Change type to 14696 1.1 christos "dummy_target". 14697 1.1 christos (initialize_targets): Don't initialize the_dummy_target. 14698 1.1 christos 14699 1.1 christos 2019-03-05 Tom Tromey <tromey (a] adacore.com> 14700 1.1 christos 14701 1.1 christos * gdb_bfd.c (gdb_bfd_fdopenr): Remove. 14702 1.1 christos * gdb_bfd.h (gdb_bfd_fdopenr): Don't declare. 14703 1.1 christos 14704 1.1 christos 2019-03-05 Tom Tromey <tromey (a] adacore.com> 14705 1.1 christos 14706 1.1 christos * windows-nat.c (windows_nat_target::attach) 14707 1.1 christos (windows_nat_target::detach): Don't call gdb_flush. 14708 1.1 christos * valprint.c (generic_val_print, val_print, val_print_string): 14709 1.1 christos Don't call gdb_flush. 14710 1.1 christos * utils.c (defaulted_query): Don't call gdb_flush. 14711 1.1 christos * typeprint.c (print_type_scalar): Don't call gdb_flush. 14712 1.1 christos * target.c (target_announce_detach): Don't call gdb_flush. 14713 1.1 christos * sparc64-tdep.c (adi_print_versions): Don't call gdb_flush. 14714 1.1 christos * remote.c (extended_remote_target::attach): Don't call 14715 1.1 christos gdb_flush. 14716 1.1 christos * procfs.c (procfs_target::detach): Don't call gdb_flush. 14717 1.1 christos * printcmd.c (do_examine): Don't call gdb_flush. 14718 1.1 christos (info_display_command): Don't call gdb_flush. 14719 1.1 christos * p-valprint.c (pascal_val_print): Don't call gdb_flush. 14720 1.1 christos * nto-procfs.c (nto_procfs_target::attach): Don't call gdb_flush. 14721 1.1 christos * memattr.c (info_mem_command): Don't call gdb_flush. 14722 1.1 christos * mdebugread.c (mdebug_build_psymtabs): Don't call gdb_flush. 14723 1.1 christos * m2-valprint.c (m2_val_print): Don't call gdb_flush. 14724 1.1 christos * infrun.c (follow_exec, handle_command): Don't call gdb_flush. 14725 1.1 christos * inf-ptrace.c (inf_ptrace_target::attach): Don't call gdb_flush. 14726 1.1 christos * hppa-tdep.c (unwind_command): Don't call gdb_flush. 14727 1.1 christos * gnu-nat.c (gnu_nat_target::attach): Don't call gdb_flush. 14728 1.1 christos (gnu_nat_target::detach): Don't call gdb_flush. 14729 1.1 christos * f-valprint.c (f_val_print): Don't call gdb_flush. 14730 1.1 christos * darwin-nat.c (darwin_nat_target::attach): Don't call gdb_flush. 14731 1.1 christos * cli/cli-script.c (read_command_lines): Don't call gdb_flush. 14732 1.1 christos * cli/cli-cmds.c (shell_escape, print_disassembly): Don't call 14733 1.1 christos gdb_flush. 14734 1.1 christos * c-valprint.c (c_val_print): Don't call gdb_flush. 14735 1.1 christos * ada-valprint.c (ada_print_scalar): Don't call gdb_flush. 14736 1.1 christos 14737 1.1 christos 2019-03-05 Tom Tromey <tromey (a] adacore.com> 14738 1.1 christos 14739 1.1 christos * varobj.c (update_dynamic_varobj_children): Update. 14740 1.1 christos (install_default_visualizer): Use reset, not release. 14741 1.1 christos * value.c (set_internalvar): Update. 14742 1.1 christos * dwarf2loc.c (value_of_dwarf_reg_entry): Update. 14743 1.1 christos * common/gdb_ref_ptr.h (class ref_ptr) <release>: Add 14744 1.1 christos ATTRIBUTE_UNUSED_RESULT. 14745 1.1 christos 14746 1.1 christos 2019-03-05 Tom Tromey <tromey (a] adacore.com> 14747 1.1 christos 14748 1.1 christos * remote.c (class scoped_remote_fd) <release>: Add 14749 1.1 christos ATTRIBUTE_UNUSED_RESULT. 14750 1.1 christos 14751 1.1 christos 2019-03-05 Tom Tromey <tromey (a] adacore.com> 14752 1.1 christos 14753 1.1 christos * macroexp.c (struct macro_buffer) <release>: Add 14754 1.1 christos ATTRIBUTE_UNUSED_RESULT. 14755 1.1 christos 14756 1.1 christos 2019-03-05 Tom Tromey <tromey (a] adacore.com> 14757 1.1 christos 14758 1.1 christos * nat/linux-btrace.c (linux_enable_bts, linux_enable_pt): Update. 14759 1.1 christos * common/scoped_mmap.h (class scoped_mmap) <release>: Add 14760 1.1 christos ATTRIBUTE_UNUSED_RESULT. 14761 1.1 christos 14762 1.1 christos 2019-03-05 Tom Tromey <tromey (a] adacore.com> 14763 1.1 christos 14764 1.1 christos * common/scoped_fd.h (class scoped_fd) <release>: Add 14765 1.1 christos ATTRIBUTE_UNUSED_RESULT. 14766 1.1 christos 14767 1.1 christos 2019-03-05 Tom Tromey <tromey (a] adacore.com> 14768 1.1 christos 14769 1.1 christos * parser-defs.h (struct parser_state) <release>: Add 14770 1.1 christos ATTRIBUTE_UNUSED_RESULT. 14771 1.1 christos 14772 1.1 christos 2019-03-05 Tom Tromey <tromey (a] adacore.com> 14773 1.1 christos 14774 1.1 christos * utils.h (class gdb_argv) <release>: Add 14775 1.1 christos ATTRIBUTE_UNUSED_RESULT. 14776 1.1 christos * common/common-defs.h (ATTRIBUTE_UNUSED_RESULT): Define. 14777 1.1 christos 14778 1.1 christos 2019-03-02 Eli Zaretskii <eliz (a] gnu.org> 14779 1.1 christos 14780 1.1 christos * xml-syscall.c (xml_list_syscalls_by_group): Drop 'struct' from 14781 1.1 christos for-loop range, to avoid compiler warnings. 14782 1.1 christos 14783 1.1 christos * tui/tui.c (tui_enable) [__MINGW32__]: Don't declare 'cap', to 14784 1.1 christos avoid compiler warnings about unused variables. 14785 1.1 christos 14786 1.1 christos * NEWS: Mention end of support for native debugging on MS-Windows 14787 1.1 christos before XP. 14788 1.1 christos 14789 1.1 christos PR gdb/24292 14790 1.1 christos * common/netstuff.c: 14791 1.1 christos * gdbserver/gdbreplay.c 14792 1.1 christos * gdbserver/remote-utils.c: 14793 1.1 christos * ser-tcp.c: 14794 1.1 christos * unittests/parse-connection-spec-selftests.c [USE_WIN32API]: 14795 1.1 christos Include ws2tcpip.h instead of wsiapi.h and winsock2.h. Redefine 14796 1.1 christos _WIN32_WINNT to 0x0501 if defined to a smaller value, as 14797 1.1 christos 'getaddrinfo' and 'freeaddrinfo' were not available before 14798 1.1 christos Windows XP, and mingw.org's MinGW headers by default define 14799 1.1 christos _WIN32_WINNT to 0x500. 14800 1.1 christos 14801 1.1 christos 2019-03-01 Gary Benson <gbenson (a] redhat.com> 14802 1.1 christos 14803 1.1 christos * coffread.c (coff_start_symtab): Remove unnecessary xstrdup. 14804 1.1 christos 14805 1.1 christos 2019-02-28 Brian Vandenberg <phantall (a] gmail.com> 14806 1.1 christos Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 14807 1.1 christos 14808 1.1 christos PR gdb/8527 14809 1.1 christos * procfs.c (proc_wait_for_stop): Wrap write of PCWSTOP in 14810 1.1 christos set_sigint_trap, clear_sigint_trap. 14811 1.1 christos 14812 1.1 christos 2019-02-27 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 14813 1.1 christos 14814 1.1 christos * target.c (target_detach): Clear the regcache and the 14815 1.1 christos frame cache. 14816 1.1 christos 14817 1.1 christos 2019-02-27 Pedro Alves <palves (a] redhat.com> 14818 1.1 christos 14819 1.1 christos * utils.c (set_screen_size): When we cap the height/width sizes, 14820 1.1 christos tweak the corresponding command variable to show "unlimited": 14821 1.1 christos 14822 1.1 christos 2019-02-27 Saagar Jha <saagar (a] saagarjha.com> 14823 1.1 christos Pedro Alves <palves (a] redhat.com> 14824 1.1 christos 14825 1.1 christos * utils.c (set_screen_size): Reduce "infinite" rows and columns 14826 1.1 christos before calling rl_set_screen_size. 14827 1.1 christos 14828 1.1 christos 2019-02-27 Tom Tromey <tromey (a] adacore.com> 14829 1.1 christos 14830 1.1 christos * configure.ac (HAVE_LIBPYTHON2_4, HAVE_LIBPYTHON2_5): Never 14831 1.1 christos define. 14832 1.1 christos * python/py-value.c: Remove Python 2.4 workaround. 14833 1.1 christos * python/py-utils.c (gdb_pymodule_addobject): Remove Python 2.4 14834 1.1 christos workaround. 14835 1.1 christos * python/py-type.c (convert_field, gdbpy_initialize_types): Remove 14836 1.1 christos Python 2.4 workaround. 14837 1.1 christos * python/python-internal.h: Remove Python 2.4 comment. 14838 1.1 christos (Py_ssize_t): Don't define. 14839 1.1 christos (PyVarObject_HEAD_INIT, Py_TYPE): Don't define. 14840 1.1 christos (gdb_Py_DECREF): Remove Python 2.4 workaround. 14841 1.1 christos (gdb_PyObject_GetAttrString, PyObject_GetAttrString): Remove. 14842 1.1 christos (gdb_PyObject_HasAttrString, PyObject_HasAttrString): Remove. 14843 1.1 christos * python/python.c (do_start_initialization): Remove Python 2.4 14844 1.1 christos workaround. 14845 1.1 christos * python/py-prettyprint.c (class dummy_python_frame): Remove. 14846 1.1 christos (print_children): Remove Python 2.4 workaround. 14847 1.1 christos * python/py-inferior.c (buffer_procs): Remove Python 2.4 14848 1.1 christos workaround. 14849 1.1 christos (CHARBUFFERPROC_NAME): Remove. 14850 1.1 christos * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Remove 14851 1.1 christos Python 2.4 workaround. 14852 1.1 christos 14853 1.1 christos 2019-02-27 Kevin Buettner <kevinb (a] redhat.com> 14854 1.1 christos 14855 1.1 christos * NEWS: Note minimum Python version. 14856 1.1 christos 14857 1.1 christos 2019-02-27 Kevin Buettner <kevinb (a] redhat.com> 14858 1.1 christos 14859 1.1 christos * python/py-inferior.c (infpy_write_memory): Remove non-IS_PY3K 14860 1.1 christos code from these functions. Remove corresponding ifdefs. Use 14861 1.1 christos Py_buffer_up instead of explicit calls to PyBuffer_Release. 14862 1.1 christos Remove gotos and target of gotos. 14863 1.1 christos (infpy_search_memory): Likewise. 14864 1.1 christos 14865 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14866 1.1 christos 14867 1.1 christos * hppa-tdep.c (hppa_dummy_id): Delete. 14868 1.1 christos (hppa_gdbarch_init): Don't register deleted functions with 14869 1.1 christos gdbarch. 14870 1.1 christos 14871 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14872 1.1 christos 14873 1.1 christos * h8300-tdep.c (h8300_unwind_pc): Delete. 14874 1.1 christos (h8300_unwind_sp): Delete. 14875 1.1 christos (h8300_dummy_id): Delete. 14876 1.1 christos (h8300_gdbarch_init): Don't register deleted functions with 14877 1.1 christos gdbarch. 14878 1.1 christos 14879 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14880 1.1 christos 14881 1.1 christos * ft32-tdep.c (ft32_dummy_id): Delete. 14882 1.1 christos (ft32_unwind_pc): Delete. 14883 1.1 christos (ft32_unwind_sp): Delete. 14884 1.1 christos (ft32_gdbarch_init): Don't register deleted functions with 14885 1.1 christos gdbarch. 14886 1.1 christos 14887 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14888 1.1 christos 14889 1.1 christos * frv-tdep.c (frv_dummy_id): Delete. 14890 1.1 christos (frv_unwind_pc): Delete. 14891 1.1 christos (frv_unwind_sp): Delete. 14892 1.1 christos (frv_gdbarch_init): Don't register deleted functions with 14893 1.1 christos gdbarch. 14894 1.1 christos 14895 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14896 1.1 christos 14897 1.1 christos * riscv-tdep.c (riscv_dummy_id): Delete. 14898 1.1 christos (riscv_unwind_pc): Delete. 14899 1.1 christos (riscv_unwind_sp): Delete. 14900 1.1 christos (riscv_gdbarch_init): Don't register deleted functions with 14901 1.1 christos gdbarch. 14902 1.1 christos 14903 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14904 1.1 christos 14905 1.1 christos * csky-tdep.c (csky_dummy_id): Delete. 14906 1.1 christos (csky_unwind_pc): Delete. 14907 1.1 christos (csky_unwind_sp): Delete. 14908 1.1 christos (csky_gdbarch_init): Don't register deleted functions with 14909 1.1 christos gdbarch. 14910 1.1 christos 14911 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14912 1.1 christos 14913 1.1 christos * cris-tdep.c (cris_dummy_id): Delete. 14914 1.1 christos (cris_unwind_pc): Delete. 14915 1.1 christos (cris_unwind_sp): Delete. 14916 1.1 christos (cris_gdbarch_init): Don't register deleted functions with 14917 1.1 christos gdbarch. 14918 1.1 christos 14919 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14920 1.1 christos 14921 1.1 christos * bfin-tdep.c (bfin_dummy_id): Delete. 14922 1.1 christos (bfin_unwind_pc): Delete. 14923 1.1 christos (bfin_gdbarch_init): Don't register deleted functions with gdbarch. 14924 1.1 christos 14925 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14926 1.1 christos 14927 1.1 christos * arm-tdep.c (arm_dummy_id): Delete. 14928 1.1 christos (arm_unwind_pc): Delete. 14929 1.1 christos (arm_unwind_sp): Delete. 14930 1.1 christos (arm_gdbarch_init): Don't register deleted functions with gdbarch. 14931 1.1 christos 14932 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14933 1.1 christos 14934 1.1 christos * arc-tdep.c (arc_dummy_id): Delete. 14935 1.1 christos (arc_unwind_pc): Delete. 14936 1.1 christos (arc_unwind_sp): Delete. 14937 1.1 christos (arc_gdbarch_init): Don't register deleted functions with gdbarch. 14938 1.1 christos 14939 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14940 1.1 christos 14941 1.1 christos * alpha-tdep.c (alpha_dummy_id): Delete. 14942 1.1 christos (alpha_unwind_pc): Delete. 14943 1.1 christos (alpha_gdbarch_init): Don't register deleted functions with 14944 1.1 christos gdbarch. 14945 1.1 christos 14946 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14947 1.1 christos 14948 1.1 christos * aarch64-tdep.c (aarch64_dummy_id): Delete. 14949 1.1 christos (aarch64_unwind_pc): Delete. 14950 1.1 christos (aarch64_unwind_sp): Delete. 14951 1.1 christos (aarch64_gdbarch_init): Don't register deleted functions with 14952 1.1 christos gdbarch. 14953 1.1 christos 14954 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14955 1.1 christos 14956 1.1 christos * gdbtypes.c (type_align): Don't consider static members when 14957 1.1 christos computing structure alignment. 14958 1.1 christos 14959 1.1 christos 2019-02-27 Andrew Burgess <andrew.burgess (a] embecosm.com> 14960 1.1 christos 14961 1.1 christos * arc-tdep.c (arc_type_align): Provide alignment for basic types, 14962 1.1 christos return 0 for other types. 14963 1.1 christos * arch-utils.c (default_type_align): Always return 0. 14964 1.1 christos * gdbarch.h: Regenerate. 14965 1.1 christos * gdbarch.sh (type_align): Extend comment. 14966 1.1 christos * gdbtypes.c (type_align): Add additional comments, always call 14967 1.1 christos gdbarch_type_align before applying the default rules. 14968 1.1 christos * i386-tdep.c (i386_type_align): Return 0 as the default rule, 14969 1.1 christos generic code will then apply a suitable default. 14970 1.1 christos * nios2-tdep.c (nios2_type_align): Provide alignment for basic 14971 1.1 christos types, return 0 for other types. 14972 1.1 christos 14973 1.1 christos 2019-02-27 Joel Brobecker <brobecker (a] adacore.com> 14974 1.1 christos 14975 1.1 christos * NEWS: Create a new section for the next release branch. 14976 1.1 christos Rename the section of the current branch, now that it has 14977 1.1 christos been cut. 14978 1.1 christos 14979 1.1 christos 2019-02-27 Joel Brobecker <brobecker (a] adacore.com> 14980 1.1 christos 14981 1.1 christos GDB 8.3 branch created (143420fb0d5ae54323ba9953f0818c194635228d): 14982 1.1 christos * version.in: Bump version to 8.3.50.DATE-git. 14983 1.1 christos 14984 1.1 christos 2019-02-26 Simon Marchi <simon.marchi (a] efficios.com> 14985 1.1 christos 14986 1.1 christos * aix-thread.c (ptid_cmp): Remove unused variable. 14987 1.1 christos (get_signaled_thread): Likewise. 14988 1.1 christos (store_regs_user_thread): Likewise. 14989 1.1 christos (store_regs_kernel_thread): Likewise. 14990 1.1 christos (fetch_regs_kernel_thread): Remove shadowed variable. 14991 1.1 christos 14992 1.1 christos 2019-02-26 Andrew Burgess <andrew.burgess (a] embecosm.com> 14993 1.1 christos 14994 1.1 christos * features/riscv/32bit-cpu.xml: Add register numbers. 14995 1.1 christos * features/riscv/32bit-fpu.c: Regenerate. 14996 1.1 christos * features/riscv/32bit-fpu.xml: Add register numbers. 14997 1.1 christos * features/riscv/64bit-cpu.xml: Add register numbers. 14998 1.1 christos * features/riscv/64bit-fpu.c: Regenerate. 14999 1.1 christos * features/riscv/64bit-fpu.xml: Add register numbers. 15000 1.1 christos 15001 1.1 christos 2019-02-26 Kevin Buettner <kevinb (a] redhat.com> 15002 1.1 christos 15003 1.1 christos * NEWS: Mention two argument form of gdb.Value constructor. 15004 1.1 christos * python/py-value.c (convert_buffer_and_type_to_value): New 15005 1.1 christos function. 15006 1.1 christos (valpy_new): Parse arguments via gdb_PyArg_ParseTupleAndKeywords. 15007 1.1 christos Add support for handling an optional second argument. Call 15008 1.1 christos convert_buffer_and_type_to_value as appropriate. 15009 1.1 christos * python/python-internal.h (Py_buffer_deleter): New struct. 15010 1.1 christos (Py_buffer_up): New typedef. 15011 1.1 christos 15012 1.1 christos 2019-02-25 John Baldwin <jhb (a] FreeBSD.org> 15013 1.1 christos 15014 1.1 christos * dwarf2read.c (dwarf2_get_dwz_file): Reset dwz_bfd to nullptr 15015 1.1 christos instead of releasing ownership. 15016 1.1 christos 15017 1.1 christos 2019-02-25 Jordan Rupprecht <rupprecht (a] google.com> 15018 1.1 christos 15019 1.1 christos * dwarf2read.c (open_and_init_dwp_file): Call 15020 1.1 christos elf_numsections instead of bfd_count_sections to initialize 15021 1.1 christos dwp_file->num_sections. 15022 1.1 christos 15023 1.1 christos 2019-02-25 Tom Tromey <tromey (a] adacore.com> 15024 1.1 christos 15025 1.1 christos * solib-darwin.c (darwin_get_dyld_bfd): Don't release dyld_bfd. 15026 1.1 christos 15027 1.1 christos 2019-02-23 Sergio Durigan Junior <sergiodj (a] redhat.com> 15028 1.1 christos 15029 1.1 christos * gcore.in: Add '--readnever' option when invoking GDB. 15030 1.1 christos 15031 1.1 christos 2019-02-22 Simon Marchi <simon.marchi (a] polymtl.ca> 15032 1.1 christos 15033 1.1 christos * MAINTAINERS: Update my email address. 15034 1.1 christos 15035 1.1 christos 2019-02-22 Simon Marchi <simon.marchi (a] polymtl.ca> 15036 1.1 christos 15037 1.1 christos * build-id.c (build_id_to_debug_bfd_1): New function. 15038 1.1 christos (build_id_to_debug_bfd): Look for separate debug file in 15039 1.1 christos sysroot. 15040 1.1 christos 15041 1.1 christos 2019-02-22 Andrew Burgess <andrew.burgess (a] embecosm.com> 15042 1.1 christos 15043 1.1 christos * gdbarch.sh: Update the copyright year range that is placed into 15044 1.1 christos generated files. 15045 1.1 christos 15046 1.1 christos 2019-02-22 Keith Seitz <keiths (a] redhat.com> 15047 1.1 christos 15048 1.1 christos PR symtab/23853 15049 1.1 christos * linespec.c (create_sals_line_offset): Search for the default 15050 1.1 christos symtab's filename instead of its fullname. 15051 1.1 christos 15052 1.1 christos 2019-02-21 Alan Hayward <alan.hayward (a] arm.com> 15053 1.1 christos 15054 1.1 christos * NEWS: Update style defaults. 15055 1.1 christos 15056 1.1 christos 2019-02-21 Alan Hayward <alan.hayward (a] arm.com> 15057 1.1 christos 15058 1.1 christos * main.c (captured_main_1): Disable styling in batch mode. 15059 1.1 christos 15060 1.1 christos 2019-02-20 Tom Tromey <tom (a] tromey.com> 15061 1.1 christos 15062 1.1 christos * symtab.c (symtab_symbol_info): Fix typos. 15063 1.1 christos 15064 1.1 christos 2019-02-20 Tom Tromey <tromey (a] adacore.com> 15065 1.1 christos 15066 1.1 christos * findcmd.c (_initialize_mem_search): Use upper case for 15067 1.1 christos metasyntactic variables. 15068 1.1 christos 15069 1.1 christos 2019-02-20 Alan Hayward <alan.hayward (a] arm.com> 15070 1.1 christos 15071 1.1 christos * aarch64-tdep.c (aarch64_add_reggroups): New function. 15072 1.1 christos (aarch64_gdbarch_init): Call aarch64_add_reggroups. 15073 1.1 christos 15074 1.1 christos 2019-02-19 Simon Marchi <simon.marchi (a] polymtl.ca> 15075 1.1 christos 15076 1.1 christos * top.h (source_file_name): Change to std::string. 15077 1.1 christos * top.c (source_file_name): Likewise. 15078 1.1 christos (command_line_input): Adjust. 15079 1.1 christos * cli/cli-script.c (script_from_file): Adjust. 15080 1.1 christos 15081 1.1 christos 2019-02-19 Tom Tromey <tromey (a] adacore.com> 15082 1.1 christos 15083 1.1 christos * ravenscar-thread.c 15084 1.1 christos (ravenscar_thread_target::update_thread_list): Don't call 15085 1.1 christos ada_build_task_list. 15086 1.1 christos * ada-lang.h (ada_build_task_list): Don't declare. 15087 1.1 christos * ada-tasks.c (struct ada_tasks_inferior_data) 15088 1.1 christos <task_list_valid_p>: Now bool. 15089 1.1 christos (read_known_tasks, ada_task_list_changed) 15090 1.1 christos (ada_tasks_invalidate_inferior_data): Update. 15091 1.1 christos (read_known_tasks_array): Return bool. 15092 1.1 christos (read_known_tasks_list): Likewise. 15093 1.1 christos (read_known_tasks): Return void. 15094 1.1 christos (ada_build_task_list): Now static. 15095 1.1 christos 15096 1.1 christos 2019-02-18 Andrew Burgess <andrew.burgess (a] embecosm.com> 15097 1.1 christos 15098 1.1 christos * gdbtypes.c (type_align): Allow alignment of TYPE_CODE_METHODPTR 15099 1.1 christos and TYPE_CODE_MEMBERPTR to be overridden by the gdbarch. 15100 1.1 christos 15101 1.1 christos 2019-02-18 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 15102 1.1 christos 15103 1.1 christos * ada-task.c (_initialize_tasks): Use 'with_cleanup' register 15104 1.1 christos variant for ada_tasks_pspace_data_handle and 15105 1.1 christos ada_tasks_inferior_data_handle. 15106 1.1 christos (ada_tasks_pspace_data_cleanup): New function. 15107 1.1 christos (ada_tasks_inferior_data_cleanup): New function. 15108 1.1 christos 15109 1.1 christos 2019-02-17 Tom Tromey <tom (a] tromey.com> 15110 1.1 christos 15111 1.1 christos * macrotab.h (macro_source_fullname): Return a std::string. 15112 1.1 christos * macrotab.c (macro_include, check_for_redefinition) 15113 1.1 christos (macro_undef, macro_lookup_definition, foreach_macro) 15114 1.1 christos (foreach_macro_in_scope): Update. 15115 1.1 christos (macro_source_fullname): Return a std::string. 15116 1.1 christos * macrocmd.c (show_pp_source_pos): Update. 15117 1.1 christos 15118 1.1 christos 2019-02-17 Tom Tromey <tom (a] tromey.com> 15119 1.1 christos 15120 1.1 christos * macrocmd.c (show_pp_source_pos): Style the file names. 15121 1.1 christos 15122 1.1 christos 2019-02-17 Tom Tromey <tom (a] tromey.com> 15123 1.1 christos 15124 1.1 christos PR tui/24197: 15125 1.1 christos * tui/tui-source.c (tui_set_source_content_nil): Rewrite. 15126 1.1 christos 15127 1.1 christos 2019-02-17 Tom Tromey <tom (a] tromey.com> 15128 1.1 christos 15129 1.1 christos * ada-lang.c (user_select_syms): Use filtered printing. 15130 1.1 christos * utils.c (wrap_style): New global. 15131 1.1 christos (desired_style): Remove. 15132 1.1 christos (emit_style_escape): Add stream parameter. 15133 1.1 christos (set_output_style, reset_terminal_style, prompt_for_continue): 15134 1.1 christos Update. 15135 1.1 christos (flush_wrap_buffer): Only flush gdb_stdout. 15136 1.1 christos (wrap_here): Set wrap_style. 15137 1.1 christos (fputs_maybe_filtered): Clear the wrap buffer on exception. Don't 15138 1.1 christos treat escape sequences as a character. Change when wrap buffer is 15139 1.1 christos flushed. 15140 1.1 christos (fputs_styled): Do not set the output style when the default is 15141 1.1 christos requested. 15142 1.1 christos * ui-style.h (struct ui_file_style) <is_default>: New method. 15143 1.1 christos * source.c (print_source_lines_base): Emit escape sequences in one 15144 1.1 christos piece. 15145 1.1 christos 15146 1.1 christos 2019-02-17 Joel Brobecker <brobecker (a] adacore.com> 15147 1.1 christos 15148 1.1 christos * gdbtypes.c (type_align): Handle TYPE_CODE_RANGE the same as 15149 1.1 christos integers and enumeration types. 15150 1.1 christos 15151 1.1 christos 2019-02-17 Joel Brobecker <brobecker (a] adacore.com> 15152 1.1 christos 15153 1.1 christos * ada-lang.c (standard_lookup): Use ada_lookup_encoded_symbol 15154 1.1 christos instead of lookup_symbol_in_language 15155 1.1 christos (do_exact_match): New function. 15156 1.1 christos (ada_get_symbol_name_matcher): Return do_exact_match when 15157 1.1 christos doing a verbatim match. 15158 1.1 christos 15159 1.1 christos 2019-02-15 Tom Tromey <tromey (a] adacore.com> 15160 1.1 christos 15161 1.1 christos * ravenscar-thread.c (ravenscar_thread_target::resume) 15162 1.1 christos (ravenscar_thread_target::wait): Special case wildcard requests. 15163 1.1 christos 15164 1.1 christos 2019-02-15 Tom Tromey <tromey (a] adacore.com> 15165 1.1 christos 15166 1.1 christos * ravenscar-thread.c (base_ptid): Remove. 15167 1.1 christos (struct ravenscar_thread_target) <close>: New method. 15168 1.1 christos <m_base_ptid>: New member. 15169 1.1 christos <update_inferior_ptid, active_task, task_is_currently_active, 15170 1.1 christos runtime_initialized>: Declare methods. 15171 1.1 christos <ravenscar_thread_target>: Add constructor. 15172 1.1 christos (ravenscar_thread_target::task_is_currently_active) 15173 1.1 christos (ravenscar_thread_target::update_inferior_ptid) 15174 1.1 christos (ravenscar_runtime_initialized): Rename. Now methods. 15175 1.1 christos (ravenscar_thread_target::resume, ravenscar_thread_target::wait) 15176 1.1 christos (ravenscar_thread_target::update_thread_list): Update. 15177 1.1 christos (ravenscar_thread_target::active_task): Now method. 15178 1.1 christos (ravenscar_thread_target::store_registers) 15179 1.1 christos (ravenscar_thread_target::prepare_to_store) 15180 1.1 christos (ravenscar_thread_target::prepare_to_store) 15181 1.1 christos (ravenscar_thread_target::mourn_inferior): Update. 15182 1.1 christos (ravenscar_inferior_created): Use "new" to create target. 15183 1.1 christos (ravenscar_thread_target::get_ada_task_ptid): Update. 15184 1.1 christos (_initialize_ravenscar): Don't initialize base_ptid. 15185 1.1 christos (ravenscar_ops): Remove global. 15186 1.1 christos 15187 1.1 christos 2019-02-15 Tom Tromey <tromey (a] adacore.com> 15188 1.1 christos 15189 1.1 christos * target.h (push_target): Declare new overload. 15190 1.1 christos * target.c (push_target): New overload, taking an rvalue reference. 15191 1.1 christos * remote.c (remote_target::open_1): Use push_target overload. 15192 1.1 christos * corelow.c (core_target_open): Use push_target overload. 15193 1.1 christos 15194 1.1 christos 2019-02-15 Tom Tromey <tromey (a] adacore.com> 15195 1.1 christos 15196 1.1 christos * ravenscar-thread.c (is_ravenscar_task) 15197 1.1 christos (ravenscar_task_is_currently_active): Return bool. 15198 1.1 christos (ravenscar_update_inferior_ptid, get_running_thread_msymbol) 15199 1.1 christos (_initialize_ravenscar): Remove "(void)". 15200 1.1 christos (has_ravenscar_runtime, ravenscar_runtime_initialized): Likewise. 15201 1.1 christos Return bool. 15202 1.1 christos 15203 1.1 christos 2019-02-15 Tom Tromey <tromey (a] adacore.com> 15204 1.1 christos 15205 1.1 christos * ravenscar-thread.c (ravenscar_runtime_initializer) 15206 1.1 christos (has_ravenscar_runtime, get_running_thread_id) 15207 1.1 christos (ravenscar_thread_target::resume): Fix indentation. 15208 1.1 christos 15209 1.1 christos 2019-02-15 Tom Tromey <tromey (a] adacore.com> 15210 1.1 christos 15211 1.1 christos * sparc-ravenscar-thread.c (struct sparc_ravenscar_ops): Derive 15212 1.1 christos from ravenscar_arch_ops. 15213 1.1 christos (sparc_ravenscar_ops::fetch_registers) 15214 1.1 christos (sparc_ravenscar_ops::store_registers): Now methods. 15215 1.1 christos (sparc_ravenscar_prepare_to_store): Remove. 15216 1.1 christos (sparc_ravenscar_ops): Redefine. 15217 1.1 christos * ravenscar-thread.h (struct ravenscar_arch_ops): Add virtual 15218 1.1 christos methods and destructor. Remove members. 15219 1.1 christos * ravenscar-thread.c (ravenscar_thread_target::fetch_registers) 15220 1.1 christos (ravenscar_thread_target::store_registers) 15221 1.1 christos (ravenscar_thread_target::prepare_to_store): Update. 15222 1.1 christos * ppc-ravenscar-thread.c (ppc_ravenscar_generic_prepare_to_store): 15223 1.1 christos Remove. 15224 1.1 christos (struct ppc_ravenscar_powerpc_ops): Derive from 15225 1.1 christos ravenscar_arch_ops. 15226 1.1 christos (ppc_ravenscar_powerpc_ops::fetch_registers) 15227 1.1 christos (ppc_ravenscar_powerpc_ops::store_registers): Now methods. 15228 1.1 christos (ppc_ravenscar_powerpc_ops): Redefine. 15229 1.1 christos (struct ppc_ravenscar_e500_ops): Derive from ravenscar_arch_ops. 15230 1.1 christos (ppc_ravenscar_e500_ops::fetch_registers) 15231 1.1 christos (ppc_ravenscar_e500_ops::store_registers): Now methods. 15232 1.1 christos (ppc_ravenscar_e500_ops): Redefine. 15233 1.1 christos * aarch64-ravenscar-thread.c 15234 1.1 christos (aarch64_ravenscar_generic_prepare_to_store): Remove. 15235 1.1 christos (struct aarch64_ravenscar_ops): Derive from ravenscar_arch_ops. 15236 1.1 christos (aarch64_ravenscar_fetch_registers) 15237 1.1 christos (aarch64_ravenscar_store_registers): Now methods. 15238 1.1 christos (aarch64_ravenscar_ops): Redefine. 15239 1.1 christos 15240 1.1 christos 2019-02-15 Tom Tromey <tromey (a] adacore.com> 15241 1.1 christos 15242 1.1 christos * ravenscar-thread.c (ravenscar_thread_target::stopped_by_sw_breakpoint) 15243 1.1 christos (ravenscar_thread_target::stopped_by_hw_breakpoint) 15244 1.1 christos (ravenscar_thread_target::stopped_by_watchpoint) 15245 1.1 christos (ravenscar_thread_target::stopped_data_address) 15246 1.1 christos (ravenscar_thread_target::core_of_thread): Use scoped_restore. 15247 1.1 christos 15248 1.1 christos 2019-02-15 Tom Tromey <tromey (a] adacore.com> 15249 1.1 christos 15250 1.1 christos * ravenscar-thread.c: Fix some typos. 15251 1.1 christos 15252 1.1 christos 2019-02-15 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 15253 1.1 christos Tom Tromey <tromey (a] adacore.com> 15254 1.1 christos 15255 1.1 christos * ada-lang.c (ada_exception_sal): Change addr_string to a 15256 1.1 christos std::string. 15257 1.1 christos (create_ada_exception_catchpoint): Update. 15258 1.1 christos 15259 1.1 christos 2019-02-15 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 15260 1.1 christos Tom Tromey <tromey (a] adacore.com> 15261 1.1 christos 15262 1.1 christos * breakpoint.c (~bp_location): Rename from bp_location_dtor. 15263 1.1 christos (bp_location_ops): Remove. 15264 1.1 christos (base_breakpoint_allocate_location): Update. 15265 1.1 christos (free_bp_location): Update. 15266 1.1 christos * ada-lang.c (class ada_catchpoint_location) 15267 1.1 christos <ada_catchpoint_location>: Remove ops parameter. 15268 1.1 christos (ada_catchpoint_location_dtor): Remove. 15269 1.1 christos (ada_catchpoint_location_ops): Remove. 15270 1.1 christos (allocate_location_exception): Update. 15271 1.1 christos * breakpoint.h (struct bp_location_ops): Remove. 15272 1.1 christos (class bp_location) <bp_location>: Remove bp_location_ops 15273 1.1 christos parameter. 15274 1.1 christos <~bp_location>: Add destructor. 15275 1.1 christos <ops>: Remove. 15276 1.1 christos 15277 1.1 christos 2019-02-14 Thomas Schwinge <thomas (a] codesourcery.com> 15278 1.1 christos Pedro Alves <palves (a] redhat.com> 15279 1.1 christos 15280 1.1 christos * remote.c (remote_target::remote_parse_stop_reply): Avoid using 15281 1.1 christos 'PATH_MAX'. 15282 1.1 christos 15283 1.1 christos 2019-02-14 David Michael <fedora.dm0 (a] gmail.com> 15284 1.1 christos Samuel Thibault <samuel.thibault (a] gnu.org> 15285 1.1 christos Thomas Schwinge <thomas (a] codesourcery.com> 15286 1.1 christos 15287 1.1 christos * gnu-nat.c (S_proc_getmsgport_reply, S_proc_task2proc_reply) 15288 1.1 christos (S_proc_pid2proc_reply): Adjust to Hurd "proc" interface changes. 15289 1.1 christos 15290 1.1 christos 2019-02-14 Thomas Schwinge <thomas (a] codesourcery.com> 15291 1.1 christos 15292 1.1 christos * gnu-nat.c (gnu_write_inferior, parse_int_arg, _parse_bool_arg) 15293 1.1 christos (check_empty): Use "const char *". 15294 1.1 christos 15295 1.1 christos * gnu-nat.c (gnu_nat_target::detach): Instead of 15296 1.1 christos 'detach_inferior (pid)' call 15297 1.1 christos 'detach_inferior (find_inferior_pid (pid))'. 15298 1.1 christos 15299 1.1 christos * configure.nat [gdb_host == i386gnu] (NATDEPFILES): Add 15300 1.1 christos 'nat/fork-inferior.o'. 15301 1.1 christos * gnu-nat.c: #include "nat/fork-inferior.h". 15302 1.1 christos 15303 1.1 christos * gnu-nat.c (gnu_nat_target::detach): Instead of 15304 1.1 christos 'inf_child_maybe_unpush_target (ops)' call 'maybe_unpush_target'. 15305 1.1 christos * gnu-nat.h: #include "inf-child.h". 15306 1.1 christos * i386-gnu-nat.c (gnu_fetch_registers): Rename/move to 15307 1.1 christos 'i386_gnu_nat_target::fetch_registers'. 15308 1.1 christos (gnu_store_registers): Rename/move to 15309 1.1 christos 'i386_gnu_nat_target::store_registers'. 15310 1.1 christos 15311 1.1 christos * config/i386/nm-i386gnu.h: Don't "#include" any files. 15312 1.1 christos * gnu-nat.h (mach_thread_info): New function. 15313 1.1 christos * gnu-nat.c (thread_takeover_sc_cmd): Use it. 15314 1.1 christos 15315 1.1 christos * config/i386/nm-i386gnu.h (gnu_target_pid_to_str): Remove. 15316 1.1 christos 15317 1.1 christos 2019-02-14 Frederic Konrad <konrad (a] adacore.com> 15318 1.1 christos 15319 1.1 christos * riscv-rdep.c (riscv_type_alignment): Handle TYPE_CODE_RANGE. 15320 1.1 christos 15321 1.1 christos 2019-02-14 Joel Brobecker <brobecker (a] adacore.com> 15322 1.1 christos 15323 1.1 christos * windows-nat.c (windows_add_thread): Add new parameter 15324 1.1 christos "main_thread_p" with default value set to false. Update 15325 1.1 christos function documentation as well as all callers. 15326 1.1 christos (windows_delete_thread): Likewise. 15327 1.1 christos (fake_create_process): Update call to windows_add_thread. 15328 1.1 christos (get_windows_debug_event) <CREATE_THREAD_DEBUG_EVENT> 15329 1.1 christos <CREATE_PROCESS_DEBUG_EVENT>: Likewise. 15330 1.1 christos <EXIT_THREAD_DEBUG_EVENT, EXIT_PROCESS_DEBUG_EVENT>: Update 15331 1.1 christos call to windows_delete_thread. 15332 1.1 christos 15333 1.1 christos 2019-02-13 Simon Marchi <simon.marchi (a] ericsson.com> 15334 1.1 christos 15335 1.1 christos * MAINTAINERS: Add Andrew Burgess as global maintainer. 15336 1.1 christos 15337 1.1 christos 2019-02-12 John Baldwin <jhb (a] FreeBSD.org> 15338 1.1 christos 15339 1.1 christos * symfile.c (find_separate_debug_file): Use canonical path of 15340 1.1 christos sysroot with child_path instead of gdb_sysroot if it is valid. 15341 1.1 christos 15342 1.1 christos 2019-02-12 John Baldwin <jhb (a] FreeBSD.org> 15343 1.1 christos 15344 1.1 christos * symfile.c (find_separate_debug_file): Use child_path to 15345 1.1 christos determine if an object file is under a sysroot. 15346 1.1 christos 15347 1.1 christos 2019-02-12 John Baldwin <jhb (a] FreeBSD.org> 15348 1.1 christos 15349 1.1 christos * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add 15350 1.1 christos unittests/child-path-selftests.c. 15351 1.1 christos * common/pathstuff.c (child_path): New function. 15352 1.1 christos * common/pathstuff.h (child_path): New prototype. 15353 1.1 christos * unittests/child-path-selftests.c: New file. 15354 1.1 christos 15355 1.1 christos 2019-02-12 John Baldwin <jhb (a] FreeBSD.org> 15356 1.1 christos 15357 1.1 christos * symfile.c (find_separate_debug_file): Look for separate debug 15358 1.1 christos files in debug directories under the sysroot. 15359 1.1 christos 15360 1.1 christos 2019-02-12 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 15361 1.1 christos 15362 1.1 christos * symtab.h (struct minimal_symbol data_p): New const method. 15363 1.1 christos (struct minimal_symbol text_p): Likewise. 15364 1.1 christos * symtab.c (output_source_filename): Use file name style 15365 1.1 christos to print file name. 15366 1.1 christos (print_symbol_info): Likewise. 15367 1.1 christos (print_msymbol_info): Use address style to print addresses. 15368 1.1 christos Use function name style to print executable text symbols. 15369 1.1 christos (expand_symtab_containing_pc): Use data_p. 15370 1.1 christos (find_pc_sect_compunit_symtab): Likewise. 15371 1.1 christos 15372 1.1 christos 2019-02-12 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 15373 1.1 christos 15374 1.1 christos * breakpoint.c (describe_other_breakpoints): Use address style 15375 1.1 christos to print addresses. 15376 1.1 christos (say_where): Likewise. 15377 1.1 christos 15378 1.1 christos 2019-02-12 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 15379 1.1 christos 15380 1.1 christos * ada-typeprint.c (print_func_type): Print function name 15381 1.1 christos style to print function name. 15382 1.1 christos * c-typeprint.c (c_print_type_1): Likewise. 15383 1.1 christos 15384 1.1 christos 2019-02-11 Alan Hayward <alan.hayward (a] arm.com> 15385 1.1 christos 15386 1.1 christos * aarch64-linux-tdep.c (aarch64_linux_get_syscall_number): Check 15387 1.1 christos for execve. 15388 1.1 christos 15389 1.1 christos 2019-02-10 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 15390 1.1 christos 15391 1.1 christos * c-exp.y (direct_abs_decl): Use emplace_back to record the 15392 1.1 christos type_stack. 15393 1.1 christos 15394 1.1 christos 2019-02-10 Joel Brobecker <brobecker (a] adacore.com> 15395 1.1 christos 15396 1.1 christos * ada-varobj.c (ada_value_is_changeable_p): Add handling of 15397 1.1 christos TYPE_CODE_REF types. 15398 1.1 christos 15399 1.1 christos 2019-02-08 Jim Wilson <jimw (a] sifive.com> 15400 1.1 christos 15401 1.1 christos * riscv-linux-tdep.c (riscv_linux_fregmap): New. 15402 1.1 christos (riscv_linux_fregset): New. 15403 1.1 christos (riscv_linux_iterate_over_regset_sections): Call cb for .reg2 section. 15404 1.1 christos 15405 1.1 christos 2019-02-07 Tom Tromey <tom (a] tromey.com> 15406 1.1 christos 15407 1.1 christos * thread.c (thread_cancel_execution_command): Update. 15408 1.1 christos * thread-fsm.h (struct thread_fsm): Add constructor, destructor, 15409 1.1 christos methods. 15410 1.1 christos (struct thread_fsm_ops): Remove. 15411 1.1 christos (thread_fsm_ctor, thread_fsm_delete, thread_fsm_clean_up) 15412 1.1 christos (thread_fsm_should_stop, thread_fsm_return_value) 15413 1.1 christos (thread_fsm_set_finished, thread_fsm_finished_p) 15414 1.1 christos (thread_fsm_async_reply_reason, thread_fsm_should_notify_stop): 15415 1.1 christos Don't declare. 15416 1.1 christos * mi/mi-interp.c (mi_on_normal_stop_1): Update. 15417 1.1 christos * infrun.c (clear_proceed_status_thread) 15418 1.1 christos (clean_up_just_stopped_threads_fsms, fetch_inferior_event) 15419 1.1 christos (print_stop_event): Update. 15420 1.1 christos * infcmd.c (struct step_command_fsm): Inherit from thread_fsm. 15421 1.1 christos Add constructor. 15422 1.1 christos (step_command_fsm_ops): Remove. 15423 1.1 christos (new_step_command_fsm): Remove. 15424 1.1 christos (step_1): Update. 15425 1.1 christos (step_command_fsm::should_stop): Rename from 15426 1.1 christos step_command_fsm_should_stop. 15427 1.1 christos (step_command_fsm::clean_up): Rename from 15428 1.1 christos step_command_fsm_clean_up. 15429 1.1 christos (step_command_fsm::do_async_reply_reason): Rename from 15430 1.1 christos step_command_fsm_async_reply_reason. 15431 1.1 christos (struct until_next_fsm): Inherit from thread_fsm. Add 15432 1.1 christos constructor. 15433 1.1 christos (until_next_fsm_ops): Remove. 15434 1.1 christos (new_until_next_fsm): Remove. 15435 1.1 christos (until_next_fsm::should_stop): Rename from 15436 1.1 christos until_next_fsm_should_stop. 15437 1.1 christos (until_next_fsm::clean_up): Rename from until_next_fsm_clean_up. 15438 1.1 christos (until_next_fsm::do_async_reply_reason): Rename from 15439 1.1 christos until_next_fsm_async_reply_reason. 15440 1.1 christos (struct finish_command_fsm): Inherit from thread_fsm. Add 15441 1.1 christos constructor. Change type of breakpoint. 15442 1.1 christos (finish_command_fsm_ops): Remove. 15443 1.1 christos (new_finish_command_fsm): Remove. 15444 1.1 christos (finish_command_fsm::should_stop): Rename from 15445 1.1 christos finish_command_fsm_should_stop. 15446 1.1 christos (finish_command_fsm::clean_up): Rename from 15447 1.1 christos finish_command_fsm_clean_up. 15448 1.1 christos (finish_command_fsm::return_value): Rename from 15449 1.1 christos finish_command_fsm_return_value. 15450 1.1 christos (finish_command_fsm::do_async_reply_reason): Rename from 15451 1.1 christos finish_command_fsm_async_reply_reason. 15452 1.1 christos (finish_command): Update. 15453 1.1 christos * infcall.c (struct call_thread_fsm): Inherit from thread_fsm. 15454 1.1 christos Add constructor. 15455 1.1 christos (call_thread_fsm_ops): Remove. 15456 1.1 christos (call_thread_fsm::call_thread_fsm): Rename from 15457 1.1 christos new_call_thread_fsm. 15458 1.1 christos (call_thread_fsm::should_stop): Rename from 15459 1.1 christos call_thread_fsm_should_stop. 15460 1.1 christos (call_thread_fsm::should_notify_stop): Rename from 15461 1.1 christos call_thread_fsm_should_notify_stop. 15462 1.1 christos (run_inferior_call, call_function_by_hand_dummy): Update. 15463 1.1 christos * cli/cli-interp.c (should_print_stop_to_console): Update. 15464 1.1 christos * breakpoint.c (struct until_break_fsm): Inherit from thread_fsm. 15465 1.1 christos Add constructor. Change type of location_breakpoint, 15466 1.1 christos caller_breakpoint. 15467 1.1 christos (until_break_fsm_ops): Remove. 15468 1.1 christos (new_until_break_fsm): Remove. 15469 1.1 christos (until_break_fsm::should_stop): Rename from 15470 1.1 christos until_break_fsm_should_stop. 15471 1.1 christos (until_break_fsm::clean_up): Rename from 15472 1.1 christos until_break_fsm_clean_up. 15473 1.1 christos (until_break_fsm::do_async_reply_reason): Rename from 15474 1.1 christos until_break_fsm_async_reply_reason. 15475 1.1 christos (until_break_command): Update. 15476 1.1 christos * thread-fsm.c: Remove. 15477 1.1 christos * Makefile.in (COMMON_SFILES): Remove thread-fsm.c. 15478 1.1 christos 15479 1.1 christos 2019-02-07 Tom Tromey <tom (a] tromey.com> 15480 1.1 christos 15481 1.1 christos * yy-remap.h: Add include guard. 15482 1.1 christos * xtensa-tdep.h: Add include guard. 15483 1.1 christos * xcoffread.h: Rename include guard. 15484 1.1 christos * varobj-iter.h: Add include guard. 15485 1.1 christos * tui/tui.h: Rename include guard. 15486 1.1 christos * tui/tui-winsource.h: Rename include guard. 15487 1.1 christos * tui/tui-wingeneral.h: Rename include guard. 15488 1.1 christos * tui/tui-windata.h: Rename include guard. 15489 1.1 christos * tui/tui-win.h: Rename include guard. 15490 1.1 christos * tui/tui-stack.h: Rename include guard. 15491 1.1 christos * tui/tui-source.h: Rename include guard. 15492 1.1 christos * tui/tui-regs.h: Rename include guard. 15493 1.1 christos * tui/tui-out.h: Rename include guard. 15494 1.1 christos * tui/tui-layout.h: Rename include guard. 15495 1.1 christos * tui/tui-io.h: Rename include guard. 15496 1.1 christos * tui/tui-hooks.h: Rename include guard. 15497 1.1 christos * tui/tui-file.h: Rename include guard. 15498 1.1 christos * tui/tui-disasm.h: Rename include guard. 15499 1.1 christos * tui/tui-data.h: Rename include guard. 15500 1.1 christos * tui/tui-command.h: Rename include guard. 15501 1.1 christos * tic6x-tdep.h: Add include guard. 15502 1.1 christos * target/waitstatus.h: Rename include guard. 15503 1.1 christos * target/wait.h: Rename include guard. 15504 1.1 christos * target/target.h: Rename include guard. 15505 1.1 christos * target/resume.h: Rename include guard. 15506 1.1 christos * target-float.h: Rename include guard. 15507 1.1 christos * stabsread.h: Add include guard. 15508 1.1 christos * rs6000-tdep.h: Add include guard. 15509 1.1 christos * riscv-fbsd-tdep.h: Add include guard. 15510 1.1 christos * regformats/regdef.h: Rename include guard. 15511 1.1 christos * record.h: Rename include guard. 15512 1.1 christos * python/python.h: Rename include guard. 15513 1.1 christos * python/python-internal.h: Rename include guard. 15514 1.1 christos * python/py-stopevent.h: Rename include guard. 15515 1.1 christos * python/py-ref.h: Rename include guard. 15516 1.1 christos * python/py-record.h: Rename include guard. 15517 1.1 christos * python/py-record-full.h: Rename include guard. 15518 1.1 christos * python/py-record-btrace.h: Rename include guard. 15519 1.1 christos * python/py-instruction.h: Rename include guard. 15520 1.1 christos * python/py-events.h: Rename include guard. 15521 1.1 christos * python/py-event.h: Rename include guard. 15522 1.1 christos * procfs.h: Add include guard. 15523 1.1 christos * proc-utils.h: Add include guard. 15524 1.1 christos * p-lang.h: Add include guard. 15525 1.1 christos * or1k-tdep.h: Rename include guard. 15526 1.1 christos * observable.h: Rename include guard. 15527 1.1 christos * nto-tdep.h: Rename include guard. 15528 1.1 christos * nat/x86-linux.h: Rename include guard. 15529 1.1 christos * nat/x86-linux-dregs.h: Rename include guard. 15530 1.1 christos * nat/x86-gcc-cpuid.h: Add include guard. 15531 1.1 christos * nat/x86-dregs.h: Rename include guard. 15532 1.1 christos * nat/x86-cpuid.h: Rename include guard. 15533 1.1 christos * nat/ppc-linux.h: Rename include guard. 15534 1.1 christos * nat/mips-linux-watch.h: Rename include guard. 15535 1.1 christos * nat/linux-waitpid.h: Rename include guard. 15536 1.1 christos * nat/linux-ptrace.h: Rename include guard. 15537 1.1 christos * nat/linux-procfs.h: Rename include guard. 15538 1.1 christos * nat/linux-osdata.h: Rename include guard. 15539 1.1 christos * nat/linux-nat.h: Rename include guard. 15540 1.1 christos * nat/linux-namespaces.h: Rename include guard. 15541 1.1 christos * nat/linux-btrace.h: Rename include guard. 15542 1.1 christos * nat/glibc_thread_db.h: Rename include guard. 15543 1.1 christos * nat/gdb_thread_db.h: Rename include guard. 15544 1.1 christos * nat/gdb_ptrace.h: Rename include guard. 15545 1.1 christos * nat/fork-inferior.h: Rename include guard. 15546 1.1 christos * nat/amd64-linux-siginfo.h: Rename include guard. 15547 1.1 christos * nat/aarch64-sve-linux-sigcontext.h: Rename include guard. 15548 1.1 christos * nat/aarch64-sve-linux-ptrace.h: Rename include guard. 15549 1.1 christos * nat/aarch64-linux.h: Rename include guard. 15550 1.1 christos * nat/aarch64-linux-hw-point.h: Rename include guard. 15551 1.1 christos * mn10300-tdep.h: Add include guard. 15552 1.1 christos * mips-linux-tdep.h: Add include guard. 15553 1.1 christos * mi/mi-parse.h: Rename include guard. 15554 1.1 christos * mi/mi-out.h: Rename include guard. 15555 1.1 christos * mi/mi-main.h: Rename include guard. 15556 1.1 christos * mi/mi-interp.h: Rename include guard. 15557 1.1 christos * mi/mi-getopt.h: Rename include guard. 15558 1.1 christos * mi/mi-console.h: Rename include guard. 15559 1.1 christos * mi/mi-common.h: Rename include guard. 15560 1.1 christos * mi/mi-cmds.h: Rename include guard. 15561 1.1 christos * mi/mi-cmd-break.h: Rename include guard. 15562 1.1 christos * m2-lang.h: Add include guard. 15563 1.1 christos * location.h: Rename include guard. 15564 1.1 christos * linux-record.h: Rename include guard. 15565 1.1 christos * linux-nat.h: Add include guard. 15566 1.1 christos * linux-fork.h: Add include guard. 15567 1.1 christos * i386-darwin-tdep.h: Rename include guard. 15568 1.1 christos * hppa-linux-offsets.h: Add include guard. 15569 1.1 christos * guile/guile.h: Rename include guard. 15570 1.1 christos * guile/guile-internal.h: Rename include guard. 15571 1.1 christos * gnu-nat.h: Rename include guard. 15572 1.1 christos * gdb-stabs.h: Rename include guard. 15573 1.1 christos * frv-tdep.h: Add include guard. 15574 1.1 christos * f-lang.h: Add include guard. 15575 1.1 christos * event-loop.h: Add include guard. 15576 1.1 christos * darwin-nat.h: Rename include guard. 15577 1.1 christos * cp-abi.h: Rename include guard. 15578 1.1 christos * config/sparc/nm-sol2.h: Rename include guard. 15579 1.1 christos * config/nm-nto.h: Rename include guard. 15580 1.1 christos * config/nm-linux.h: Add include guard. 15581 1.1 christos * config/i386/nm-i386gnu.h: Rename include guard. 15582 1.1 christos * config/djgpp/nl_types.h: Rename include guard. 15583 1.1 christos * config/djgpp/langinfo.h: Rename include guard. 15584 1.1 christos * compile/gcc-cp-plugin.h: Add include guard. 15585 1.1 christos * compile/gcc-c-plugin.h: Add include guard. 15586 1.1 christos * compile/compile.h: Rename include guard. 15587 1.1 christos * compile/compile-object-run.h: Rename include guard. 15588 1.1 christos * compile/compile-object-load.h: Rename include guard. 15589 1.1 christos * compile/compile-internal.h: Rename include guard. 15590 1.1 christos * compile/compile-cplus.h: Rename include guard. 15591 1.1 christos * compile/compile-c.h: Rename include guard. 15592 1.1 christos * common/xml-utils.h: Rename include guard. 15593 1.1 christos * common/x86-xstate.h: Rename include guard. 15594 1.1 christos * common/version.h: Rename include guard. 15595 1.1 christos * common/vec.h: Rename include guard. 15596 1.1 christos * common/tdesc.h: Rename include guard. 15597 1.1 christos * common/selftest.h: Rename include guard. 15598 1.1 christos * common/scoped_restore.h: Rename include guard. 15599 1.1 christos * common/scoped_mmap.h: Rename include guard. 15600 1.1 christos * common/scoped_fd.h: Rename include guard. 15601 1.1 christos * common/safe-iterator.h: Rename include guard. 15602 1.1 christos * common/run-time-clock.h: Rename include guard. 15603 1.1 christos * common/refcounted-object.h: Rename include guard. 15604 1.1 christos * common/queue.h: Rename include guard. 15605 1.1 christos * common/ptid.h: Rename include guard. 15606 1.1 christos * common/print-utils.h: Rename include guard. 15607 1.1 christos * common/preprocessor.h: Rename include guard. 15608 1.1 christos * common/pathstuff.h: Rename include guard. 15609 1.1 christos * common/observable.h: Rename include guard. 15610 1.1 christos * common/netstuff.h: Rename include guard. 15611 1.1 christos * common/job-control.h: Rename include guard. 15612 1.1 christos * common/host-defs.h: Rename include guard. 15613 1.1 christos * common/gdb_wait.h: Rename include guard. 15614 1.1 christos * common/gdb_vecs.h: Rename include guard. 15615 1.1 christos * common/gdb_unlinker.h: Rename include guard. 15616 1.1 christos * common/gdb_unique_ptr.h: Rename include guard. 15617 1.1 christos * common/gdb_tilde_expand.h: Rename include guard. 15618 1.1 christos * common/gdb_sys_time.h: Rename include guard. 15619 1.1 christos * common/gdb_string_view.h: Rename include guard. 15620 1.1 christos * common/gdb_splay_tree.h: Rename include guard. 15621 1.1 christos * common/gdb_setjmp.h: Rename include guard. 15622 1.1 christos * common/gdb_ref_ptr.h: Rename include guard. 15623 1.1 christos * common/gdb_optional.h: Rename include guard. 15624 1.1 christos * common/gdb_locale.h: Rename include guard. 15625 1.1 christos * common/gdb_assert.h: Rename include guard. 15626 1.1 christos * common/filtered-iterator.h: Rename include guard. 15627 1.1 christos * common/filestuff.h: Rename include guard. 15628 1.1 christos * common/fileio.h: Rename include guard. 15629 1.1 christos * common/environ.h: Rename include guard. 15630 1.1 christos * common/common-utils.h: Rename include guard. 15631 1.1 christos * common/common-types.h: Rename include guard. 15632 1.1 christos * common/common-regcache.h: Rename include guard. 15633 1.1 christos * common/common-inferior.h: Rename include guard. 15634 1.1 christos * common/common-gdbthread.h: Rename include guard. 15635 1.1 christos * common/common-exceptions.h: Rename include guard. 15636 1.1 christos * common/common-defs.h: Rename include guard. 15637 1.1 christos * common/common-debug.h: Rename include guard. 15638 1.1 christos * common/cleanups.h: Rename include guard. 15639 1.1 christos * common/buffer.h: Rename include guard. 15640 1.1 christos * common/btrace-common.h: Rename include guard. 15641 1.1 christos * common/break-common.h: Rename include guard. 15642 1.1 christos * cli/cli-utils.h: Rename include guard. 15643 1.1 christos * cli/cli-style.h: Rename include guard. 15644 1.1 christos * cli/cli-setshow.h: Rename include guard. 15645 1.1 christos * cli/cli-script.h: Rename include guard. 15646 1.1 christos * cli/cli-interp.h: Rename include guard. 15647 1.1 christos * cli/cli-decode.h: Rename include guard. 15648 1.1 christos * cli/cli-cmds.h: Rename include guard. 15649 1.1 christos * charset-list.h: Add include guard. 15650 1.1 christos * buildsym-legacy.h: Rename include guard. 15651 1.1 christos * bfin-tdep.h: Add include guard. 15652 1.1 christos * ax.h: Rename include guard. 15653 1.1 christos * arm-linux-tdep.h: Add include guard. 15654 1.1 christos * arm-fbsd-tdep.h: Add include guard. 15655 1.1 christos * arch/xtensa.h: Rename include guard. 15656 1.1 christos * arch/tic6x.h: Add include guard. 15657 1.1 christos * arch/i386.h: Add include guard. 15658 1.1 christos * arch/arm.h: Rename include guard. 15659 1.1 christos * arch/arm-linux.h: Rename include guard. 15660 1.1 christos * arch/arm-get-next-pcs.h: Rename include guard. 15661 1.1 christos * arch/amd64.h: Add include guard. 15662 1.1 christos * arch/aarch64-insn.h: Rename include guard. 15663 1.1 christos * arch-utils.h: Rename include guard. 15664 1.1 christos * annotate.h: Add include guard. 15665 1.1 christos * amd64-darwin-tdep.h: Rename include guard. 15666 1.1 christos * aarch64-linux-tdep.h: Add include guard. 15667 1.1 christos * aarch64-fbsd-tdep.h: Add include guard. 15668 1.1 christos * aarch32-linux-nat.h: Add include guard. 15669 1.1 christos 15670 1.1 christos 2019-02-06 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 15671 1.1 christos 15672 1.1 christos * macrotab.c (macro_define_internal): New function that 15673 1.1 christos factorizes macro_define_object_internal and macro_define_function 15674 1.1 christos code. 15675 1.1 christos (macro_define_object_internal): Use macro_define_internal. 15676 1.1 christos (macro_define_function): Likewise. 15677 1.1 christos 15678 1.1 christos 2019-02-06 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 15679 1.1 christos 15680 1.1 christos * macrocmd.c (extract_identifier): Return 15681 1.1 christos a gdb::unique_xmalloc_ptr<char> instead of a char *, and update 15682 1.1 christos callers. 15683 1.1 christos 15684 1.1 christos 2019-02-06 John Baldwin <jhb (a] FreeBSD.org> 15685 1.1 christos 15686 1.1 christos * fbsd-nat.c (fbsd_fetch_cmdline): Join arguments with spaces. 15687 1.1 christos 15688 1.1 christos 2019-02-05 Tom Tromey <tom (a] tromey.com> 15689 1.1 christos 15690 1.1 christos * target.c (target_stack::unpush): Move assertion earlier. 15691 1.1 christos 15692 1.1 christos 2019-01-30 Tom Tromey <tom (a] tromey.com> 15693 1.1 christos 15694 1.1 christos PR python/23615: 15695 1.1 christos * python/python.c (execute_gdb_command): Use gdbpy_allow_threads. 15696 1.1 christos (gdbpy_parse_and_eval): Likewise. 15697 1.1 christos * python/python-internal.h (gdbpy_allow_threads): New class. 15698 1.1 christos 15699 1.1 christos 2019-01-28 John Baldwin <jhb (a] FreeBSD.org> 15700 1.1 christos 15701 1.1 christos * aarch64-fbsd-tdep.c (aarch64_fbsd_gregmap) 15702 1.1 christos (aarch64_fbsd_fpregmap): Move earlier. 15703 1.1 christos (AARCH64_MCONTEXT_REG_SIZE, AARCH64_MCONTEXT_FPREG_SIZE): Delete. 15704 1.1 christos (aarch64_fbsd_sigframe_init): Use trad_frame_set_reg_regmap 15705 1.1 christos instead of individual calls to trad_frame_set_reg_addr. 15706 1.1 christos * arm-fbsd-tdep.c (arm_fbsd_gregmap, arm_fbsd_vfpregmap): Move 15707 1.1 christos earlier. 15708 1.1 christos (ARM_MCONTEXT_REG_SIZE, ARM_MCONTEXT_VFP_REG_SIZE): Delete. 15709 1.1 christos (arm_fbsd_sigframe_init): Use trad_frame_set_reg_regmap 15710 1.1 christos instead of individual calls to trad_frame_set_reg_addr. 15711 1.1 christos 15712 1.1 christos 2019-01-28 Alan Hayward <alan.hayward (a] arm.com> 15713 1.1 christos 15714 1.1 christos * CONTRIBUTE: Replace contribution list with wiki link. 15715 1.1 christos 15716 1.1 christos 2019-01-25 Tom Tromey <tom (a] tromey.com> 15717 1.1 christos 15718 1.1 christos * Makefile.in (GDB_CFLAGS): Don't add -I for common. 15719 1.1 christos 15720 1.1 christos 2019-01-25 Tom Tromey <tom (a] tromey.com> 15721 1.1 christos 15722 1.1 christos * xtensa-linux-nat.c: Fix common/ includes. 15723 1.1 christos * xml-support.h: Fix common/ includes. 15724 1.1 christos * xml-support.c: Fix common/ includes. 15725 1.1 christos * x86-linux-nat.c: Fix common/ includes. 15726 1.1 christos * windows-nat.c: Fix common/ includes. 15727 1.1 christos * varobj.h: Fix common/ includes. 15728 1.1 christos * varobj.c: Fix common/ includes. 15729 1.1 christos * value.c: Fix common/ includes. 15730 1.1 christos * valops.c: Fix common/ includes. 15731 1.1 christos * utils.c: Fix common/ includes. 15732 1.1 christos * unittests/xml-utils-selftests.c: Fix common/ includes. 15733 1.1 christos * unittests/utils-selftests.c: Fix common/ includes. 15734 1.1 christos * unittests/unpack-selftests.c: Fix common/ includes. 15735 1.1 christos * unittests/tracepoint-selftests.c: Fix common/ includes. 15736 1.1 christos * unittests/style-selftests.c: Fix common/ includes. 15737 1.1 christos * unittests/string_view-selftests.c: Fix common/ includes. 15738 1.1 christos * unittests/scoped_restore-selftests.c: Fix common/ includes. 15739 1.1 christos * unittests/scoped_mmap-selftests.c: Fix common/ includes. 15740 1.1 christos * unittests/scoped_fd-selftests.c: Fix common/ includes. 15741 1.1 christos * unittests/rsp-low-selftests.c: Fix common/ includes. 15742 1.1 christos * unittests/parse-connection-spec-selftests.c: Fix common/ 15743 1.1 christos includes. 15744 1.1 christos * unittests/optional-selftests.c: Fix common/ includes. 15745 1.1 christos * unittests/offset-type-selftests.c: Fix common/ includes. 15746 1.1 christos * unittests/observable-selftests.c: Fix common/ includes. 15747 1.1 christos * unittests/mkdir-recursive-selftests.c: Fix common/ includes. 15748 1.1 christos * unittests/memrange-selftests.c: Fix common/ includes. 15749 1.1 christos * unittests/memory-map-selftests.c: Fix common/ includes. 15750 1.1 christos * unittests/lookup_name_info-selftests.c: Fix common/ includes. 15751 1.1 christos * unittests/function-view-selftests.c: Fix common/ includes. 15752 1.1 christos * unittests/environ-selftests.c: Fix common/ includes. 15753 1.1 christos * unittests/copy_bitwise-selftests.c: Fix common/ includes. 15754 1.1 christos * unittests/common-utils-selftests.c: Fix common/ includes. 15755 1.1 christos * unittests/cli-utils-selftests.c: Fix common/ includes. 15756 1.1 christos * unittests/array-view-selftests.c: Fix common/ includes. 15757 1.1 christos * ui-file.c: Fix common/ includes. 15758 1.1 christos * tui/tui-io.c: Fix common/ includes. 15759 1.1 christos * tracepoint.h: Fix common/ includes. 15760 1.1 christos * tracepoint.c: Fix common/ includes. 15761 1.1 christos * tracefile-tfile.c: Fix common/ includes. 15762 1.1 christos * top.h: Fix common/ includes. 15763 1.1 christos * top.c: Fix common/ includes. 15764 1.1 christos * thread.c: Fix common/ includes. 15765 1.1 christos * target/waitstatus.h: Fix common/ includes. 15766 1.1 christos * target/waitstatus.c: Fix common/ includes. 15767 1.1 christos * target.h: Fix common/ includes. 15768 1.1 christos * target.c: Fix common/ includes. 15769 1.1 christos * target-memory.c: Fix common/ includes. 15770 1.1 christos * target-descriptions.c: Fix common/ includes. 15771 1.1 christos * symtab.h: Fix common/ includes. 15772 1.1 christos * symfile.c: Fix common/ includes. 15773 1.1 christos * stap-probe.c: Fix common/ includes. 15774 1.1 christos * spu-linux-nat.c: Fix common/ includes. 15775 1.1 christos * sparc-nat.c: Fix common/ includes. 15776 1.1 christos * source.c: Fix common/ includes. 15777 1.1 christos * solib.c: Fix common/ includes. 15778 1.1 christos * solib-target.c: Fix common/ includes. 15779 1.1 christos * ser-unix.c: Fix common/ includes. 15780 1.1 christos * ser-tcp.c: Fix common/ includes. 15781 1.1 christos * ser-pipe.c: Fix common/ includes. 15782 1.1 christos * ser-base.c: Fix common/ includes. 15783 1.1 christos * selftest-arch.c: Fix common/ includes. 15784 1.1 christos * s12z-tdep.c: Fix common/ includes. 15785 1.1 christos * rust-exp.y: Fix common/ includes. 15786 1.1 christos * rs6000-aix-tdep.c: Fix common/ includes. 15787 1.1 christos * riscv-tdep.c: Fix common/ includes. 15788 1.1 christos * remote.c: Fix common/ includes. 15789 1.1 christos * remote-notif.h: Fix common/ includes. 15790 1.1 christos * remote-fileio.h: Fix common/ includes. 15791 1.1 christos * remote-fileio.c: Fix common/ includes. 15792 1.1 christos * regcache.h: Fix common/ includes. 15793 1.1 christos * regcache.c: Fix common/ includes. 15794 1.1 christos * record-btrace.c: Fix common/ includes. 15795 1.1 christos * python/python.c: Fix common/ includes. 15796 1.1 christos * python/py-type.c: Fix common/ includes. 15797 1.1 christos * python/py-inferior.c: Fix common/ includes. 15798 1.1 christos * progspace.h: Fix common/ includes. 15799 1.1 christos * producer.c: Fix common/ includes. 15800 1.1 christos * procfs.c: Fix common/ includes. 15801 1.1 christos * proc-api.c: Fix common/ includes. 15802 1.1 christos * printcmd.c: Fix common/ includes. 15803 1.1 christos * ppc-linux-nat.c: Fix common/ includes. 15804 1.1 christos * parser-defs.h: Fix common/ includes. 15805 1.1 christos * osdata.c: Fix common/ includes. 15806 1.1 christos * obsd-nat.c: Fix common/ includes. 15807 1.1 christos * nat/x86-linux.c: Fix common/ includes. 15808 1.1 christos * nat/x86-linux-dregs.c: Fix common/ includes. 15809 1.1 christos * nat/x86-dregs.h: Fix common/ includes. 15810 1.1 christos * nat/x86-dregs.c: Fix common/ includes. 15811 1.1 christos * nat/ppc-linux.c: Fix common/ includes. 15812 1.1 christos * nat/mips-linux-watch.h: Fix common/ includes. 15813 1.1 christos * nat/mips-linux-watch.c: Fix common/ includes. 15814 1.1 christos * nat/linux-waitpid.c: Fix common/ includes. 15815 1.1 christos * nat/linux-ptrace.h: Fix common/ includes. 15816 1.1 christos * nat/linux-ptrace.c: Fix common/ includes. 15817 1.1 christos * nat/linux-procfs.c: Fix common/ includes. 15818 1.1 christos * nat/linux-personality.c: Fix common/ includes. 15819 1.1 christos * nat/linux-osdata.c: Fix common/ includes. 15820 1.1 christos * nat/linux-namespaces.c: Fix common/ includes. 15821 1.1 christos * nat/linux-btrace.h: Fix common/ includes. 15822 1.1 christos * nat/linux-btrace.c: Fix common/ includes. 15823 1.1 christos * nat/fork-inferior.c: Fix common/ includes. 15824 1.1 christos * nat/amd64-linux-siginfo.c: Fix common/ includes. 15825 1.1 christos * nat/aarch64-sve-linux-ptrace.c: Fix common/ includes. 15826 1.1 christos * nat/aarch64-linux.c: Fix common/ includes. 15827 1.1 christos * nat/aarch64-linux-hw-point.h: Fix common/ includes. 15828 1.1 christos * nat/aarch64-linux-hw-point.c: Fix common/ includes. 15829 1.1 christos * namespace.h: Fix common/ includes. 15830 1.1 christos * mips-linux-tdep.c: Fix common/ includes. 15831 1.1 christos * minsyms.c: Fix common/ includes. 15832 1.1 christos * mi/mi-parse.h: Fix common/ includes. 15833 1.1 christos * mi/mi-main.c: Fix common/ includes. 15834 1.1 christos * mi/mi-cmd-env.c: Fix common/ includes. 15835 1.1 christos * memrange.h: Fix common/ includes. 15836 1.1 christos * memattr.c: Fix common/ includes. 15837 1.1 christos * maint.h: Fix common/ includes. 15838 1.1 christos * maint.c: Fix common/ includes. 15839 1.1 christos * main.c: Fix common/ includes. 15840 1.1 christos * machoread.c: Fix common/ includes. 15841 1.1 christos * location.c: Fix common/ includes. 15842 1.1 christos * linux-thread-db.c: Fix common/ includes. 15843 1.1 christos * linux-nat.c: Fix common/ includes. 15844 1.1 christos * linux-fork.c: Fix common/ includes. 15845 1.1 christos * inline-frame.c: Fix common/ includes. 15846 1.1 christos * infrun.c: Fix common/ includes. 15847 1.1 christos * inflow.c: Fix common/ includes. 15848 1.1 christos * inferior.h: Fix common/ includes. 15849 1.1 christos * inferior.c: Fix common/ includes. 15850 1.1 christos * infcmd.c: Fix common/ includes. 15851 1.1 christos * inf-ptrace.c: Fix common/ includes. 15852 1.1 christos * inf-child.c: Fix common/ includes. 15853 1.1 christos * ia64-linux-nat.c: Fix common/ includes. 15854 1.1 christos * i387-tdep.c: Fix common/ includes. 15855 1.1 christos * i386-tdep.c: Fix common/ includes. 15856 1.1 christos * i386-linux-tdep.c: Fix common/ includes. 15857 1.1 christos * i386-linux-nat.c: Fix common/ includes. 15858 1.1 christos * i386-go32-tdep.c: Fix common/ includes. 15859 1.1 christos * i386-fbsd-tdep.c: Fix common/ includes. 15860 1.1 christos * i386-fbsd-nat.c: Fix common/ includes. 15861 1.1 christos * guile/scm-type.c: Fix common/ includes. 15862 1.1 christos * guile/guile.c: Fix common/ includes. 15863 1.1 christos * go32-nat.c: Fix common/ includes. 15864 1.1 christos * gnu-nat.c: Fix common/ includes. 15865 1.1 christos * gdbthread.h: Fix common/ includes. 15866 1.1 christos * gdbarch-selftests.c: Fix common/ includes. 15867 1.1 christos * gdb_usleep.c: Fix common/ includes. 15868 1.1 christos * gdb_select.h: Fix common/ includes. 15869 1.1 christos * gdb_bfd.c: Fix common/ includes. 15870 1.1 christos * gcore.c: Fix common/ includes. 15871 1.1 christos * fork-child.c: Fix common/ includes. 15872 1.1 christos * findvar.c: Fix common/ includes. 15873 1.1 christos * fbsd-nat.c: Fix common/ includes. 15874 1.1 christos * event-top.c: Fix common/ includes. 15875 1.1 christos * event-loop.c: Fix common/ includes. 15876 1.1 christos * dwarf2read.c: Fix common/ includes. 15877 1.1 christos * dwarf2loc.c: Fix common/ includes. 15878 1.1 christos * dwarf2-frame.c: Fix common/ includes. 15879 1.1 christos * dwarf-index-cache.c: Fix common/ includes. 15880 1.1 christos * dtrace-probe.c: Fix common/ includes. 15881 1.1 christos * disasm-selftests.c: Fix common/ includes. 15882 1.1 christos * defs.h: Fix common/ includes. 15883 1.1 christos * csky-tdep.c: Fix common/ includes. 15884 1.1 christos * cp-valprint.c: Fix common/ includes. 15885 1.1 christos * cp-support.h: Fix common/ includes. 15886 1.1 christos * cp-support.c: Fix common/ includes. 15887 1.1 christos * corelow.c: Fix common/ includes. 15888 1.1 christos * completer.h: Fix common/ includes. 15889 1.1 christos * completer.c: Fix common/ includes. 15890 1.1 christos * compile/compile.c: Fix common/ includes. 15891 1.1 christos * compile/compile-loc2c.c: Fix common/ includes. 15892 1.1 christos * compile/compile-cplus-types.c: Fix common/ includes. 15893 1.1 christos * compile/compile-cplus-symbols.c: Fix common/ includes. 15894 1.1 christos * command.h: Fix common/ includes. 15895 1.1 christos * cli/cli-dump.c: Fix common/ includes. 15896 1.1 christos * cli/cli-cmds.c: Fix common/ includes. 15897 1.1 christos * charset.c: Fix common/ includes. 15898 1.1 christos * build-id.c: Fix common/ includes. 15899 1.1 christos * btrace.h: Fix common/ includes. 15900 1.1 christos * btrace.c: Fix common/ includes. 15901 1.1 christos * breakpoint.h: Fix common/ includes. 15902 1.1 christos * breakpoint.c: Fix common/ includes. 15903 1.1 christos * ax.h: 15904 1.1 christos (enum agent_op): Fix common/ includes. 15905 1.1 christos * ax-general.c (struct aop_map): Fix common/ includes. 15906 1.1 christos * ax-gdb.c: Fix common/ includes. 15907 1.1 christos * auxv.c: Fix common/ includes. 15908 1.1 christos * auto-load.c: Fix common/ includes. 15909 1.1 christos * arm-tdep.c: Fix common/ includes. 15910 1.1 christos * arch/riscv.c: Fix common/ includes. 15911 1.1 christos * arch/ppc-linux-common.c: Fix common/ includes. 15912 1.1 christos * arch/i386.c: Fix common/ includes. 15913 1.1 christos * arch/arm.c: Fix common/ includes. 15914 1.1 christos * arch/arm-linux.c: Fix common/ includes. 15915 1.1 christos * arch/arm-get-next-pcs.c: Fix common/ includes. 15916 1.1 christos * arch/amd64.c: Fix common/ includes. 15917 1.1 christos * arch/aarch64.c: Fix common/ includes. 15918 1.1 christos * arch/aarch64-insn.c: Fix common/ includes. 15919 1.1 christos * arch-utils.c: Fix common/ includes. 15920 1.1 christos * amd64-windows-tdep.c: Fix common/ includes. 15921 1.1 christos * amd64-tdep.c: Fix common/ includes. 15922 1.1 christos * amd64-sol2-tdep.c: Fix common/ includes. 15923 1.1 christos * amd64-obsd-tdep.c: Fix common/ includes. 15924 1.1 christos * amd64-nbsd-tdep.c: Fix common/ includes. 15925 1.1 christos * amd64-linux-tdep.c: Fix common/ includes. 15926 1.1 christos * amd64-linux-nat.c: Fix common/ includes. 15927 1.1 christos * amd64-fbsd-tdep.c: Fix common/ includes. 15928 1.1 christos * amd64-fbsd-nat.c: Fix common/ includes. 15929 1.1 christos * amd64-dicos-tdep.c: Fix common/ includes. 15930 1.1 christos * amd64-darwin-tdep.c: Fix common/ includes. 15931 1.1 christos * agent.c: Fix common/ includes. 15932 1.1 christos * ada-lang.h: Fix common/ includes. 15933 1.1 christos * ada-lang.c: Fix common/ includes. 15934 1.1 christos * aarch64-tdep.c: Fix common/ includes. 15935 1.1 christos 15936 1.1 christos 2019-01-25 Tom Tromey <tom (a] tromey.com> 15937 1.1 christos 15938 1.1 christos * common/create-version.sh: Use common/version.h. 15939 1.1 christos 15940 1.1 christos 2019-01-24 Pedro Alves <palves (a] redhat.com> 15941 1.1 christos 15942 1.1 christos * infrun.c (signal_stop, signal_print, signal_program) 15943 1.1 christos (signal_catch, signal_pass): Now arrays instead of pointers. 15944 1.1 christos (update_signals_program_target, do_target_resume) 15945 1.1 christos (signal_catch_update, handle_command, _initialize_infrun): Adjust. 15946 1.1 christos * linux-nat.c (linux_nat_target::pass_signals) 15947 1.1 christos (linux_nat_target::create_inferior, linux_nat_target::attach): 15948 1.1 christos Adjust. 15949 1.1 christos * linux-nat.h (linux_nat_target::pass_signals): Adjust. 15950 1.1 christos * nto-procfs.c (nto_procfs_target::pass_signals): Adjust. 15951 1.1 christos * procfs.c (procfs_target::pass_signals): Adjust. 15952 1.1 christos * record-full.c (record_full_target::resume): Adjust. 15953 1.1 christos * remote.c (remote_target::pass_signals) 15954 1.1 christos (remote_target::program_signals): Adjust. 15955 1.1 christos * target-debug.h (target_debug_print_signals): Now takes a 15956 1.1 christos gdb::array_view as parameter. Adjust. 15957 1.1 christos * target.h (target_ops) <pass_signals, program_signals>: Replace 15958 1.1 christos pointer and length parameters with gdb::array_view. 15959 1.1 christos (target_pass_signals, target_program_signals): Likewise. 15960 1.1 christos * target-delegates.c: Regenerate. 15961 1.1 christos 15962 1.1 christos 2019-01-24 Pedro Alves <palves (a] redhat.com> 15963 1.1 christos 15964 1.1 christos * common/forward-scope-exit.h 15965 1.1 christos (forward_scope_exit::forward_scope_exit): Pass arguments to 15966 1.1 christos m_bind_function directly, instead of creating a std::bind and 15967 1.1 christos copying that. 15968 1.1 christos 15969 1.1 christos 2019-01-24 Alan Hayward <alan.hayward (a] arm.com> 15970 1.1 christos 15971 1.1 christos * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check 15972 1.1 christos for static members. 15973 1.1 christos (pass_in_v_vfp_candidate): Likewise. 15974 1.1 christos 15975 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 15976 1.1 christos Pedro Alves <palves (a] redhat.com> 15977 1.1 christos 15978 1.1 christos * regcache.c (class regcache_invalidator): Remove. 15979 1.1 christos (regcache::raw_write): Use make_scope_exit. 15980 1.1 christos 15981 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 15982 1.1 christos 15983 1.1 christos * ui-out.h (class ui_out_emit_type): Update comment. 15984 1.1 christos 15985 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 15986 1.1 christos 15987 1.1 christos * infrun.c (fetch_inferior_event): Update comment. 15988 1.1 christos 15989 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 15990 1.1 christos Pedro Alves <palves (a] redhat.com> 15991 1.1 christos 15992 1.1 christos * infrun.c (reinstall_readline_callback_handler_cleanup): Remove 15993 1.1 christos parameter. 15994 1.1 christos (fetch_inferior_event): Use SCOPE_EXIT. 15995 1.1 christos 15996 1.1 christos 15997 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 15998 1.1 christos Pedro Alves <palves (a] redhat.com> 15999 1.1 christos 16000 1.1 christos * infrun.c (disable_thread_events): Delete. 16001 1.1 christos (stop_all_threads): Use SCOPE_EXIT. 16002 1.1 christos 16003 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 16004 1.1 christos Pedro Alves <palves (a] redhat.com> 16005 1.1 christos 16006 1.1 christos * symfile.c: Include forward-scope-exit.h. 16007 1.1 christos (clear_symtab_users_cleanup): Replace forward declaration with 16008 1.1 christos a FORWARD_SCOPE_EXIT. 16009 1.1 christos (syms_from_objfile_1): Use the forward_scope_exit and 16010 1.1 christos gdb::optional instead of cleanup_function. 16011 1.1 christos (reread_symbols): Use the forward_scope_exit instead of 16012 1.1 christos cleanup_function. 16013 1.1 christos (clear_symtab_users_cleanup): Remove function. 16014 1.1 christos 16015 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 16016 1.1 christos Pedro Alves <palves (a] redhat.com> 16017 1.1 christos 16018 1.1 christos * linux-nat.c: Include scope-exit.h. 16019 1.1 christos (cleanup_target_stop): Remove. 16020 1.1 christos (linux_nat_target::static_tracepoint_markers_by_strid): Use 16021 1.1 christos SCOPE_EXIT. 16022 1.1 christos 16023 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 16024 1.1 christos Pedro Alves <palves (a] redhat.com> 16025 1.1 christos 16026 1.1 christos * infcall.c (cleanup_delete_std_terminate_breakpoint): Remove. 16027 1.1 christos (call_function_by_hand_dummy): Use SCOPE_EXIT. 16028 1.1 christos 16029 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 16030 1.1 christos Andrew Burgess <andrew.burgess (a] embecosm.com> 16031 1.1 christos Pedro Alves <palves (a] redhat.com> 16032 1.1 christos 16033 1.1 christos * infrun.c (fetch_inferior_event): Use scope_exit. 16034 1.1 christos * utils.h (make_bpstat_clear_actions_cleanup): Don't declare. 16035 1.1 christos * top.c (execute_command): Use scope_exit. 16036 1.1 christos * breakpoint.c (bpstat_do_actions): Use scope_exit. 16037 1.1 christos * utils.c (do_bpstat_clear_actions_cleanup) 16038 1.1 christos (make_bpstat_clear_actions_cleanup): Remove. 16039 1.1 christos 16040 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 16041 1.1 christos Pedro Alves <palves (a] redhat.com> 16042 1.1 christos 16043 1.1 christos * infrun.c: Include "common/scope-exit.h" 16044 1.1 christos (delete_just_stopped_threads_infrun_breakpoints_cleanup): Remove. 16045 1.1 christos (wait_for_inferior): Use SCOPE_EXIT. 16046 1.1 christos (fetch_inferior_event): Use scope_exit. 16047 1.1 christos 16048 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 16049 1.1 christos Pedro Alves <palves (a] redhat.com> 16050 1.1 christos 16051 1.1 christos * breakpoint.c (create_breakpoint): Remove cleanup. 16052 1.1 christos 16053 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 16054 1.1 christos Andrew Burgess <andrew.burgess (a] embecosm.com> 16055 1.1 christos Pedro Alves <palves (a] redhat.com> 16056 1.1 christos 16057 1.1 christos 2019-01-23 Pedro Alves <palves (a] redhat.com> 16058 1.1 christos 16059 1.1 christos * gdbarch-selftests.c (struct on_exit): Use SCOPE_EXIT. 16060 1.1 christos 16061 1.1 christos 2019-01-23 Pedro Alves <palves (a] redhat.com> 16062 1.1 christos Andrew Burgess <andrew.burgess (a] embecosm.com> 16063 1.1 christos 16064 1.1 christos * gdbthread.h: Include "common/forward-scope-exit.h". 16065 1.1 christos (scoped_finish_thread_state): Redefine custom class in terms of 16066 1.1 christos forward_scope_exit. 16067 1.1 christos 16068 1.1 christos 2019-01-23 Pedro Alves <palves (a] redhat.com> 16069 1.1 christos Andrew Burgess <andrew.burgess (a] embecosm.com> 16070 1.1 christos 16071 1.1 christos * common/forward-scope-exit.h: New file. 16072 1.1 christos 16073 1.1 christos 2019-01-23 Pedro Alves <palves (a] redhat.com> 16074 1.1 christos Andrew Burgess <andrew.burgess (a] embecosm.com> 16075 1.1 christos Tom Tromey <tom (a] tromey.com> 16076 1.1 christos 16077 1.1 christos * common/scope-exit.h: New file. 16078 1.1 christos 16079 1.1 christos 2019-01-23 Pedro Alves <palves (a] redhat.com> 16080 1.1 christos 16081 1.1 christos * common/preprocessor.h (ESC): Rename to ... 16082 1.1 christos (ESC_PARENS): ... this. 16083 1.1 christos * common/valid-expr.h (CHECK_VALID_EXPR_1, CHECK_VALID_EXPR_2) 16084 1.1 christos (CHECK_VALID_EXPR_3, CHECK_VALID_EXPR_4): Adjust. 16085 1.1 christos 16086 1.1 christos 2019-01-23 Tom Tromey <tom (a] tromey.com> 16087 1.1 christos 16088 1.1 christos * language.h (class scoped_switch_to_sym_language_if_auto): 16089 1.1 christos Initialize m_lang in both cases. 16090 1.1 christos 16091 1.1 christos 2019-01-23 Alan Hayward <alan.hayward (a] arm.com> 16092 1.1 christos 16093 1.1 christos * nat/aarch64-linux.c (aarch64_linux_new_thread): Replace XNEW 16094 1.1 christos with XCNEW. 16095 1.1 christos 16096 1.1 christos 2019-01-22 Tom Tromey <tom (a] tromey.com> 16097 1.1 christos 16098 1.1 christos * corelow.c: Do not include sys/file.h. 16099 1.1 christos 16100 1.1 christos 2019-01-22 Tom Tromey <tom (a] tromey.com> 16101 1.1 christos 16102 1.1 christos * tui/tui-wingeneral.h: Include gdb_curses.h. 16103 1.1 christos 16104 1.1 christos 2019-01-22 Tom Tromey <tom (a] tromey.com> 16105 1.1 christos 16106 1.1 christos * source-cache.h (class source_cache) <get_source_lines, 16107 1.1 christos get_plain_source_lines, extract_lines>: Rename "lines" parameter. 16108 1.1 christos 16109 1.1 christos 2019-01-22 Tom Tromey <tom (a] tromey.com> 16110 1.1 christos 16111 1.1 christos * remote-fileio.h (struct remote_target): Declare. 16112 1.1 christos 16113 1.1 christos 2019-01-22 Tom Tromey <tom (a] tromey.com> 16114 1.1 christos 16115 1.1 christos * python/py-arch.c: Do not include py-ref.h. 16116 1.1 christos * python/py-bpevent.c: Do not include py-ref.h. 16117 1.1 christos * python/py-cmd.c: Do not include py-ref.h. 16118 1.1 christos * python/py-continueevent.c: Do not include py-ref.h. 16119 1.1 christos * python/py-event.h: Do not include py-ref.h. 16120 1.1 christos * python/py-evtregistry.c: Do not include py-ref.h. 16121 1.1 christos * python/py-finishbreakpoint.c: Do not include py-ref.h. 16122 1.1 christos * python/py-frame.c: Do not include py-ref.h. 16123 1.1 christos * python/py-framefilter.c: Do not include py-ref.h. 16124 1.1 christos * python/py-function.c: Do not include py-ref.h. 16125 1.1 christos * python/py-infevents.c: Do not include py-ref.h. 16126 1.1 christos * python/py-linetable.c: Do not include py-ref.h. 16127 1.1 christos * python/py-objfile.c: Do not include py-ref.h. 16128 1.1 christos * python/py-param.c: Do not include py-ref.h. 16129 1.1 christos * python/py-prettyprint.c: Do not include py-ref.h. 16130 1.1 christos * python/py-progspace.c: Do not include py-ref.h. 16131 1.1 christos * python/py-symbol.c: Do not include py-ref.h. 16132 1.1 christos * python/py-symtab.c: Do not include py-ref.h. 16133 1.1 christos * python/py-type.c: Do not include py-ref.h. 16134 1.1 christos * python/py-unwind.c: Do not include py-ref.h. 16135 1.1 christos * python/py-utils.c: Do not include py-ref.h. 16136 1.1 christos * python/py-value.c: Do not include py-ref.h. 16137 1.1 christos * python/py-varobj.c: Do not include py-ref.h. 16138 1.1 christos * python/py-xmethods.c: Do not include py-ref.h. 16139 1.1 christos * python/python.c: Do not include py-ref.h. 16140 1.1 christos * varobj.c: Do not include py-ref.h. 16141 1.1 christos 16142 1.1 christos 2019-01-22 Tom Tromey <tom (a] tromey.com> 16143 1.1 christos 16144 1.1 christos * objfiles.h (struct objfile_per_bfd_storage): Use "struct" 16145 1.1 christos keyword for bcache. 16146 1.1 christos 16147 1.1 christos 2019-01-22 Tom Tromey <tom (a] tromey.com> 16148 1.1 christos 16149 1.1 christos * compile/compile-cplus-types.c: Remove a comment by #include. 16150 1.1 christos 16151 1.1 christos 2019-01-22 Tom Tromey <tom (a] tromey.com> 16152 1.1 christos 16153 1.1 christos * compile/gcc-c-plugin.h: Include compile-internal.h. 16154 1.1 christos 16155 1.1 christos 2019-01-22 Tom Tromey <tom (a] tromey.com> 16156 1.1 christos 16157 1.1 christos * stabsread.c (EXTERN): Do not define. 16158 1.1 christos (symnum, next_symbol_text_func, processing_gcc_compilation) 16159 1.1 christos (within_function, global_sym_chain, global_stabs) 16160 1.1 christos (previous_stab_code, this_object_header_files) 16161 1.1 christos (n_this_object_header_files) 16162 1.1 christos (n_allocated_this_object_header_files): Define. 16163 1.1 christos * stabsread.h (EXTERN): Never define. Use "extern". 16164 1.1 christos 16165 1.1 christos 2019-01-22 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 16166 1.1 christos 16167 1.1 christos * event-top.c (handle_line_of_input): use unique_xmalloc_ptr for 16168 1.1 christos history_value. 16169 1.1 christos 16170 1.1 christos 2019-01-21 Tom Tromey <tom (a] tromey.com> 16171 1.1 christos 16172 1.1 christos * ui-out.c: Fix includes. 16173 1.1 christos * tui/tui-source.c: Fix includes. 16174 1.1 christos * target.c: Fix includes. 16175 1.1 christos * remote.c: Fix includes. 16176 1.1 christos * regcache.c: Fix includes. 16177 1.1 christos * python/py-block.c: Fix includes. 16178 1.1 christos * printcmd.c: Fix includes. 16179 1.1 christos * or1k-tdep.c: Fix includes. 16180 1.1 christos * mi/mi-main.c: Fix includes. 16181 1.1 christos * m32r-tdep.c: Fix includes. 16182 1.1 christos * csky-tdep.c: Fix includes. 16183 1.1 christos * compile/compile-cplus-types.c: Fix includes. 16184 1.1 christos * cli/cli-interp.c: Fix includes. 16185 1.1 christos 16186 1.1 christos 2019-01-21 Alan Hayward <alan.hayward (a] arm.com> 16187 1.1 christos 16188 1.1 christos * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check 16189 1.1 christos for padding. 16190 1.1 christos 16191 1.1 christos 2019-01-16 Tom Tromey <tom (a] tromey.com> 16192 1.1 christos 16193 1.1 christos * objfiles.h (struct minimal_symbol_iterator): Rename. Move 16194 1.1 christos earlier. 16195 1.1 christos (struct objfile) <msymbols_range>: Move from top level. 16196 1.1 christos <msymbols>: New method. 16197 1.1 christos (class objfile_msymbols): Remove. 16198 1.1 christos * symtab.c (default_collect_symbol_completion_matches_break_on): 16199 1.1 christos Update. 16200 1.1 christos * symmisc.c (dump_msymbols): Update. 16201 1.1 christos * stabsread.c (scan_file_globals): Update. 16202 1.1 christos * objc-lang.c (info_selectors_command, info_classes_command) 16203 1.1 christos (find_methods): Update. 16204 1.1 christos * minsyms.c (find_solib_trampoline_target): Update. 16205 1.1 christos * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Update. 16206 1.1 christos * coffread.c (coff_symfile_read): Update. 16207 1.1 christos * ada-lang.c (ada_lookup_simple_minsym) 16208 1.1 christos (ada_collect_symbol_completion_matches): Update. 16209 1.1 christos 16210 1.1 christos 2019-01-16 Tom Tromey <tom (a] tromey.com> 16211 1.1 christos 16212 1.1 christos * objfiles.h (class objfile_msymbols) <iterator>: Change argument 16213 1.1 christos type. Remove no-argument constructor. 16214 1.1 christos <iterator::operator++>: Simplify. 16215 1.1 christos <begin>: Update. 16216 1.1 christos <end>: Use minimal_symbol_count. 16217 1.1 christos 16218 1.1 christos 2019-01-16 Tom Tromey <tom (a] tromey.com> 16219 1.1 christos 16220 1.1 christos * objfiles.h (struct objfile) <psymtabs>: New method. 16221 1.1 christos (class objfile_psymtabs): Remove. 16222 1.1 christos * psymtab.h (class psymtab_storage) <partial_symtab_range>: New 16223 1.1 christos typedef. 16224 1.1 christos <range>: New method. 16225 1.1 christos (require_partial_symbols): Change return type. 16226 1.1 christos * psymtab.c (require_partial_symbols) 16227 1.1 christos (psym_expand_symtabs_matching): Update. 16228 1.1 christos * mdebugread.c (parse_partial_symbols): Update. 16229 1.1 christos * dbxread.c (dbx_end_psymtab): Update. 16230 1.1 christos 16231 1.1 christos 2019-01-15 Tom Tromey <tom (a] tromey.com> 16232 1.1 christos 16233 1.1 christos * symtab.c (lookup_objfile_from_block) 16234 1.1 christos (lookup_symbol_in_objfile_symtabs) 16235 1.1 christos (basic_lookup_transparent_type_1, find_pc_sect_compunit_symtab) 16236 1.1 christos (find_line_symtab, info_sources_command) 16237 1.1 christos (default_collect_symbol_completion_matches_break_on) 16238 1.1 christos (make_source_files_completion_list): Update. 16239 1.1 christos * symmisc.c (print_objfile_statistics, dump_objfile) 16240 1.1 christos (maintenance_print_symbols, maintenance_info_symtabs) 16241 1.1 christos (maintenance_check_symtabs, maintenance_info_line_tables): 16242 1.1 christos Update. 16243 1.1 christos * source.c (select_source_symtab) 16244 1.1 christos (forget_cached_source_info_for_objfile): Update. 16245 1.1 christos * objfiles.h (class objfile_compunits): Remove. 16246 1.1 christos (struct objfile) <compunits_range>: New typedef. 16247 1.1 christos (compunits): New method. 16248 1.1 christos * objfiles.c (objfile_relocate1): Update. 16249 1.1 christos * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update. 16250 1.1 christos * maint.c (count_symtabs_and_blocks): Update. 16251 1.1 christos * linespec.c (iterate_over_all_matching_symtabs): Update. 16252 1.1 christos * cp-support.c (add_symbol_overload_list_qualified): Update. 16253 1.1 christos * coffread.c (coff_symtab_read): Update. 16254 1.1 christos * ada-lang.c (add_nonlocal_symbols) 16255 1.1 christos (ada_collect_symbol_completion_matches) 16256 1.1 christos (ada_add_global_exceptions): Update. 16257 1.1 christos 16258 1.1 christos 2019-01-15 Tom Tromey <tom (a] tromey.com> 16259 1.1 christos 16260 1.1 christos * progspace.h (program_space) <objfiles_safe_range>: New 16261 1.1 christos typedef. 16262 1.1 christos <objfiles_safe>: New method. 16263 1.1 christos * objfiles.h (class all_objfiles_safe): Remove. 16264 1.1 christos * objfiles.c (free_all_objfiles, objfile_purge_solibs): Update. 16265 1.1 christos * jit.c (jit_inferior_exit_hook): Update. 16266 1.1 christos 16267 1.1 christos 2019-01-17 Tom Tromey <tom (a] tromey.com> 16268 1.1 christos 16269 1.1 christos * progspace.h (program_space) <objfiles_range>: New typedef. 16270 1.1 christos <objfiles>: New method. 16271 1.1 christos <objfiles_head>: Rename from objfiles. 16272 1.1 christos (object_files): Update. 16273 1.1 christos * guile/scm-progspace.c (gdbscm_progspace_objfiles): Update. 16274 1.1 christos * guile/scm-pretty-print.c 16275 1.1 christos (ppscm_find_pretty_printer_from_objfiles): Update. 16276 1.1 christos * guile/scm-objfile.c (gdbscm_objfiles): Update. 16277 1.1 christos * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): 16278 1.1 christos Update. 16279 1.1 christos * python/py-progspace.c (pspy_get_objfiles): Update. 16280 1.1 christos * python/py-prettyprint.c (find_pretty_printer_from_objfiles): 16281 1.1 christos Update. 16282 1.1 christos * python/py-objfile.c (objfpy_lookup_objfile_by_name) 16283 1.1 christos (objfpy_lookup_objfile_by_build_id): Update. 16284 1.1 christos * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update. 16285 1.1 christos * windows-tdep.c (windows_iterate_over_objfiles_in_search_order): 16286 1.1 christos Update. 16287 1.1 christos * symtab.c (iterate_over_symtabs, matching_obj_sections) 16288 1.1 christos (expand_symtab_containing_pc, lookup_objfile_from_block) 16289 1.1 christos (lookup_static_symbol, basic_lookup_transparent_type) 16290 1.1 christos (find_pc_sect_compunit_symtab, find_symbol_at_address) 16291 1.1 christos (find_line_symtab, info_sources_command) 16292 1.1 christos (default_collect_symbol_completion_matches_break_on) 16293 1.1 christos (make_source_files_completion_list, find_main_name): Update. 16294 1.1 christos * symmisc.c (print_symbol_bcache_statistics) 16295 1.1 christos (print_objfile_statistics, maintenance_print_symbols) 16296 1.1 christos (maintenance_print_msymbols, maintenance_print_objfiles) 16297 1.1 christos (maintenance_info_symtabs, maintenance_check_symtabs) 16298 1.1 christos (maintenance_expand_symtabs, maintenance_info_line_tables): 16299 1.1 christos Update. 16300 1.1 christos * symfile.c (remove_symbol_file_command, overlay_invalidate_all) 16301 1.1 christos (find_pc_overlay, find_pc_mapped_section, list_overlays_command) 16302 1.1 christos (map_overlay_command, unmap_overlay_command) 16303 1.1 christos (simple_overlay_update, expand_symtabs_matching) 16304 1.1 christos (map_symbol_filenames): Update. 16305 1.1 christos * symfile-debug.c (set_debug_symfile): Update. 16306 1.1 christos * spu-tdep.c (spu_overlay_update, spu_objfile_from_frame): 16307 1.1 christos Update. 16308 1.1 christos * source.c (select_source_symtab, forget_cached_source_info): 16309 1.1 christos Update. 16310 1.1 christos * solib.c (solib_read_symbols): Update. 16311 1.1 christos * solib-spu.c (append_ocl_sos): Update. 16312 1.1 christos * psymtab.c (maintenance_print_psymbols) 16313 1.1 christos (maintenance_info_psymtabs, maintenance_check_psymtabs): Update. 16314 1.1 christos * probe.c (parse_probes_in_pspace, find_probe_by_pc): Update. 16315 1.1 christos * printcmd.c (info_symbol_command): Update. 16316 1.1 christos * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created): 16317 1.1 christos Update. 16318 1.1 christos * objfiles.h (class all_objfiles): Remove. 16319 1.1 christos * objfiles.c (have_partial_symbols, have_full_symbols) 16320 1.1 christos (have_minimal_symbols, qsort_cmp, update_section_map) 16321 1.1 christos (shared_objfile_contains_address_p) 16322 1.1 christos (default_iterate_over_objfiles_in_search_order): Update. 16323 1.1 christos * objc-lang.c (info_selectors_command, info_classes_command) 16324 1.1 christos (find_methods): Update. 16325 1.1 christos * minsyms.c (find_solib_trampoline_target): Update. 16326 1.1 christos * maint.c (maintenance_info_sections) 16327 1.1 christos (maintenance_translate_address, count_symtabs_and_blocks): 16328 1.1 christos Update. 16329 1.1 christos * main.c (captured_main_1): Update. 16330 1.1 christos * linux-thread-db.c (try_thread_db_load_from_pdir) 16331 1.1 christos (has_libpthread): Update. 16332 1.1 christos * linespec.c (iterate_over_all_matching_symtabs) 16333 1.1 christos (search_minsyms_for_name): Update. 16334 1.1 christos * jit.c (jit_find_objf_with_entry_addr): Update. 16335 1.1 christos * hppa-tdep.c (find_unwind_entry) 16336 1.1 christos (hppa_lookup_stub_minimal_symbol): Update. 16337 1.1 christos * gcore.c (gcore_create_callback, objfile_find_memory_regions): 16338 1.1 christos Update. 16339 1.1 christos * elfread.c (elf_gnu_ifunc_resolve_by_cache) 16340 1.1 christos (elf_gnu_ifunc_resolve_by_got): Update. 16341 1.1 christos * dwarf2-frame.c (dwarf2_frame_find_fde): Update. 16342 1.1 christos * dwarf-index-write.c (save_gdb_index_command): Update. 16343 1.1 christos * cp-support.c (add_symbol_overload_list_qualified): Update. 16344 1.1 christos * breakpoint.c (create_overlay_event_breakpoint) 16345 1.1 christos (create_longjmp_master_breakpoint) 16346 1.1 christos (create_std_terminate_master_breakpoint) 16347 1.1 christos (create_exception_master_breakpoint): Update. 16348 1.1 christos * blockframe.c (find_pc_partial_function): Update. 16349 1.1 christos * ada-lang.c (ada_lookup_simple_minsym, add_nonlocal_symbols) 16350 1.1 christos (ada_collect_symbol_completion_matches) 16351 1.1 christos (ada_add_global_exceptions): Update. 16352 1.1 christos 16353 1.1 christos 2019-01-17 Tom Tromey <tom (a] tromey.com> 16354 1.1 christos 16355 1.1 christos * solib-target.c (lm_info_target_p): Remove typedef. Don't 16356 1.1 christos declare VEC. 16357 1.1 christos (solib_target_parse_libraries): Change return type. 16358 1.1 christos (library_list_start_segment, library_list_start_section) 16359 1.1 christos (library_list_end_library, library_list_start_library); Update. 16360 1.1 christos (solib_target_free_library_list): Remove. 16361 1.1 christos (solib_target_parse_libraries): Remove cleanup. Change return 16362 1.1 christos type. 16363 1.1 christos (solib_target_current_sos): Update. 16364 1.1 christos 16365 1.1 christos 2019-01-17 Tom Tromey <tromey@bapiya> 16366 1.1 christos 16367 1.1 christos * valprint.c: Replace "the the" with "the". 16368 1.1 christos * symtab.c: Replace "the the" with "the". 16369 1.1 christos * solib.c: Replace "the the" with "the". 16370 1.1 christos * solib-dsbt.c: Replace "the the" with "the". 16371 1.1 christos * linespec.c: Replace "the the" with "the". 16372 1.1 christos * dwarf2loc.h: Replace "the the" with "the". 16373 1.1 christos * amd64-windows-tdep.c: Replace "the the" with "the". 16374 1.1 christos * aarch64-tdep.c: Replace "the the" with "the". 16375 1.1 christos 16376 1.1 christos 2019-01-16 Keith Seitz <keiths (a] redhat.com> 16377 1.1 christos 16378 1.1 christos PR gdb/23773 16379 1.1 christos * dwarf2read.c (dwarf2_cu) <ancestor>: New field. 16380 1.1 christos <builder>: Rename to .. 16381 1.1 christos <m_builder>: ... this and make private. 16382 1.1 christos (dwarf2_cu::get_builder): New method. Change all users of 16383 1.1 christos `builder' to use this method. 16384 1.1 christos (dwarf2_start_symtab): Move to ... 16385 1.1 christos (dwarf2_cu::start_symtab): ... here. Update all callers 16386 1.1 christos (setup_type_unit_groups): Move to ... 16387 1.1 christos (dwarf2_cu::setup_type_unit_groups): ... here. Update all 16388 1.1 christos callers. 16389 1.1 christos (dwarf2_cu::reset_builder): New method. 16390 1.1 christos (process_full_compunit, process_full_type_unit): Use 16391 1.1 christos dwarf2_cu::reset_builder. 16392 1.1 christos (follow_die_offset): Record the ancestor CU if it is different 16393 1.1 christos from the followed DIE's CU. 16394 1.1 christos (follow_die_sig_1): Likewise. 16395 1.1 christos 16396 1.1 christos 2019-01-15 Tom Tromey <tom (a] tromey.com> 16397 1.1 christos 16398 1.1 christos * remote.c (class remote_state) <buf>: Now a char_vector. 16399 1.1 christos <buf_size>: Remove. 16400 1.1 christos (remote_target::getpkt): Change type of buf. Remove sizeof_buf 16401 1.1 christos parameter. 16402 1.1 christos (remote_target::getpkt_or_notif_sane_1) 16403 1.1 christos (remote_target::getpkt_sane) 16404 1.1 christos (remote_target::getpkt_or_notif_sane): Likewise. 16405 1.1 christos (class remote_target) <putpkt>: New overload. 16406 1.1 christos (remote_target::read_frame): Change type of "buf_p". Remove 16407 1.1 christos sizeof_p parameter. 16408 1.1 christos (packet_ok): New overload. 16409 1.1 christos (packet_check_result): New overload. 16410 1.1 christos Update all uses. 16411 1.1 christos 16412 1.1 christos 2019-01-14 Tom Tromey <tom (a] tromey.com> 16413 1.1 christos 16414 1.1 christos * remote-notif.c (handle_notification, remote_notif_ack) 16415 1.1 christos (remote_notif_parse): Make "buf" const. 16416 1.1 christos * remote-notif.h (struct notif_client) <parse, ack>: Make "buf" 16417 1.1 christos const. 16418 1.1 christos (remote_notif_parse, remote_notif_ack, handle_notification): 16419 1.1 christos Likewise. 16420 1.1 christos * remote.c (remote_notif_stop_parse): Make "buf" const. 16421 1.1 christos (remote_target::remote_parse_stop_reply): Make "buf" const. 16422 1.1 christos (remote_notif_stop_ack): Make "buf" const. 16423 1.1 christos 16424 1.1 christos 2019-01-14 Tom Tromey <tom (a] tromey.com> 16425 1.1 christos 16426 1.1 christos * remote.c (remote_console_output): Make parameter const. 16427 1.1 christos 16428 1.1 christos 2019-01-14 Tom Tromey <tom (a] tromey.com> 16429 1.1 christos 16430 1.1 christos * target-debug.h (target_debug_print_signals): Constify. 16431 1.1 christos * nto-procfs.c (nto_procfs_target::pass_signals): Update. 16432 1.1 christos * procfs.c (procfs_target::pass_signals): Update. 16433 1.1 christos * linux-nat.c (linux_nat_target::pass_signals): Update. 16434 1.1 christos * linux-nat.h (class linux_nat_target) <pass_signals>: Update. 16435 1.1 christos * target-delegates.c: Rebuild. 16436 1.1 christos * remote.c (remote_target::program_signals): Update. 16437 1.1 christos (remote_target::pass_signals): Update. 16438 1.1 christos * target.c (target_pass_signals): Constify argument. 16439 1.1 christos (target_program_signals): Likewise. 16440 1.1 christos * target.h (struct target_ops) <pass_signals, program_signals>: 16441 1.1 christos Constify argument. 16442 1.1 christos (target_pass_signals, target_program_signals): Constify argument. 16443 1.1 christos 16444 1.1 christos 2019-01-14 Tom Tromey <tom (a] tromey.com> 16445 1.1 christos 16446 1.1 christos PR tui/28819: 16447 1.1 christos * tui/tui-io.c (gdb_wgetch): Print \r when needed. 16448 1.1 christos 16449 1.1 christos 2019-01-14 Pedro Franco de Carvalho <pedromfc (a] linux.ibm.com> 16450 1.1 christos 16451 1.1 christos * ppc-tdep.h (struct gdbarch_tdep) <ppc_v0_alias_regnum>: New 16452 1.1 christos field. 16453 1.1 christos * rs6000-tdep.c: Include reggroups.h. 16454 1.1 christos (IS_V_ALIAS_PSEUDOREG): Define. 16455 1.1 christos (rs6000_register_name): Return names for the "vX" aliases. 16456 1.1 christos (rs6000_pseudo_register_type): Return type for the "vX" aliases. 16457 1.1 christos (rs6000_pseudo_register_reggroup_p): Restore. Handle "vX" 16458 1.1 christos aliases. Call default_register_reggroup_p for all other 16459 1.1 christos pseudo-registers. 16460 1.1 christos (v_alias_pseudo_register_read, v_alias_pseudo_register_write): 16461 1.1 christos New functions. 16462 1.1 christos (rs6000_pseudo_register_read, rs6000_pseudo_register_write): 16463 1.1 christos Handle "vX" aliases. 16464 1.1 christos (v_alias_pseudo_register_collect): New function. 16465 1.1 christos (rs6000_ax_pseudo_register_collect): Handle "vX" aliases. 16466 1.1 christos (rs6000_gdbarch_init): Initialize "vX" aliases as 16467 1.1 christos pseudo-registers. Restore registration of 16468 1.1 christos rs6000_pseudo_register_reggroup_p with 16469 1.1 christos set_tdesc_pseudo_register_reggroup_p. 16470 1.1 christos 16471 1.1 christos 2019-01-13 Max Filippov <jcmvbkbc (a] gmail.com> 16472 1.1 christos 16473 1.1 christos * xtensa-linux-tdep.c (xtensa_linux_init_abi): Update 16474 1.1 christos tdep->num_pseudo_regs. Add calls to set_gdbarch_num_regs and 16475 1.1 christos set_gdbarch_num_pseudo_regs. 16476 1.1 christos 16477 1.1 christos 2019-01-12 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 16478 1.1 christos 16479 1.1 christos * cli/cli-style.h (class cli_style_option): <add_setshow_commands> 16480 1.1 christos Remove arg prefixname, add do_set and do_show. 16481 1.1 christos Add member functions set_list and show_list. 16482 1.1 christos * cli/cli-style.c (class cli_style_option): Update accordingly. 16483 1.1 christos (style_set_list): Move to file scope. 16484 1.1 christos (style_show_list): Likewise. 16485 1.1 christos (set_style): Call help_list. 16486 1.1 christos (show_style): Call cmd_show_list. 16487 1.1 christos (_initialize_cli_style): New macro STYLE_ADD_SETSHOW_COMMANDS. 16488 1.1 christos Update to use the new macro. 16489 1.1 christos 16490 1.1 christos 2019-10-12 Joel Brobecker <brobecker (a] adacore.com> 16491 1.1 christos 16492 1.1 christos * ada-lang.c (_initialize_ada_language): Expand the help text 16493 1.1 christos for the "catch exception" command. 16494 1.1 christos 16495 1.1 christos 2019-01-12 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 16496 1.1 christos 16497 1.1 christos * symtab.c (matching_obj_sections): Initialize obj, 16498 1.1 christos declare it closer to its usage. 16499 1.1 christos 16500 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16501 1.1 christos 16502 1.1 christos * thread-iter.h (inf_threads_iterator): Use next_iterator. 16503 1.1 christos (basic_inf_threads_range): Remove. 16504 1.1 christos (inf_threads_range, inf_non_exited_threads_range) 16505 1.1 christos (safe_inf_threads_range): Use next_adapter. 16506 1.1 christos 16507 1.1 christos 2019-01-10 Keith Seitz <keiths (a] redhat.com> 16508 1.1 christos 16509 1.1 christos PR gdb/23712 16510 1.1 christos PR symtab/23010 16511 1.1 christos * dwarf2read.c (dw2_add_symbol_to_list): Remove. 16512 1.1 christos (fixup_go_packaging, new_symbol): Use add_symbol_to_list. 16513 1.1 christos 16514 1.1 christos 2019-01-10 Keith Seitz <keiths (a] redhat.com> 16515 1.1 christos 16516 1.1 christos PR gdb/23712 16517 1.1 christos PR symtab/23010 16518 1.1 christos * dictionary.c (pending_to_vector): Remove. 16519 1.1 christos (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1): 16520 1.1 christos Remove _1 suffix, replacing functions of the same name. Update 16521 1.1 christos all callers. 16522 1.1 christos (dict_create_hashed, dict_create_hashed_expandable) 16523 1.1 christos (dict_create_linear, dict_create_linear_expandable, dict_free) 16524 1.1 christos (dict_add_symbol, dict_add_pending, dict_size, dict_empty): 16525 1.1 christos Make functions static. 16526 1.1 christos 16527 1.1 christos 2019-01-10 Keith Seitz <keiths (a] redhat.com> 16528 1.1 christos 16529 1.1 christos PR gdb/23712 16530 1.1 christos PR symtab/23010 16531 1.1 christos * dictionary.h (struct dictionary): Replace declaration with 16532 1.1 christos multidictionary. 16533 1.1 christos (dict_create_hashed, dict_create_hashed_expandable) 16534 1.1 christos (dict_create_linear, dict_create_linear_expandable) 16535 1.1 christos (dict_free, dict_add_symbol, dict_add_pending, dict_empty) 16536 1.1 christos (dict_iterator_first, dict_iterator_next, dict_iter_match_first) 16537 1.1 christos (dict_iter_match_next, dict_size): Rename to "mdict_" versions 16538 1.1 christos taking multidictionary argument. 16539 1.1 christos [ALL_DICT_SYMBOLS]: Update for multidictionary. 16540 1.1 christos * block.h (struct block) <dict>: Change to multidictionary 16541 1.1 christos and rename `multidict'. 16542 1.1 christos * block.c, buildsym.c, jit.c, mdebugread.c, objfiles.c, 16543 1.1 christos symmisc.c: Update all dictionary references to multidictionary. 16544 1.1 christos 16545 1.1 christos 2019-01-10 Keith Seitz <keiths (a] redhat.com> 16546 1.1 christos 16547 1.1 christos PR gdb/23712 16548 1.1 christos PR symtab/23010 16549 1.1 christos * dictionary.c: Include unordered_map. 16550 1.1 christos (pending_to_vector): New function. 16551 1.1 christos (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1): 16552 1.1 christos Rewrite the non-"_1" functions to take vector instead 16553 1.1 christos of linked list. 16554 1.1 christos (dict_create_hashed, dict_create_linear, dict_add_pending): Use the 16555 1.1 christos "new" _1 versions of the same name. 16556 1.1 christos (multidictionary): Define. 16557 1.1 christos (std::hash<enum language): New definition. 16558 1.1 christos (collate_pending_symbols_by_language, mdict_create_hashed) 16559 1.1 christos (mdict_create_hashed_expandable, mdict_create_linear) 16560 1.1 christos (mdict_create_linear_expandable, mdict_free) 16561 1.1 christos (find_language_dictionary, create_new_language_dictionary) 16562 1.1 christos (mdict_add_symbol, mdict_add_pending, mdict_iterator_first) 16563 1.1 christos (mdict_iterator_next, mdict_iter_match_first, mdict_iter_match_next) 16564 1.1 christos (mdict_size, mdict_empty): New functions. 16565 1.1 christos * dictionary.h (mdict_iterator): Define. 16566 1.1 christos 16567 1.1 christos 2019-01-10 Pedro Alves <palves (a] redhat.com> 16568 1.1 christos 16569 1.1 christos * breakpoint.c (read_uploaded_action) 16570 1.1 christos (create_tracepoint_from_upload): Adjust to use 16571 1.1 christos gdb::unique_xmalloc_ptr. 16572 1.1 christos * ctf.c (ctf_write_uploaded_tp): 16573 1.1 christos (SET_ARRAY_FIELD): Use emplace_back. 16574 1.1 christos (SET_STRING_FIELD): Adjust to use gdb::unique_xmalloc_ptr. 16575 1.1 christos * tracefile-tfile.c (tfile_write_uploaded_tp): 16576 1.1 christos * tracepoint.c (parse_tracepoint_definition): Adjust to use 16577 1.1 christos gdb::unique_xmalloc_ptr. 16578 1.1 christos * tracepoint.h (struct uploaded_tp) <cond, actions, step_actions, 16579 1.1 christos at_string, cond_string, cmd_strings>: Replace char pointers 16580 1.1 christos with gdb::unique_xmalloc_ptr. 16581 1.1 christos 16582 1.1 christos 2019-01-10 Pedro Alves <palves (a] redhat.com> 16583 1.1 christos 16584 1.1 christos * solib-target.c (library_list_start_library): Don't xstrdup name. 16585 1.1 christos 16586 1.1 christos 2019-01-10 Pedro Alves <palves (a] redhat.com> 16587 1.1 christos 16588 1.1 christos * mdebugread.c (parse_partial_symbols): Use 16589 1.1 christos gdb::unique_xmalloc_ptr to manage heap-allocated 'stabsstring'. 16590 1.1 christos 16591 1.1 christos 2019-01-10 Andrew Burgess <andrew.burgess (a] embecosm.com> 16592 1.1 christos 16593 1.1 christos * linux-fork.c (scoped_switch_fork_info) 16594 1.1 christos <~scoped_switch_fork_info>: Fix incorrect variable name. 16595 1.1 christos 16596 1.1 christos 2019-01-10 Andrew Burgess <andrew.burgess (a] embecosm.com> 16597 1.1 christos 16598 1.1 christos * linux-fork.c (scoped_switch_fork_info) 16599 1.1 christos <scoped_switch_fork_info>: Make explicit. 16600 1.1 christos <~scoped_switch_fork_info>: Wrap core in TRY/CATCH. 16601 1.1 christos 16602 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16603 1.1 christos 16604 1.1 christos * objfiles.h (objfile::reset_psymtabs): Update. 16605 1.1 christos * objfiles.c (objfile::objfile): Update. 16606 1.1 christos * psymtab.h (psymtab_storage::obstack): Update. 16607 1.1 christos (psymtab_storage::m_obstack): Use gdb::optional. 16608 1.1 christos (class psymtab_storage): Update comment. Remove objfile 16609 1.1 christos parameter. 16610 1.1 christos * psymtab.c (psymtab_storage::psymtab_storage): Update. 16611 1.1 christos 16612 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16613 1.1 christos 16614 1.1 christos * psymtab.h (psymtab_storage::allocate_psymtab): New method. 16615 1.1 christos <free_psymtabs>: Now private. 16616 1.1 christos * psymtab.c (psymtab_storage::allocate_psymtab): Implement. 16617 1.1 christos (allocate_psymtab): Use new method. 16618 1.1 christos 16619 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16620 1.1 christos 16621 1.1 christos * xcoffread.c (xcoff_end_psymtab): Use allocate_dependencies. 16622 1.1 christos * psymtab.h (psymtab_storage::allocate_dependencies): New method. 16623 1.1 christos * mdebugread.c (parse_partial_symbols): Use 16624 1.1 christos allocate_dependencies. 16625 1.1 christos * dwarf2read.c (dwarf2_create_include_psymtab): Use 16626 1.1 christos allocate_dependencies. 16627 1.1 christos (process_psymtab_comp_unit_reader) 16628 1.1 christos (build_type_psymtab_dependencies): Likewise. 16629 1.1 christos * dbxread.c (dbx_end_psymtab): Use allocate_dependencies. 16630 1.1 christos 16631 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16632 1.1 christos 16633 1.1 christos * psymtab.c (add_psymbol_to_bcache): Pass psymtab obstack to 16634 1.1 christos PSYMBOL_SET_LANGUAGE. 16635 1.1 christos (allocate_psymtab): Allocate psymtab on the psymtab obstack. 16636 1.1 christos 16637 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16638 1.1 christos 16639 1.1 christos * psymtab.h (psymtab_storage::obstack): New method. 16640 1.1 christos <m_obstack>: Rename from obstack; now private. 16641 1.1 christos * psymtab.c (psymtab_storage): Update. 16642 1.1 christos * dwarf2read.c (create_addrmap_from_index) 16643 1.1 christos (create_addrmap_from_aranges, dwarf2_build_psymtabs_hard): 16644 1.1 christos Update. 16645 1.1 christos 16646 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16647 1.1 christos 16648 1.1 christos * symfile.c (reread_symbols): Call objfile->reset_psymtabs. 16649 1.1 christos * objfiles.h (objfile::reset_psymtabs): New method. 16650 1.1 christos 16651 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16652 1.1 christos 16653 1.1 christos * symmisc.c (print_symbol_bcache_statistics): Update. 16654 1.1 christos (print_objfile_statistics): Update. 16655 1.1 christos * symfile.c (reread_symbols): Update. 16656 1.1 christos * psymtab.h (class psymtab_storage): New. 16657 1.1 christos * psymtab.c (psymtab_storage): New constructor. 16658 1.1 christos (~psymtab_storage): New destructor. 16659 1.1 christos (require_partial_symbols): Update. 16660 1.1 christos (ALL_OBJFILE_PSYMTABS_REQUIRED): Rewrite. 16661 1.1 christos (find_pc_sect_psymtab, find_pc_sect_psymbol) 16662 1.1 christos (match_partial_symbol, lookup_partial_symbol, dump_psymtab) 16663 1.1 christos (psym_dump, recursively_search_psymtabs, psym_has_symbols) 16664 1.1 christos (psym_find_compunit_symtab_by_address, sort_pst_symbols) 16665 1.1 christos (start_psymtab_common, end_psymtab_common) 16666 1.1 christos (add_psymbol_to_bcache, add_psymbol_to_list, init_psymbol_list) 16667 1.1 christos (allocate_psymtab): Update. 16668 1.1 christos (psymtab_storage::discard_psymtab): Rename from discard_psymtab. 16669 1.1 christos Update. 16670 1.1 christos (dump_psymtab_addrmap, maintenance_print_psymbols) 16671 1.1 christos (maintenance_check_psymtabs): Update. 16672 1.1 christos (class objfile_psymtabs): Move to objfiles.h. 16673 1.1 christos * psympriv.h (discard_psymtab): Now inline. 16674 1.1 christos (psymtab_discarder::psymtab_discarder): Update. 16675 1.1 christos (psymtab_discarder::~psymtab_discarder): Update. 16676 1.1 christos (ALL_OBJFILE_PSYMTABS): Rewrite. 16677 1.1 christos * objfiles.h (struct objfile) <psymtabs, psymtabs_addrmap, 16678 1.1 christos free_psymtabs, psymbol_cache, global_psymbols, static_psymbols>: 16679 1.1 christos Remove fields. 16680 1.1 christos <partial_symtabs>: New field. 16681 1.1 christos (class objfile_psymtabs): Move from psymtab.h. Update. 16682 1.1 christos * objfiles.c (objfile::objfile): Initialize partial_symtabs, not 16683 1.1 christos psymbol_cache. 16684 1.1 christos (objfile::~objfile): Don't destroy psymbol_cache. 16685 1.1 christos * mdebugread.c (parse_partial_symbols): Update. 16686 1.1 christos * dwarf2read.c (create_addrmap_from_index) 16687 1.1 christos (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab) 16688 1.1 christos (process_psymtab_comp_unit_reader, dwarf2_build_psymtabs_hard) 16689 1.1 christos (add_partial_subprogram, dwarf2_ranges_read): Update. 16690 1.1 christos * dwarf-index-write.c (write_address_map) 16691 1.1 christos (write_one_signatured_type, recursively_write_psymbols) 16692 1.1 christos (class debug_names, class debug_names, write_psymtabs_to_index): 16693 1.1 christos Update. 16694 1.1 christos 16695 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16696 1.1 christos 16697 1.1 christos * symtab.h (SYMBOL_SET_NAMES): Update. 16698 1.1 christos (symbol_set_names): Update. 16699 1.1 christos (MSYMBOL_SET_NAMES): Update. 16700 1.1 christos * symtab.c (symbol_set_names): Change argument to be an 16701 1.1 christos objfile_per_bfd_storage. 16702 1.1 christos * psymtab.c (add_psymbol_to_bcache): Update. 16703 1.1 christos * psympriv.h (PSYMBOL_SET_NAMES): Take per_bfd argument. 16704 1.1 christos 16705 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16706 1.1 christos 16707 1.1 christos * symtab.c (create_demangled_names_hash): Change argument to be an 16708 1.1 christos objfile_per_bfd_storage. 16709 1.1 christos (symbol_set_names): Update. 16710 1.1 christos 16711 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16712 1.1 christos 16713 1.1 christos * xcoffread.c (xcoff_initial_scan): Unconditionally call 16714 1.1 christos init_psymbol_list. 16715 1.1 christos * psymtab.c (init_psymbol_list): Do nothing if already called. 16716 1.1 christos * psympriv.h (init_psymbol_list): Add comment. 16717 1.1 christos * dwarf2read.c (dwarf2_build_psymtabs): Unconditionally call 16718 1.1 christos init_psymbol_list. 16719 1.1 christos * dbxread.c (dbx_symfile_read): Unconditionally call 16720 1.1 christos init_psymbol_list. 16721 1.1 christos 16722 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16723 1.1 christos 16724 1.1 christos * xcoffread.c (scan_xcoff_symtab): Update. 16725 1.1 christos * psymtab.c (add_psymbol_to_list): Replace "list" parameter with 16726 1.1 christos "where". 16727 1.1 christos * mdebugread.c (parse_partial_symbols) 16728 1.1 christos (handle_psymbol_enumerators): Update. 16729 1.1 christos * dwarf2read.c (add_partial_symbol, load_partial_dies): Update. 16730 1.1 christos * dbxread.c (read_dbx_symtab): Update. 16731 1.1 christos * psympriv.h (psymbol_placement): New enum. 16732 1.1 christos (add_psymbol_to_list): Update. 16733 1.1 christos 16734 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16735 1.1 christos 16736 1.1 christos * xcoffread.c (xcoff_start_psymtab): Remove global_psymbols and 16737 1.1 christos static_psymbols parameters. 16738 1.1 christos (scan_xcoff_symtab): Update. 16739 1.1 christos * psymtab.c (start_psymtab_common): Remove global_psymbols and 16740 1.1 christos static_psymbols parameters. 16741 1.1 christos * psympriv.h (start_psymtab_common): Update. 16742 1.1 christos * mdebugread.c (parse_partial_symbols): Update. 16743 1.1 christos * dwarf2read.c (create_partial_symtab): Update. 16744 1.1 christos * dbxread.c (read_dbx_symtab): Update. 16745 1.1 christos (start_psymtab): Remove global_psymbols and static_psymbols 16746 1.1 christos parameters. 16747 1.1 christos 16748 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16749 1.1 christos 16750 1.1 christos * xcoffread.c (xcoff_end_psymtab): Remove some initializations. 16751 1.1 christos * psymtab.c (allocate_psymtab): Add comment. 16752 1.1 christos * psympriv.h (allocate_psymtab): Add comment. 16753 1.1 christos * dwarf2read.c (dwarf2_create_include_psymtab): Remove some 16754 1.1 christos initializations. 16755 1.1 christos * dbxread.c (dbx_end_psymtab): Remove some initializations. 16756 1.1 christos 16757 1.1 christos 2019-01-10 Tom Tromey <tom (a] tromey.com> 16758 1.1 christos 16759 1.1 christos * symfile.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs): 16760 1.1 christos Don't declare. 16761 1.1 christos * mipsread.c: Include mdebugread.h. 16762 1.1 christos * mdebugread.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs): 16763 1.1 christos Declare. 16764 1.1 christos * elfread.c: Include mdebugread.h. 16765 1.1 christos 16766 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16767 1.1 christos 16768 1.1 christos * dbxread.c (dbx_end_psymtab): Use objfile_psymtabs. 16769 1.1 christos * mdebugread.c (parse_partial_symbols): Use objfile_psymtabs. 16770 1.1 christos * psymtab.c (ALL_OBJFILE_PSYMTABS_REQUIRED): Remove. 16771 1.1 christos (psym_map_symtabs_matching_filename, find_pc_sect_psymtab) 16772 1.1 christos (psym_lookup_symbol, psym_find_last_source_symtab) 16773 1.1 christos (psym_forget_cached_source_info, psym_print_stats) 16774 1.1 christos (psym_expand_symtabs_for_function, psym_expand_all_symtabs) 16775 1.1 christos (psym_expand_symtabs_with_fullname, psym_map_symbol_filenames) 16776 1.1 christos (psym_map_matching_symbols, psym_expand_symtabs_matching) 16777 1.1 christos (psym_find_compunit_symtab_by_address) 16778 1.1 christos (maintenance_print_psymbols, maintenance_info_psymtabs) 16779 1.1 christos (maintenance_check_psymtabs): Use ranged for. 16780 1.1 christos * psymtab.h (class objfile_psymtabs): New. 16781 1.1 christos (require_partial_symbols): Return objfile_psymtabs. 16782 1.1 christos * psympriv.h (ALL_OBJFILE_PSYMTABS): Remove. 16783 1.1 christos 16784 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16785 1.1 christos 16786 1.1 christos * symfile.c (overlay_invalidate_all, find_pc_overlay) 16787 1.1 christos (find_pc_mapped_section, list_overlays_command) 16788 1.1 christos (map_overlay_command, unmap_overlay_command) 16789 1.1 christos (simple_overlay_update): Use all_objfiles. 16790 1.1 christos * spu-tdep.c (spu_overlay_update): Use all_objfiles. 16791 1.1 christos * printcmd.c (info_symbol_command): Use all_objfiles. 16792 1.1 christos * objfiles.h (ALL_OBJSECTIONS): Remove. 16793 1.1 christos * maint.c (maintenance_translate_address): Use all_objfiles. 16794 1.1 christos * gcore.c (gcore_create_callback): Use all_objfiles. 16795 1.1 christos (objfile_find_memory_regions): Likewise. 16796 1.1 christos 16797 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16798 1.1 christos 16799 1.1 christos * symtab.c (find_line_symtab, info_sources_command) 16800 1.1 christos (make_source_files_completion_list): Use objfile_compunits. 16801 1.1 christos * source.c (select_source_symtab): Use objfile_compunits. 16802 1.1 christos * objfiles.h (struct objfile): Update comment. 16803 1.1 christos (ALL_OBJFILES): Remove. 16804 1.1 christos (ALL_FILETABS): Remove. 16805 1.1 christos * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Use 16806 1.1 christos objfile_compunits. 16807 1.1 christos 16808 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16809 1.1 christos 16810 1.1 christos * symmisc.c (print_objfile_statistics, dump_objfile) 16811 1.1 christos (maintenance_print_symbols): Use compunit_filetabs. 16812 1.1 christos * source.c (forget_cached_source_info_for_objfile): Use 16813 1.1 christos compunit_filetabs. 16814 1.1 christos * objfiles.h (ALL_OBJFILE_FILETABS): Remove. 16815 1.1 christos (ALL_FILETABS): Use compunit_filetabs. 16816 1.1 christos * objfiles.c (objfile_relocate1): Use compunit_filetabs. 16817 1.1 christos * coffread.c (coff_symtab_read): Use compunit_filetabs. 16818 1.1 christos 16819 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16820 1.1 christos 16821 1.1 christos * symtab.h (ALL_COMPUNIT_FILETABS): Remove. 16822 1.1 christos (compunit_filetabs): New. 16823 1.1 christos * symtab.c (iterate_over_some_symtabs, find_pc_sect_line): Use 16824 1.1 christos compunit_filetabs. 16825 1.1 christos (info_sources_command, make_source_files_completion_list): Remove 16826 1.1 christos declaration. 16827 1.1 christos * symmisc.c (print_objfile_statistics, dump_objfile) 16828 1.1 christos (maintenance_print_symbols): Remove declaration. 16829 1.1 christos (maintenance_info_symtabs): Use compunit_filetabs. 16830 1.1 christos (maintenance_info_line_tables): Likewise. 16831 1.1 christos * source.c (select_source_symtab): Change local variable name. 16832 1.1 christos (forget_cached_source_info_for_objfile): Remove declaration. 16833 1.1 christos * objfiles.h (ALL_OBJFILE_FILETABS): Use compunit_filetabs. 16834 1.1 christos * objfiles.c (objfile_relocate1): Remove declaration. 16835 1.1 christos * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove 16836 1.1 christos declaration. 16837 1.1 christos * maint.c (count_symtabs_and_blocks): Use compunit_filetabs. 16838 1.1 christos * coffread.c (coff_symtab_read): Remove declaration. 16839 1.1 christos * buildsym.c (buildsym_compunit::end_symtab_with_blockvector): Use 16840 1.1 christos compunit_filetabs. 16841 1.1 christos 16842 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16843 1.1 christos 16844 1.1 christos * symtab.c (lookup_objfile_from_block) 16845 1.1 christos (find_pc_sect_compunit_symtab, search_symbols) 16846 1.1 christos (default_collect_symbol_completion_matches_break_on): Use 16847 1.1 christos objfile_compunits. 16848 1.1 christos * objfiles.h (ALL_COMPUNITS): Remove. 16849 1.1 christos * maint.c (count_symtabs_and_blocks): Use objfile_compunits. 16850 1.1 christos * cp-support.c (add_symbol_overload_list_qualified): Use 16851 1.1 christos objfile_compunits. 16852 1.1 christos * ada-lang.c (ada_collect_symbol_completion_matches) 16853 1.1 christos (ada_add_global_exceptions): Use objfile_compunits. 16854 1.1 christos 16855 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16856 1.1 christos 16857 1.1 christos * source.c (select_source_symtab) 16858 1.1 christos (forget_cached_source_info_for_objfile): Remove declaration. 16859 1.1 christos * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove 16860 1.1 christos declaration. 16861 1.1 christos * maint.c (count_symtabs_and_blocks): Remove declaration. 16862 1.1 christos * cp-support.c (add_symbol_overload_list_qualified): Remove 16863 1.1 christos declaration. 16864 1.1 christos * coffread.c (coff_symtab_read): Remove declaration. 16865 1.1 christos * symtab.c (lookup_symbol_in_objfile_symtabs) 16866 1.1 christos (basic_lookup_transparent_type_1): Use objfile_compunits. 16867 1.1 christos (lookup_objfile_from_block, find_pc_sect_compunit_symtab) 16868 1.1 christos (info_sources_command, search_symbols) 16869 1.1 christos (default_collect_symbol_completion_matches_break_on) 16870 1.1 christos (make_source_files_completion_list): Remove declaration. 16871 1.1 christos * ada-lang.c (add_nonlocal_symbols): Use objfile_compunits. 16872 1.1 christos (ada_collect_symbol_completion_matches) 16873 1.1 christos (ada_add_global_exceptions): Remove declaration. 16874 1.1 christos * linespec.c (iterate_over_all_matching_symtabs): Use 16875 1.1 christos objfile_compunits. 16876 1.1 christos * objfiles.h (ALL_OBJFILE_COMPUNITS): Remove. 16877 1.1 christos (class objfile_compunits): New. 16878 1.1 christos (ALL_COMPUNITS): Use objfile_compunits. 16879 1.1 christos * symmisc.c (print_objfile_statistics, maintenance_info_symtabs) 16880 1.1 christos (maintenance_check_symtabs, maintenance_info_line_tables): Use 16881 1.1 christos objfile_compunits. 16882 1.1 christos * objfiles.c (objfile_relocate1): Use objfile_compunits. 16883 1.1 christos 16884 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16885 1.1 christos 16886 1.1 christos * symtab.c (search_symbols) 16887 1.1 christos (default_collect_symbol_completion_matches_break_on): Use 16888 1.1 christos objfile_msymbols. 16889 1.1 christos * ada-lang.c (ada_lookup_simple_minsym) 16890 1.1 christos (ada_collect_symbol_completion_matches): Use objfile_msymbols. 16891 1.1 christos * minsyms.c (find_solib_trampoline_target): Use objfile_msymbols. 16892 1.1 christos * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Use 16893 1.1 christos objfile_msymbols. 16894 1.1 christos * coffread.c (coff_symfile_read): Use objfile_msymbols. 16895 1.1 christos * symmisc.c (dump_msymbols): Use objfile_msymbols. 16896 1.1 christos * objc-lang.c (find_methods): Use objfile_msymbols. 16897 1.1 christos (info_selectors_command, info_classes_command): Likewise. 16898 1.1 christos * stabsread.c (scan_file_globals): Use objfile_msymbols. 16899 1.1 christos * objfiles.h (class objfile_msymbols): New. 16900 1.1 christos (ALL_OBJFILE_MSYMBOLS): Remove. 16901 1.1 christos (ALL_MSYMBOLS): Remove. 16902 1.1 christos 16903 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16904 1.1 christos 16905 1.1 christos * common/next-iterator.h (next_adapter): Add Iterator template 16906 1.1 christos parameter. 16907 1.1 christos * objfiles.h (ALL_OBJFILES_SAFE): Remove. 16908 1.1 christos (class all_objfiles_safe): New. 16909 1.1 christos * jit.c (jit_inferior_exit_hook): Use all_objfiles_safe. 16910 1.1 christos * objfiles.c (put_objfile_before): Update comment. 16911 1.1 christos (add_separate_debug_objfile): Likewise. 16912 1.1 christos (free_all_objfiles): Use all_objfiles_safe. 16913 1.1 christos (objfile_purge_solibs): Likewise. 16914 1.1 christos 16915 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16916 1.1 christos 16917 1.1 christos * symtab.c (iterate_over_symtabs, matching_obj_sections) 16918 1.1 christos (expand_symtab_containing_pc, lookup_static_symbol) 16919 1.1 christos (basic_lookup_transparent_type, find_pc_sect_compunit_symtab) 16920 1.1 christos (find_symbol_at_address, find_line_symtab, find_main_name): Use 16921 1.1 christos all_objfiles. 16922 1.1 christos * probe.c (find_probe_by_pc, collect_probes): Use all_objfiles. 16923 1.1 christos * breakpoint.c (create_overlay_event_breakpoint) 16924 1.1 christos (create_longjmp_master_breakpoint) 16925 1.1 christos (create_std_terminate_master_breakpoint) 16926 1.1 christos (create_exception_master_breakpoint): Use all_objfiles. 16927 1.1 christos * linux-thread-db.c (try_thread_db_load_from_pdir) 16928 1.1 christos (has_libpthread): Use all_objfiles. 16929 1.1 christos * ada-lang.c (add_nonlocal_symbols): Use all_objfiles. 16930 1.1 christos * linespec.c (iterate_over_all_matching_symtabs) 16931 1.1 christos (search_minsyms_for_name): Use all_objfiles. 16932 1.1 christos * maint.c (maintenance_info_sections): Use all_objfiles. 16933 1.1 christos * main.c (captured_main_1): Use all_objfiles. 16934 1.1 christos * spu-tdep.c (spu_objfile_from_frame): Use all_objfiles. 16935 1.1 christos * guile/scm-objfile.c (gdbscm_objfiles): Use all_objfiles. 16936 1.1 christos * guile/scm-pretty-print.c 16937 1.1 christos (ppscm_find_pretty_printer_from_objfiles): Use all_objfiles. 16938 1.1 christos * solib-spu.c (append_ocl_sos): Use all_objfiles. 16939 1.1 christos * symmisc.c (maintenance_print_symbols): Use all_objfiles. 16940 1.1 christos (maintenance_print_msymbols): Use all_objfiles. 16941 1.1 christos * source.c (select_source_symtab): Use all_objfiles. 16942 1.1 christos * jit.c (jit_find_objf_with_entry_addr): Use all_objfiles. 16943 1.1 christos * symfile.c (remove_symbol_file_command) 16944 1.1 christos (expand_symtabs_matching, map_symbol_filenames): Use 16945 1.1 christos all_objfiles. 16946 1.1 christos * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created): Use 16947 1.1 christos all_objfiles. 16948 1.1 christos * dwarf2-frame.c (dwarf2_frame_find_fde): Use all_objfiles. 16949 1.1 christos * objc-lang.c (find_methods): Use all_objfiles. 16950 1.1 christos * objfiles.c (have_partial_symbols, have_full_symbols) 16951 1.1 christos (have_minimal_symbols, qsort_cmp) 16952 1.1 christos (default_iterate_over_objfiles_in_search_order): Use 16953 1.1 christos all_objfiles. 16954 1.1 christos * hppa-tdep.c (find_unwind_entry): Use all_objfiles. 16955 1.1 christos * psymtab.c (maintenance_print_psymbols): Use all_objfiles. 16956 1.1 christos (maintenance_check_psymtabs): Use all_objfiles. 16957 1.1 christos (ALL_PSYMTABS): Remove. 16958 1.1 christos * compile/compile-object-run.c (do_module_cleanup): Use 16959 1.1 christos all_objfiles. 16960 1.1 christos * blockframe.c (find_pc_partial_function): Use all_objfiles. 16961 1.1 christos * cp-support.c (add_symbol_overload_list_qualified): Use 16962 1.1 christos all_objfiles. 16963 1.1 christos * windows-tdep.c (windows_iterate_over_objfiles_in_search_order): 16964 1.1 christos Use all_objfiles. 16965 1.1 christos * dwarf-index-write.c (save_gdb_index_command): Use all_objfiles. 16966 1.1 christos * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): Use 16967 1.1 christos all_objfiles. 16968 1.1 christos * python/py-objfile.c (objfpy_lookup_objfile_by_name) 16969 1.1 christos (objfpy_lookup_objfile_by_build_id): Use all_objfiles. 16970 1.1 christos * python/py-prettyprint.c (find_pretty_printer_from_objfiles): 16971 1.1 christos Uses all_objfiles. 16972 1.1 christos * solib.c (solib_read_symbols): Use all_objfiles 16973 1.1 christos 16974 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16975 1.1 christos 16976 1.1 christos * probe.c (parse_probes_in_pspace): Use all_objfiles. 16977 1.1 christos * guile/scm-progspace.c (gdbscm_progspace_objfiles): Use 16978 1.1 christos all_objfiles. 16979 1.1 christos * objfiles.h (ALL_PSPACE_OBJFILES): Remove. 16980 1.1 christos * symmisc.c (print_symbol_bcache_statistics) 16981 1.1 christos (print_objfile_statistics, maintenance_print_objfiles) 16982 1.1 christos (maintenance_info_symtabs, maintenance_check_symtabs) 16983 1.1 christos (maintenance_expand_symtabs, maintenance_info_line_tables): Use 16984 1.1 christos all_objfiles. 16985 1.1 christos * source.c (forget_cached_source_info): Use all_objfiles. 16986 1.1 christos * symfile-debug.c (set_debug_symfile): Use all_objfiles. 16987 1.1 christos * elfread.c (elf_gnu_ifunc_resolve_by_cache) 16988 1.1 christos (elf_gnu_ifunc_resolve_by_got): Use all_objfiles. 16989 1.1 christos * objfiles.c (update_section_map): Use all_objfiles. 16990 1.1 christos (shared_objfile_contains_address_p): Likewise. 16991 1.1 christos * psymtab.c (maintenance_info_psymtabs): Use all_objfiles. 16992 1.1 christos * python/py-progspace.c (pspy_get_objfiles): Use all_objfiles. 16993 1.1 christos 16994 1.1 christos 2019-01-09 Tom Tromey <tom (a] tromey.com> 16995 1.1 christos 16996 1.1 christos * common/next-iterator.h: New file. 16997 1.1 christos * objfiles.h (class all_objfiles): New. 16998 1.1 christos (struct objfile_iterator): New. 16999 1.1 christos 17000 1.1 christos 2019-01-09 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 17001 1.1 christos 17002 1.1 christos * NEWS: Move the description of the changed "frame", "select-frame", 17003 1.1 christos and "info frame" commands to the Changed commands section. 17004 1.1 christos 17005 1.1 christos 2019-01-09 Simon Marchi <simon.marchi (a] ericsson.com> 17006 1.1 christos 17007 1.1 christos * gdbtypes.c (check_stub_method_group): Remove handling of old 17008 1.1 christos mangling schemes. 17009 1.1 christos * linespec.c (find_methods): Likewise. 17010 1.1 christos * stabsread.c (read_member_functions): Likewise. 17011 1.1 christos * valops.c (search_struct_method): Likewise. 17012 1.1 christos (value_struct_elt_for_reference): Likewise. 17013 1.1 christos * NEWS: Mention this change. 17014 1.1 christos 17015 1.1 christos 2019-01-09 Andrew Burgess <andrew.burgess (a] embecosm.com> 17016 1.1 christos 17017 1.1 christos * cli/cli-cmds.c (list_command): Pass a source_lines_range to 17018 1.1 christos print_source_lines. 17019 1.1 christos * source.c (print_source_lines_base): Update line number check. 17020 1.1 christos (print_source_lines): New function. 17021 1.1 christos (source_lines_range::source_lines_range): New function. 17022 1.1 christos * source.h (class source_lines_range): New class. 17023 1.1 christos (print_source_lines): New declaration. 17024 1.1 christos 17025 1.1 christos 2019-01-09 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 17026 1.1 christos 17027 1.1 christos * linespec.c (linespec_state_destructor): Free self->canonical_names. 17028 1.1 christos 17029 1.1 christos 2019-01-08 Tom Tromey <tom (a] tromey.com> 17030 1.1 christos Simon Marchi <simon.marchi (a] ericsson.com> 17031 1.1 christos 17032 1.1 christos PR gdb/24060 17033 1.1 christos * ada-exp.y (DOLLAR_VARIABLE): Rename from SPECIAL_VARIABLE. 17034 1.1 christos * ada-lex.l (DOLLAR_VARIABLE): Likewise. 17035 1.1 christos * c-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE. 17036 1.1 christos * f-exp.y (DOLLAR_VARIABLE): Likewise. 17037 1.1 christos * m2-exp.y (DOLLAR_VARIABLE): Rename from INTERNAL_VAR. 17038 1.1 christos * p-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE. 17039 1.1 christos 17040 1.1 christos 2019-01-08 Andrew Burgess <andrew.burgess (a] embecosm.com> 17041 1.1 christos 17042 1.1 christos * source.c (select_source_symtab): Move header comment to 17043 1.1 christos declaration in source.h. 17044 1.1 christos (forget_cached_source_info_for_objfile): Likewise. 17045 1.1 christos (forget_cached_source_info): Likewise. 17046 1.1 christos (identify_source_line): Likewise. 17047 1.1 christos * source.h (identify_source_line): Move declaration from symtab.h 17048 1.1 christos and add comment from source.c 17049 1.1 christos (print_source_lines): Likewise. 17050 1.1 christos (forget_cached_source_info_for_objfile): Likewise. 17051 1.1 christos (forget_cached_source_info): Likewise. 17052 1.1 christos (select_source_symtab): Likewise. 17053 1.1 christos (enum print_source_lines_flag): Move definition from symtab.h. 17054 1.1 christos * symtab.h (identify_source_line): Move declaration to source.h. 17055 1.1 christos (print_source_lines): Likewise. 17056 1.1 christos (forget_cached_source_info_for_objfile): Likewise. 17057 1.1 christos (forget_cached_source_info): Likewise. 17058 1.1 christos (select_source_symtab): Likewise. 17059 1.1 christos (enum print_source_lines_flag): Move definition to source.h. 17060 1.1 christos * tui/tui-hooks.c: Add 'source.h' include. 17061 1.1 christos 17062 1.1 christos 2019-01-08 Andrew Burgess <andrew.burgess (a] embecosm.com> 17063 1.1 christos 17064 1.1 christos * source.c (print_source_lines_base): Handle requests to print 17065 1.1 christos reverse line number sequences, and guard against empty lines 17066 1.1 christos string. 17067 1.1 christos 17068 1.1 christos 2019-01-08 Andrew Burgess <andrew.burgess (a] embecosm.com> 17069 1.1 christos 17070 1.1 christos * source.c (print_source_lines_base): Fix skip of '\r' if next 17071 1.1 christos character is '\n'. 17072 1.1 christos 17073 1.1 christos 2019-01-06 Tom Tromey <tom (a] tromey.com> 17074 1.1 christos 17075 1.1 christos * c-exp.y (struct c_parse_state) <macro_original_text, 17076 1.1 christos expansion_obstack>: New member. 17077 1.1 christos (macro_original_text, expansion_obstack): Remove globals. 17078 1.1 christos (scan_macro_expansion, scanning_macro_expansion) 17079 1.1 christos (finished_macro_expansion): Update. 17080 1.1 christos (scan_macro_cleanup): Remove. 17081 1.1 christos (yylex, c_parse): Update. 17082 1.1 christos 17083 1.1 christos 2019-01-06 Tom Tromey <tom (a] tromey.com> 17084 1.1 christos 17085 1.1 christos * c-exp.y (struct c_parse_state) <strings>: New member. 17086 1.1 christos (operator_stoken): Update. 17087 1.1 christos 17088 1.1 christos 2019-01-06 Tom Tromey <tom (a] tromey.com> 17089 1.1 christos 17090 1.1 christos * parser-defs.h (type_ptr): Remove typedef. Don't declare VEC. 17091 1.1 christos (union type_stack_elt) <typelist_val>: Now a pointer to 17092 1.1 christos std::vector. 17093 1.1 christos (type_stack_cleanup): Don't declare. 17094 1.1 christos (push_typelist): Update. 17095 1.1 christos * parse.c (pop_typelist): Return a std::vector. 17096 1.1 christos (push_typelist): Take a std::vector. 17097 1.1 christos (follow_types): Update. Do not free args. 17098 1.1 christos (type_stack_cleanup): Remove. 17099 1.1 christos * c-exp.y (struct c_parse_state): New. 17100 1.1 christos (cpstate): New global. 17101 1.1 christos (type_aggregate_p, exp, ptr_operator, parameter_typelist) 17102 1.1 christos (nonempty_typelist): Update. 17103 1.1 christos (func_mod): Create a new vector. 17104 1.1 christos (c_parse): Create a c_parse_state. 17105 1.1 christos (check_parameter_typelist): Do not delete params. 17106 1.1 christos (function_method): Update. Do not delete type_list. 17107 1.1 christos 17108 1.1 christos 2019-01-06 Tom Tromey <tom (a] tromey.com> 17109 1.1 christos 17110 1.1 christos PR gdb/28155: 17111 1.1 christos * python/py-finishbreakpoint.c (bpfinishpy_init): Use 17112 1.1 christos check_typedef. 17113 1.1 christos * infcmd.c (finish_command_fsm_should_stop): Use check_typedef. 17114 1.1 christos (print_return_value): Likewise. 17115 1.1 christos 17116 1.1 christos 2019-01-05 Tom Tromey <tom (a] tromey.com> 17117 1.1 christos 17118 1.1 christos * contrib/cleanup_check.py: Remove. 17119 1.1 christos * contrib/gcc-with-excheck: Remove. 17120 1.1 christos * contrib/exsummary.py: Remove. 17121 1.1 christos * contrib/excheck.py: Remove. 17122 1.1 christos 17123 1.1 christos 2019-01-05 Joel Brobecker <brobecker (a] adacore.com> 17124 1.1 christos 17125 1.1 christos * thread.c (delete_thread_1): Add gdb_assert that THR is not 17126 1.1 christos NULL. Initialize tpprev to NULL instead of assigning it 17127 1.1 christos to NULL on the next statement. 17128 1.1 christos * windows-nat.c (windows_delete_thread): Remove check for 17129 1.1 christos main_thread_id before printing thread exit notifications. 17130 1.1 christos (get_windows_debug_event) <EXIT_THREAD_DEBUG_EVENT>: 17131 1.1 christos Remove thread ID check against main_thread_id. 17132 1.1 christos <CREATE_PROCESS_DEBUG_EVENT>: Remove call to 17133 1.1 christos windows_delete_thread. 17134 1.1 christos <EXIT_PROCESS_DEBUG_EVENT>: Add call to windows_delete_thread. 17135 1.1 christos 17136 1.1 christos 2019-01-04 Tom Tromey <tom (a] tromey.com> 17137 1.1 christos 17138 1.1 christos * compile/compile.c (_initialize_compile): Use upper case for 17139 1.1 christos metasyntactic variables. 17140 1.1 christos * symmisc.c (_initialize_symmisc): Use upper case for 17141 1.1 christos metasyntactic variables. 17142 1.1 christos * psymtab.c (_initialize_psymtab): Use upper case for 17143 1.1 christos metasyntactic variables. 17144 1.1 christos * demangle.c (demangle_command): Use upper case for metasyntactic 17145 1.1 christos variables. 17146 1.1 christos (_initialize_demangler): Likewise. 17147 1.1 christos * ax-gdb.c (_initialize_ax_gdb): Use upper case for metasyntactic 17148 1.1 christos variables. 17149 1.1 christos 17150 1.1 christos 2019-01-03 Tom Tromey <tom (a] tromey.com> 17151 1.1 christos 17152 1.1 christos * tui/tui-source.c (tui_set_source_content): Use xstrdup. 17153 1.1 christos 17154 1.1 christos 2019-01-03 Tom Tromey <tom (a] tromey.com> 17155 1.1 christos 17156 1.1 christos * python/py-symtab.c (salpy_str): Update. 17157 1.1 christos (struct salpy_sal_object) <symtab>: Now a PyObject. 17158 1.1 christos (salpy_dealloc): Update. 17159 1.1 christos (del_objfile_sal): Use gdbpy_ref. 17160 1.1 christos 17161 1.1 christos 2019-01-03 Tom Tromey <tom (a] tromey.com> 17162 1.1 christos 17163 1.1 christos * python/py-type.c (convert_field): Use new_reference. Return 17164 1.1 christos gdbpy_ref. 17165 1.1 christos (make_fielditem): Return gdbpy_ref. 17166 1.1 christos (typy_fields): Update. 17167 1.1 christos (typy_getitem): Update. 17168 1.1 christos (field_name): Return gdbpy_ref. Use new_reference. 17169 1.1 christos (typy_iterator_iternext): Update. 17170 1.1 christos 17171 1.1 christos 2019-01-03 Tom Tromey <tom (a] tromey.com> 17172 1.1 christos 17173 1.1 christos * python/py-record.c (gdbpy_stop_recording): Use Py_RETURN_NONE. 17174 1.1 christos 17175 1.1 christos 2019-01-03 Tom Tromey <tom (a] tromey.com> 17176 1.1 christos 17177 1.1 christos * python/py-value.c (valpy_dealloc): Use Py_XDECREF. 17178 1.1 christos * python/py-type.c (typy_fields_items): Use gdbpy_ref. 17179 1.1 christos * python/py-progspace.c (pspy_set_printers): Use gdbpy_ref. 17180 1.1 christos (pspy_set_frame_filters, pspy_set_frame_unwinders) 17181 1.1 christos (pspy_set_type_printers): Likewise. 17182 1.1 christos * python/py-function.c (fnpy_init): Use gdbpy_ref. 17183 1.1 christos * python/py-cmd.c (cmdpy_init): Use gdbpy_ref. 17184 1.1 christos * python/py-objfile.c (objfpy_set_printers): Use gdbpy_ref. 17185 1.1 christos (objfpy_set_frame_filters, objfpy_set_frame_unwinders) 17186 1.1 christos (objfpy_set_type_printers): Likewise. 17187 1.1 christos 17188 1.1 christos 2019-01-03 Tom Tromey <tom (a] tromey.com> 17189 1.1 christos 17190 1.1 christos * python/python.c (gdbpy_enter, ~gdbpy_enter): Update. 17191 1.1 christos (gdbpy_print_stack): Use gdbpy_err_fetch. 17192 1.1 christos * python/python-internal.h (class gdbpy_err_fetch): New class. 17193 1.1 christos (class gdbpy_enter) <m_error_type, m_error_value, 17194 1.1 christos m_error_traceback>: Remove. 17195 1.1 christos <m_error>: New member. 17196 1.1 christos (gdbpy_exception_to_string): Don't declare. 17197 1.1 christos * python/py-varobj.c (py_varobj_iter_next): Use gdbpy_err_fetch. 17198 1.1 christos * python/py-value.c (convert_value_from_python): Use 17199 1.1 christos gdbpy_err_fetch. 17200 1.1 christos * python/py-utils.c (gdbpy_err_fetch::to_string): Rename from 17201 1.1 christos gdbpy_exception_to_string. 17202 1.1 christos (gdbpy_handle_exception): Use gdbpy_err_fetch. 17203 1.1 christos * python/py-prettyprint.c (print_stack_unless_memory_error): Use 17204 1.1 christos gdbpy_err_fetch. 17205 1.1 christos 17206 1.1 christos 2019-01-03 Andrew Burgess <andrew.burgess (a] embecosm.com> 17207 1.1 christos 17208 1.1 christos * linux-nat.c (delete_lwp_cleanup): Delete. 17209 1.1 christos (struct lwp_deleter): New struct. 17210 1.1 christos (lwp_info_up): New typedef. 17211 1.1 christos (linux_nat_target::follow_fork): Delete cleanup, and make use of 17212 1.1 christos lwp_info_up. 17213 1.1 christos 17214 1.1 christos 2019-01-03 Andrew Burgess <andrew.burgess (a] embecosm.com> 17215 1.1 christos 17216 1.1 christos * linux-fork.c (class scoped_switch_fork_info): New class. 17217 1.1 christos (inferior_call_waitpid): Update to use scoped_switch_fork_info. 17218 1.1 christos 17219 1.1 christos 2019-01-03 Andrew Burgess <andrew.burgess (a] embecosm.com> 17220 1.1 christos 17221 1.1 christos * valops.c (find_overload_match): Remove use of null_cleanup, and 17222 1.1 christos calls to do_cleanups. 17223 1.1 christos 17224 1.1 christos 2019-01-03 Andrew Burgess <andrew.burgess (a] embecosm.com> 17225 1.1 christos 17226 1.1 christos * compile/compile-cplus-types.c 17227 1.1 christos (compile_cplus_instance::decl_name): Handle changes to 17228 1.1 christos cp_func_name. 17229 1.1 christos * cp-support.c (cp_func_name): Update header comment, update 17230 1.1 christos return type. 17231 1.1 christos * cp-support.h (cp_func_name): Update return type in declaration. 17232 1.1 christos * valops.c (find_overload_match): Move temp_func local to top 17233 1.1 christos level of function and change its type. Use temp_func to hold and 17234 1.1 christos delete temporary string obtained from cp_func_name. 17235 1.1 christos 17236 1.1 christos 2019-01-03 Andrew Burgess <andrew.burgess (a] embecosm.com> 17237 1.1 christos 17238 1.1 christos * remote.c (remote_target::remote_check_symbols): Convert `msg` to 17239 1.1 christos gdb::char_vector, remove cleanup, and update uses of `msg`. 17240 1.1 christos 17241 1.1 christos 2019-01-03 Jim Wilson <jimw (a] sifive.com> 17242 1.1 christos 17243 1.1 christos * riscv-tdep.c (riscv_freg_feature): Drop s0 name from f8. 17244 1.1 christos 17245 1.1 christos 2019-01-02 Tom Tromey <tom (a] tromey.com> 17246 1.1 christos 17247 1.1 christos * xml-tdesc.c (xml_cache): Hold a target_desc_up. 17248 1.1 christos (tdesc_parse_xml): Remove cleanups. 17249 1.1 christos * target-descriptions.h (make_cleanup_free_target_description): 17250 1.1 christos Don't declare. 17251 1.1 christos (target_desc_deleter): New struct. 17252 1.1 christos (target_desc_up): New typedef. 17253 1.1 christos * target-descriptions.c (target_desc_deleter::operator()): Rename 17254 1.1 christos from free_target_description. 17255 1.1 christos (make_cleanup_free_target_description): Remove. 17256 1.1 christos 17257 1.1 christos 2019-01-02 Tom Tromey <tom (a] tromey.com> 17258 1.1 christos 17259 1.1 christos * linespec.c (struct linespec_parser): Rename from ls_parser. Add 17260 1.1 christos constructor, destructor. 17261 1.1 christos (linespec_parser): Remove typedef. 17262 1.1 christos (~linespec_parser): Rename from linespec_parser_delete. 17263 1.1 christos (linespec_lex_to_end, linespec_complete_label) 17264 1.1 christos (linespec_complete): Update. 17265 1.1 christos (decode_line_full): Remove cleanups. 17266 1.1 christos (decode_line_1): Update. 17267 1.1 christos 17268 1.1 christos 2019-01-02 Tom Tromey <tom (a] tromey.com> 17269 1.1 christos 17270 1.1 christos * python/python-internal.h (inferior_to_inferior_object): Change 17271 1.1 christos return type. 17272 1.1 christos * python/py-exitedevent.c (create_exited_event_object): Update. 17273 1.1 christos * python/py-inferior.c (inferior_to_inferior_object): Return 17274 1.1 christos gdbpy_ref. 17275 1.1 christos (python_new_inferior, python_inferior_deleted) 17276 1.1 christos (thread_to_thread_object, delete_thread_object) 17277 1.1 christos (build_inferior_list, gdbpy_selected_inferior): Update. 17278 1.1 christos * python/py-infthread.c (create_thread_object): Update. Also fail 17279 1.1 christos if inferior_to_inferior_object fails. 17280 1.1 christos 17281 1.1 christos 2019-01-02 Simon Marchi <simon.marchi (a] ericsson.com> 17282 1.1 christos 17283 1.1 christos * inferior.h (class inferior) <displaced_step_state>: New field. 17284 1.1 christos * infrun.h (struct displaced_step_state): Move here from 17285 1.1 christos infrun.c. Initialize fields, add constructor. 17286 1.1 christos <inf>: Remove field. 17287 1.1 christos <reset>: New method. 17288 1.1 christos * infrun.c (struct displaced_step_inferior_state): Move to 17289 1.1 christos infrun.h. 17290 1.1 christos (displaced_step_inferior_states): Remove. 17291 1.1 christos (get_displaced_stepping_state): Adust. 17292 1.1 christos (displaced_step_in_progress_any_inferior): Adjust. 17293 1.1 christos (displaced_step_in_progress_thread): Adjust. 17294 1.1 christos (displaced_step_in_progress): Adjust. 17295 1.1 christos (add_displaced_stepping_state): Remove. 17296 1.1 christos (get_displaced_step_closure_by_addr): Adjust. 17297 1.1 christos (remove_displaced_stepping_state): Remove. 17298 1.1 christos (infrun_inferior_exit): Call displaced_step_state.reset. 17299 1.1 christos (use_displaced_stepping): Don't check for NULL. 17300 1.1 christos (displaced_step_prepare_throw): Call 17301 1.1 christos get_displaced_stepping_state. 17302 1.1 christos (displaced_step_fixup): Don't check for NULL. 17303 1.1 christos (prepare_for_detach): Don't check for NULL. 17304 1.1 christos 17305 1.1 christos 2019-01-02 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 17306 1.1 christos 17307 1.1 christos * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm 17308 1.1 christos in case of call that did not complete. 17309 1.1 christos 17310 1.1 christos 2019-01-02 Andrey Utkin <autkin (a] undo.io> 17311 1.1 christos 17312 1.1 christos * symfile.c (find_separate_debug_file): Fix search of debug files for 17313 1.1 christos remote debuggee. 17314 1.1 christos 17315 1.1 christos 2019-01-02 Tom Tromey <tom (a] tromey.com> 17316 1.1 christos 17317 1.1 christos * python/py-inferior.c (gdbpy_initialize_inferior): Fix 17318 1.1 christos indentation. 17319 1.1 christos * python/py-frame.c (frapy_older): Remove cast. 17320 1.1 christos (frapy_newer): Likewise. 17321 1.1 christos * python/py-breakpoint.c (local_setattro): Remove cast. 17322 1.1 christos * python/py-arch.c (archpy_name): Remove local variable. 17323 1.1 christos * python/py-type.c (gdbpy_lookup_type): Remove cast. 17324 1.1 christos 17325 1.1 christos 2019-01-02 Joel Brobecker <brobecker (a] adacore.com> 17326 1.1 christos 17327 1.1 christos * unittests/basic_string_view/element_access/char/empty.cc: 17328 1.1 christos Fix year range in copyright header. 17329 1.1 christos 17330 1.1 christos 2019-01-01 Andrew Burgess <andrew.burgess (a] embecosm.com> 17331 1.1 christos 17332 1.1 christos * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>: 17333 1.1 christos Delete. 17334 1.1 christos <operator==>: Update with for removed field. 17335 1.1 christos <hash>: Likewise. 17336 1.1 christos * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to... 17337 1.1 christos <isa_features>: ...this. 17338 1.1 christos <abi_features>: New field. 17339 1.1 christos (riscv_isa_flen): Update comment. 17340 1.1 christos (riscv_abi_xlen): New declaration. 17341 1.1 christos (riscv_abi_flen): New declaration. 17342 1.1 christos * riscv-tdep.c (riscv_isa_xlen): Update to get answer from 17343 1.1 christos isa_features. 17344 1.1 christos (riscv_abi_xlen): New function. 17345 1.1 christos (riscv_isa_flen): Update to get answer from isa_features. 17346 1.1 christos (riscv_abi_flen): New function. 17347 1.1 christos (riscv_has_fp_abi): Update to get answer from abi_features. 17348 1.1 christos (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa 17349 1.1 christos xlen and flen. 17350 1.1 christos (riscv_call_info) <xlen, flen>: Update comment. 17351 1.1 christos (riscv_call_arg_struct): Remove invalid assertions 17352 1.1 christos (riscv_features_from_gdbarch_info): Update now hw_float_abi field 17353 1.1 christos is removed. 17354 1.1 christos (riscv_gdbarch_init): Gather isa features and abi features 17355 1.1 christos separately, ensure both match on the gdbarch when reusing an old 17356 1.1 christos gdbarch. Relax an error check to allow 32-bit abi float to run on 17357 1.1 christos a target with 64-bit float hardware. 17358 1.1 christos 17359 1.1 christos 2019-01-01 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 17360 1.1 christos 17361 1.1 christos * source.c (search_command_helper): Stop reverse search 17362 1.1 christos when line 1 has been searched. 17363 1.1 christos 17364 1.1 christos 2019-01-01 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 17365 1.1 christos 17366 1.1 christos * record-full.c (record_full_base_target::close): Rewrite 17367 1.1 christos record_full_core_buf_list free logic. 17368 1.1 christos 17369 1.1 christos 2019-01-01 Philippe Waroquiers <philippe.waroquiers (a] skynet.be> 17370 1.1 christos 17371 1.1 christos * break-catch-syscall.c (print_one_catch_syscall): xfree 17372 1.1 christos the last text. 17373 1.1 christos 17374 1.1 christos 2019-01-01 Joel Brobecker <brobecker (a] adacore.com> 17375 1.1 christos 17376 1.1 christos * top.c (print_gdb_version): Update Copyright year in version 17377 1.1 christos message. 17378 1.1 christos 17379 1.1 christos 2019-01-01 Joel Brobecker <brobecker (a] adacore.com> 17380 1.1 christos 17381 1.1 christos Update copyright year range in all GDB files. 17382 1.1 christos 17383 1.1 christos 2019-01-01, 19 Joel Brobecker <brobecker (a] adacore.com> 17384 1.1 christos 17385 1.1 christos * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018. 17386 1.1 christos 17387 1.1 christos For older changes see ChangeLog-2018. 17388 1.1 christos 17390 1.1 christos Local Variables: 17391 1.1 christos mode: change-log 17392 1.1 christos left-margin: 8 17393 1.1 christos fill-column: 74 17394 1.1 christos version-control: never 17395 1.1 christos coding: utf-8 17396 1.1 christos End: 17397 17398