| 1 | 2021-04-22 Tom Tromey <tom@tromey.com> |
| 2 | |
| 3 | * rust-parse.c (rust_parser::parse_sizeof): Remove KW_MUT code. |
| 4 | (struct typed_val_int) <val>: Now ULONGEST. |
| 5 | (rust_parser::parse_array_type): Remove negative check. |
| 6 | (rust_lex_int_test): Change 'value' to ULONGEST. |
| 7 | |
| 8 | 2021-04-22 Andrew Burgess <andrew.burgess@embecosm.com> |
| 9 | |
| 10 | * arch-utils.c (default_addressable_memory_unit_size): Return a |
| 11 | value based on bfd's bits per byte. |
| 12 | |
| 13 | 2021-04-21 Tom Tromey <tom@tromey.com> |
| 14 | |
| 15 | * dwarf2/read.h (struct dwarf2_per_cu_data) <dwarf_version>: Now |
| 16 | unsigned char. |
| 17 | (struct dwarf2_per_cu_data): Rearrange. |
| 18 | * dwarf2/comp-unit.h (struct comp_unit_head) <version>: Now |
| 19 | unsigned char. |
| 20 | (struct comp_unit_head): Rearrange. |
| 21 | * dwarf2/comp-unit.c (read_comp_unit_head): Update. |
| 22 | |
| 23 | 2021-04-21 Tom de Vries <tdevries@suse.de> |
| 24 | |
| 25 | PR build/27681 |
| 26 | * configure.ac: Remove --without-included-regex/--with-included-regex. |
| 27 | * config.in: Regenerate. |
| 28 | * configure: Regenerate. |
| 29 | * gdb_regex.h: Assume USE_INCLUDED_REGEX is defined. |
| 30 | |
| 31 | 2021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
| 32 | |
| 33 | * breakpoint.h (create_breakpoint): Add a new parameter, |
| 34 | 'force_condition'. |
| 35 | * breakpoint.c (create_breakpoint): Use the 'force_condition' |
| 36 | argument when 'parse_extra' is false to check if the condition |
| 37 | is invalid at all of the breakpoint locations. |
| 38 | Update the users below. |
| 39 | (break_command_1) |
| 40 | (dprintf_command) |
| 41 | (trace_command) |
| 42 | (ftrace_command) |
| 43 | (strace_command) |
| 44 | (create_tracepoint_from_upload): Update. |
| 45 | * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Update. |
| 46 | * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Update. |
| 47 | * python/py-breakpoint.c (bppy_init): Update. |
| 48 | * python/py-finishbreakpoint.c (bpfinishpy_init): Update. |
| 49 | |
| 50 | 2021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
| 51 | |
| 52 | * breakpoint.c (print_one_breakpoint_location): Display "N" for |
| 53 | disabled-by-condition locations on MI-like output. |
| 54 | (breakpoint_1): Do not display the disabled-by-condition footnote |
| 55 | if the output is MI-like. |
| 56 | |
| 57 | 2021-04-21 Frederic Cambus <fred@statdns.com> |
| 58 | |
| 59 | * syscalls/update-netbsd.sh: Fix script name display in usage, and |
| 60 | update year range in generated copyright notices. |
| 61 | |
| 62 | 2021-04-20 Felix Willgerodt <felix.willgerodt@intel.com> |
| 63 | |
| 64 | * c-exp.y (qualifier_seq_noopt): Replace qualifier_seq with |
| 65 | qualifier_seq_noopt. |
| 66 | |
| 67 | 2021-04-20 Felix Willgerodt <felix.willgerodt@intel.com> |
| 68 | |
| 69 | * c-exp.y (single_qualifier): Handle UNKNOWN_CPP_NAME. |
| 70 | |
| 71 | 2021-04-19 Andrew Burgess <andrew.burgess@embecosm.com> |
| 72 | |
| 73 | * producer.c: Replace 'regex' include with 'gdb_regex.h'. |
| 74 | (producer_is_icc): Replace use of std::regex with gdb's |
| 75 | compiled_regex. |
| 76 | |
| 77 | 2021-04-17 Tom Tromey <tom@tromey.com> |
| 78 | |
| 79 | PR gdb/23743: |
| 80 | * dwarf2/read.c (class offset_view): New. |
| 81 | (struct symbol_table_slot): Remove. |
| 82 | (struct mapped_index) <symbol_table, constant_pool>: Change type. |
| 83 | <symbol_name_index, symbol_vec_index>: New methods. |
| 84 | <symbol_name_slot_invalid, symbol_name_at, symbol_name_count>: |
| 85 | Rewrite. |
| 86 | (read_gdb_index_from_buffer): Update. |
| 87 | (struct dw2_symtab_iterator) <vec>: Change type. |
| 88 | (dw2_symtab_iter_init_common, dw2_symtab_iter_init) |
| 89 | (dw2_symtab_iter_next, dw2_expand_marked_cus): Update. |
| 90 | * dwarf2/index-write.c (class data_buf) <append_data>: Remove. |
| 91 | <append_array, append_offset>: New methods. |
| 92 | (write_hash_table, add_address_entry, write_gdbindex_1) |
| 93 | (write_debug_names): Update. |
| 94 | * dwarf2/index-common.h (byte_swap, MAYBE_SWAP): Remove. |
| 95 | |
| 96 | 2021-04-17 Tom Tromey <tom@tromey.com> |
| 97 | |
| 98 | * dwarf2/index-write.c (write_psymtabs_to_index): Check |
| 99 | partial_symtabs. |
| 100 | |
| 101 | 2021-04-17 Tom Tromey <tom@tromey.com> |
| 102 | |
| 103 | * psymtab.c (psymbol_functions::expand_matching_symbols): Rename |
| 104 | from map_matching_symbols. Change parameters. |
| 105 | * psympriv.h (struct psymbol_functions) <expand_matching_symbols>: |
| 106 | Rename from map_matching_symbols. Change parameters. |
| 107 | * dwarf2/read.c (struct dwarf2_gdb_index) |
| 108 | <expand_matching_symbols>: Rename from map_matching_symbols. |
| 109 | Change parameters. |
| 110 | (struct dwarf2_debug_names_index) <expand_matching_symbols>: |
| 111 | Rename from map_matching_symbols. Change parameters. |
| 112 | (dwarf2_gdb_index::expand_matching_symbols): Rename from |
| 113 | dw2_map_matching_symbols. Change parameters. |
| 114 | (dwarf2_gdb_index::expand_matching_symbols): Remove old |
| 115 | implementation. |
| 116 | (dwarf2_debug_names_index::expand_matching_symbols): Rename from |
| 117 | map_matching_symbols. Change parameters. |
| 118 | * objfiles.h (struct objfile) <expand_matching_symbols>: Rename |
| 119 | from map_matching_symbols. Change parameters. |
| 120 | * symfile-debug.c (objfile::expand_matching_symbols): Rename from |
| 121 | map_matching_symbols. Change parameters. |
| 122 | * ada-lang.c (map_matching_symbols): New function. |
| 123 | (add_nonlocal_symbols): Update. |
| 124 | |
| 125 | 2021-04-17 Tom Tromey <tom@tromey.com> |
| 126 | |
| 127 | * quick-symbol.h (struct quick_symbol_functions) |
| 128 | <expand_symtabs_with_fullname>: Remove. |
| 129 | * psymtab.c (psymbol_functions::expand_symtabs_with_fullname): |
| 130 | Remove. |
| 131 | * psympriv.h (struct psymbol_functions) |
| 132 | <expand_symtabs_with_fullname>: Remove. |
| 133 | * dwarf2/read.c (struct dwarf2_base_index_functions) |
| 134 | <expand_symtabs_with_fullname>: Remove. |
| 135 | (dwarf2_base_index_functions::expand_symtabs_with_fullname): |
| 136 | Remove. |
| 137 | * objfiles.h (struct objfile) <expand_symtabs_with_fullname>: |
| 138 | Update comment. |
| 139 | * symfile-debug.c (objfile::expand_symtabs_with_fullname): |
| 140 | Rewrite. |
| 141 | |
| 142 | 2021-04-17 Tom Tromey <tom@tromey.com> |
| 143 | |
| 144 | * symfile-debug.c (objfile::expand_symtabs_for_function): |
| 145 | Rewrite. |
| 146 | * quick-symbol.h (struct quick_symbol_functions) |
| 147 | <expand_symtabs_for_function>: Remove. |
| 148 | * psymtab.c (psymbol_functions::expand_symtabs_for_function): |
| 149 | Remove. |
| 150 | * psympriv.h (struct psymbol_functions) |
| 151 | <expand_symtabs_for_function>: Remove. |
| 152 | * objfiles.h (struct objfile) <expand_symtabs_for_function>: |
| 153 | Update comment. |
| 154 | * dwarf2/read.c (struct dwarf2_gdb_index) |
| 155 | <expand_symtabs_for_function>: Remove. |
| 156 | (struct dwarf2_debug_names_index) <expand_symtabs_for_function>: |
| 157 | Remove. |
| 158 | (find_slot_in_mapped_hash): Remove. |
| 159 | (dw2_symtab_iter_init_common): Merge with dw2_symtab_iter_init. |
| 160 | (dw2_symtab_iter_init): Remove one overload. |
| 161 | (dwarf2_gdb_index::expand_symtabs_for_function) |
| 162 | (dwarf2_debug_names_index::expand_symtabs_for_function): Remove. |
| 163 | |
| 164 | 2021-04-17 Tom Tromey <tom@tromey.com> |
| 165 | |
| 166 | * symfile-debug.c (objfile::map_symtabs_matching_filename): |
| 167 | Rewrite. |
| 168 | * quick-symbol.h (struct quick_symbol_functions) |
| 169 | <map_symtabs_matching_filename>: Remove. |
| 170 | * psymtab.c (partial_map_expand_apply) |
| 171 | (psymbol_functions::map_symtabs_matching_filename): Remove. |
| 172 | * psympriv.h (struct psymbol_functions) |
| 173 | <map_symtabs_matching_filename>: Remove. |
| 174 | * objfiles.h (struct objfile) <map_symtabs_matching_filename>: |
| 175 | Update comment. |
| 176 | * dwarf2/read.c (struct dwarf2_base_index_functions) |
| 177 | <map_symtabs_matching_filename>: Remove. |
| 178 | (dw2_map_expand_apply) |
| 179 | (dwarf2_base_index_functions::map_symtabs_matching_filename): |
| 180 | Remove. |
| 181 | |
| 182 | 2021-04-17 Tom Tromey <tom@tromey.com> |
| 183 | |
| 184 | * symfile-debug.c (objfile::lookup_symbol): Rewrite. |
| 185 | * quick-symbol.h (struct quick_symbol_functions) <lookup_symbol>: |
| 186 | Remove. |
| 187 | * psymtab.c (psymbol_functions::lookup_symbol): Remove. |
| 188 | * psympriv.h (struct psymbol_functions) <lookup_symbol>: Remove. |
| 189 | * objfiles.h (struct objfile) <lookup_symbol>: Add comment. |
| 190 | * dwarf2/read.c (struct dwarf2_gdb_index) <lookup_symbol>: |
| 191 | Remove. |
| 192 | (struct dwarf2_debug_names_index) <lookup_symbol>: Remove. |
| 193 | (dwarf2_gdb_index::lookup_symbol) |
| 194 | (dwarf2_debug_names_index::lookup_symbol): Remove. |
| 195 | |
| 196 | 2021-04-17 Tom Tromey <tom@tromey.com> |
| 197 | |
| 198 | * symtab.c (global_symbol_searcher::expand_symtabs): Update. |
| 199 | * symmisc.c (maintenance_expand_symtabs): Update. |
| 200 | * symfile.c (expand_symtabs_matching): Update. |
| 201 | * symfile-debug.c (objfile::expand_symtabs_matching): Add 'domain' |
| 202 | parameter. |
| 203 | * quick-symbol.h (struct quick_symbol_functions) |
| 204 | <expand_symtabs_matching>: Add 'domain' parameter. |
| 205 | * psymtab.c (recursively_search_psymtabs) |
| 206 | (psymbol_functions::expand_symtabs_matching): Add 'domain' |
| 207 | parameter. |
| 208 | * psympriv.h (struct psymbol_functions) <expand_symtabs_matching>: |
| 209 | Add 'domain' parameter. |
| 210 | * objfiles.h (struct objfile) <expand_symtabs_matching>: Add |
| 211 | 'domain' parameter. |
| 212 | * linespec.c (iterate_over_all_matching_symtabs): Update. |
| 213 | * dwarf2/read.c (struct dwarf2_gdb_index) |
| 214 | <expand_symtabs_matching>: Add 'domain' parameter. |
| 215 | (struct dwarf2_debug_names_index) <expand_symtabs_matching>: Add |
| 216 | 'domain' parameter. |
| 217 | (dw2_expand_symtabs_matching) |
| 218 | (dwarf2_gdb_index::expand_symtabs_matching) |
| 219 | (dw2_debug_names_iterator) |
| 220 | (dwarf2_debug_names_index::expand_symtabs_matching): Add 'domain' |
| 221 | parameter. |
| 222 | |
| 223 | 2021-04-17 Tom Tromey <tom@tromey.com> |
| 224 | |
| 225 | * symtab.c (global_symbol_searcher::expand_symtabs) |
| 226 | (default_collect_symbol_completion_matches_break_on): Update. |
| 227 | * symmisc.c (maintenance_expand_symtabs): Update. |
| 228 | * symfile.h (expand_symtabs_matching): Add search_flags |
| 229 | parameter. |
| 230 | * symfile.c (expand_symtabs_matching): Add search_flags |
| 231 | parameter. |
| 232 | * symfile-debug.c (objfile::expand_symtabs_matching): Add |
| 233 | search_flags parameter. |
| 234 | * quick-symbol.h (struct quick_symbol_functions) |
| 235 | <expand_symtabs_matching>: Add search_flags parameter. |
| 236 | * python/py-symbol.c (gdbpy_lookup_static_symbols): Update. |
| 237 | * psymtab.c (recursively_search_psymtabs) |
| 238 | (psymbol_functions::expand_symtabs_matching): Add search_flags |
| 239 | parameter. |
| 240 | * psympriv.h (struct psymbol_functions) <expand_symtabs_matching>: |
| 241 | Add search_flags parameter. |
| 242 | * objfiles.h (struct objfile) <expand_symtabs_matching>: Add |
| 243 | search_flags parameter. |
| 244 | * linespec.c (iterate_over_all_matching_symtabs): Update. |
| 245 | * dwarf2/read.c (struct dwarf2_gdb_index) |
| 246 | <expand_symtabs_matching>: Add search_flags parameter. |
| 247 | (struct dwarf2_debug_names_index) <expand_symtabs_matching>: Add |
| 248 | search_flags parameter. |
| 249 | (dw2_map_matching_symbols): Update. |
| 250 | (dw2_expand_marked_cus, dw2_expand_symtabs_matching) |
| 251 | (dwarf2_gdb_index::expand_symtabs_matching): Add search_flags |
| 252 | parameter. |
| 253 | (dw2_debug_names_iterator): Change block_index to search flags. |
| 254 | <m_block_index>: Likewise. |
| 255 | (dw2_debug_names_iterator::next) |
| 256 | (dwarf2_debug_names_index::lookup_symbol) |
| 257 | (dwarf2_debug_names_index::expand_symtabs_for_function) |
| 258 | (dwarf2_debug_names_index::map_matching_symbols) |
| 259 | (dwarf2_debug_names_index::map_matching_symbols): Update. |
| 260 | (dwarf2_debug_names_index::expand_symtabs_matching): Add |
| 261 | search_flags parameter. |
| 262 | * ada-lang.c (ada_add_global_exceptions) |
| 263 | (collect_symbol_completion_matches): Update. |
| 264 | |
| 265 | 2021-04-17 Tom Tromey <tom@tromey.com> |
| 266 | |
| 267 | * symtab.c (default_collect_symbol_completion_matches_break_on): |
| 268 | Update. |
| 269 | * symfile.h (expand_symtabs_matching): Return bool. |
| 270 | * symfile.c (expand_symtabs_matching): Return bool. |
| 271 | * symfile-debug.c (objfile::expand_symtabs_matching): Return |
| 272 | bool. |
| 273 | * quick-symbol.h (expand_symtabs_exp_notify_ftype): Return bool. |
| 274 | (struct quick_symbol_functions) <expand_symtabs_matching>: Return |
| 275 | bool. |
| 276 | * psymtab.c (psymbol_functions::expand_symtabs_matching): Return |
| 277 | bool. |
| 278 | * psympriv.h (struct psymbol_functions) |
| 279 | <expand_symtabs_matching>: Return bool. |
| 280 | * objfiles.h (struct objfile) <expand_symtabs_matching>: Return |
| 281 | bool. |
| 282 | * dwarf2/read.c (struct dwarf2_gdb_index) |
| 283 | <expand_symtabs_matching>: Return bool. |
| 284 | (struct dwarf2_debug_names_index) <expand_symtabs_matching>: |
| 285 | Return bool. |
| 286 | (dw2_expand_symtabs_matching_symbol): Return bool. |
| 287 | (dw2_expand_symtabs_matching_one, dw2_expand_marked_cus) |
| 288 | (dw2_expand_symtabs_matching) |
| 289 | (dwarf2_gdb_index::expand_symtabs_matching) |
| 290 | (dwarf2_debug_names_index::expand_symtabs_matching) |
| 291 | (dwarf2_debug_names_index::expand_symtabs_matching): Return bool. |
| 292 | |
| 293 | 2021-04-17 Tom Tromey <tom@tromey.com> |
| 294 | |
| 295 | * quick-symbol.h (enum block_search_flag_values): New. |
| 296 | (block_search_flags): New enum flags type. |
| 297 | |
| 298 | 2021-04-16 Tom Tromey <tom@tromey.com> |
| 299 | |
| 300 | * rust-parse.c: New file. |
| 301 | * rust-exp.y: Remove. |
| 302 | * Makefile.in (COMMON_SFILES): Add rust-parse.c. |
| 303 | (SFILES): Remove rust-exp.y. |
| 304 | (YYFILES, local-maintainer-clean): Remove rust-exp.c. |
| 305 | |
| 306 | 2021-04-16 Luis Machado <luis.machado@linaro.org> |
| 307 | |
| 308 | * arch-utils.c (default_floatformat_for_type): Handle bfloat16. |
| 309 | |
| 310 | 2021-04-15 John Baldwin <jhb@FreeBSD.org> |
| 311 | |
| 312 | * fbsd-nat.c (fbsd_lwp_debug_printf, fbsd_nat_debug_printf): New, |
| 313 | use throughout file. |
| 314 | |
| 315 | 2021-04-15 Tom Tromey <tromey@adacore.com> |
| 316 | |
| 317 | * ada-valprint.c (ada_value_print_array): Handle optimized-out |
| 318 | arrays. |
| 319 | |
| 320 | 2021-04-15 Tom Tromey <tromey@adacore.com> |
| 321 | |
| 322 | * printcmd.c (print_variable_and_value): Use |
| 323 | common_val_print_checked. |
| 324 | |
| 325 | 2021-04-15 Tom Tromey <tromey@adacore.com> |
| 326 | |
| 327 | * rust-exp.y (rust_parser::convert_ast_to_expression): Update. |
| 328 | * parse.c (parser_state::push_symbol, parser_state::push_dollar): |
| 329 | Update. |
| 330 | * p-exp.y (variable): Update. |
| 331 | * m2-exp.y (variable): Update. |
| 332 | * go-exp.y (variable): Update. |
| 333 | * expprint.c (dump_for_expression): New overload. |
| 334 | * expop.h (check_objfile): New overload. |
| 335 | (check_constant): New overload. |
| 336 | (class var_value_operation): Use block_symbol. |
| 337 | <get_symbol>: Rewrite. |
| 338 | * eval.c (var_value_operation::evaluate) |
| 339 | (var_value_operation::evaluate_funcall) |
| 340 | (var_value_operation::evaluate_for_address) |
| 341 | (var_value_operation::evaluate_for_address) |
| 342 | (var_value_operation::evaluate_with_coercion) |
| 343 | (var_value_operation::evaluate_for_sizeof) |
| 344 | (var_value_operation::evaluate_for_cast): Update. |
| 345 | * d-exp.y (PrimaryExpression): Update. |
| 346 | * c-exp.y (variable): Update. |
| 347 | * ax-gdb.c (var_value_operation::do_generate_ax): Update. |
| 348 | * ada-lang.c (ada_var_value_operation::evaluate_for_cast) |
| 349 | (ada_var_value_operation::evaluate) |
| 350 | (ada_var_value_operation::resolve) |
| 351 | (ada_funcall_operation::resolve): Update. |
| 352 | * ada-exp.y (write_var_from_sym, write_object_renaming) |
| 353 | (write_ambiguous_var, write_var_or_type, write_name_assoc) |
| 354 | (maybe_overload): Update. |
| 355 | * ada-exp.h (class ada_var_value_operation) <get_block>: Rewrite. |
| 356 | |
| 357 | 2021-04-15 Tom Tromey <tom@tromey.com> |
| 358 | Andrew Burgess <andrew.burgess@embecosm.com> |
| 359 | |
| 360 | * NEWS: Add entry. |
| 361 | * main.c (captured_main_1): Call check_quiet_mode. |
| 362 | * top.c (startup_quiet): New global. |
| 363 | (check_quiet_mode): New function. |
| 364 | (show_startup_quiet): New function. |
| 365 | (init_main): Register new command. |
| 366 | * top.h (check_quiet_mode): Declare. |
| 367 | |
| 368 | 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com> |
| 369 | |
| 370 | PR cli/25956 |
| 371 | * NEWS: Mention new early init files and command line options. |
| 372 | * config.in: Regenerate. |
| 373 | * configure: Regenerate. |
| 374 | * configure.ac: Define GDBEARLYINIT. |
| 375 | * main.c (get_earlyinit_files): New function. |
| 376 | (enum cmdarg_kind): Add CMDARG_EARLYINIT_FILE and |
| 377 | CMDARG_EARLYINIT_COMMAND. |
| 378 | (captured_main_1): Add support for new command line flags, and for |
| 379 | processing startup files. |
| 380 | (print_gdb_help): Include startup files in the output. |
| 381 | |
| 382 | 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com> |
| 383 | |
| 384 | * main.c (relocate_gdbinit_path_maybe_in_datadir): Rename to... |
| 385 | (relocate_file_path_maybe_in_datadir): ...this. |
| 386 | (class gdb_initfile_finder): New class. |
| 387 | (get_init_files): Now uses gdb_initfile_finder. |
| 388 | (print_gdb_help): Print 'None found' when there are no init files. |
| 389 | |
| 390 | 2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
| 391 | |
| 392 | * dwarf2/read.c (inherit_abstract_dies): Keep a reference to the |
| 393 | corresponding child of the abstract DIE when iterating the |
| 394 | children of the concrete DIE. |
| 395 | |
| 396 | 2021-04-13 Tom de Vries <tdevries@suse.de> |
| 397 | |
| 398 | * ui-style.c (read_semi_number, extended_color): Change idx parameter |
| 399 | type to regoff_t *. |
| 400 | |
| 401 | 2021-04-13 Luis Machado <luis.machado@linaro.org> |
| 402 | |
| 403 | * rs6000-tdep.c (ppc_displaced_step_fixup): Use %s to print |
| 404 | hex values. |
| 405 | |
| 406 | 2021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com> |
| 407 | |
| 408 | * rs6000-tdep.c: Add support for single-stepping of |
| 409 | prefixed instructions. |
| 410 | |
| 411 | 2021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com> |
| 412 | |
| 413 | PR gdb/27525 |
| 414 | * gdb/rs6000-tdep.c (ppc_displaced_step_fixup): Update to |
| 415 | handle the addpcis/lnia instruction. |
| 416 | |
| 417 | 2021-04-05 Will Schmidt <will_schmidt@vnet.ibm.com> |
| 418 | |
| 419 | * MAINTAINERS (Write After Approval): Add myself. |
| 420 | |
| 421 | 2021-4-12 Carl Love <cel@us.ibm.com> |
| 422 | |
| 423 | * rs6000-tdep.c (rs6000_builtin_type_vec128): Add t_float128 variable. |
| 424 | (rs6000_builtin_type_vec128): Add append_composite_type_field for |
| 425 | float128. |
| 426 | |
| 427 | 2021-04-12 Simon Marchi <simon.marchi@polymtl.ca> |
| 428 | |
| 429 | * nat/windows-nat.c: Remove all code guarded by _WIN32_WCE. |
| 430 | * nat/windows-nat.h: Likewise. |
| 431 | |
| 432 | 2021-04-10 Eli Zaretskii <eliz@gnu.org> |
| 433 | |
| 434 | * windows-nat.c (windows_nat::handle_load_dll): Call |
| 435 | windows_add_dll if get_image_name failed to glean the name of the |
| 436 | DLL by using the lpImageName pointer. |
| 437 | (windows_add_all_dlls): Now a thin wrapper around windows_add_dll. |
| 438 | (windows_add_dll): Now does what windows_add_all_dlls did before, |
| 439 | but also accepts an argument LOAD_ADDR, which, if non-NULL, |
| 440 | specifies the address where the DLL was loaded into the inferior, |
| 441 | and looks for the single DLL loaded at that address. |
| 442 | |
| 443 | 2021-04-09 Luis Machado <luis.machado@linaro.org> |
| 444 | |
| 445 | * nat/aarch64-mte-linux-ptrace.c: Update include file order. |
| 446 | |
| 447 | 2021-04-08 Dominique Quatravaux <dominique.quatravaux@epfl.ch> |
| 448 | |
| 449 | * darwin-nat.c (darwin_nat_target::resume): Remove status |
| 450 | variable. |
| 451 | |
| 452 | 2021-04-08 Felix Willgerodt <felix.willgerodt@intel.com> |
| 453 | |
| 454 | * i386-tdep.c (i386_skip_prologue): Use symbol table to find the |
| 455 | prologue end for Intel compilers. |
| 456 | * amd64-tdep.c (amd64_skip_prologue): Likewise. |
| 457 | * producer.c (producer_is_icc_ge_19): New function. |
| 458 | * producer.h (producer_is_icc_ge_19): New declaration. |
| 459 | |
| 460 | 2021-04-08 Felix Willgerodt <felix.willgerodt@intel.com> |
| 461 | |
| 462 | * producer.c: (producer_is_icc): Update for new version scheme. |
| 463 | (producer_parsing_tests): Update names and expected results. |
| 464 | * producer.h: (producer_is_icc): Update comment accordingly. |
| 465 | |
| 466 | 2021-04-07 Simon Marchi <simon.marchi@polymtl.ca> |
| 467 | |
| 468 | * target.h (struct target_ops) <follow_fork>: Return void. |
| 469 | (target_follow_fork): Likewise. |
| 470 | * target.c (default_follow_fork): Likewise. |
| 471 | (target_follow_fork): Likewise. |
| 472 | * infrun.c (follow_fork_inferior): Adjust. |
| 473 | * fbsd-nat.h (class fbsd_nat_target) <follow_fork>: Return void. |
| 474 | * fbsd-nat.c (fbsd_nat_target:::follow_fork): Likewise. |
| 475 | * linux-nat.h (class linux_nat_target) <follow_fork>: Likewise. |
| 476 | * linux-nat.c (linux_nat_target::follow_fork): Return void. |
| 477 | * obsd-nat.h (class obsd_nat_target) <follow_fork>: Return void. |
| 478 | * obsd-nat.c (obsd_nat_target::follow_fork): Likewise. |
| 479 | * remote.c (class remote_target) <follow_fork>: Likewise. |
| 480 | (remote_target::follow_fork): Likewise. |
| 481 | * target-delegates.c: Re-generate. |
| 482 | |
| 483 | 2021-04-07 Weimin Pan <weimin.pan@oracle.com> |
| 484 | |
| 485 | * ctfread.c (fetch_tid_type): New function, use throughout file. |
| 486 | (read_forward_type): New function. |
| 487 | (read_type_record): Call read_forward_type. |
| 488 | |
| 489 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> |
| 490 | |
| 491 | * f-exp.h (class fortran_structop_operation): New class. |
| 492 | * f-exp.y (exp): Create fortran_structop_operation instead of the |
| 493 | generic structop_operation. |
| 494 | * f-lang.c (fortran_undetermined::evaluate): Re-evaluate |
| 495 | expression as EVAL_NORMAL if the result type was dynamic so we can |
| 496 | extract the actual array bounds. |
| 497 | (fortran_structop_operation::evaluate): New function. |
| 498 | |
| 499 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> |
| 500 | |
| 501 | * eval.c (evaluate_subexp_standard): Remove |
| 502 | EVAL_AVOID_SIDE_EFFECTS handling from STRUCTOP_STRUCT and |
| 503 | STRUCTOP_PTR. |
| 504 | |
| 505 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> |
| 506 | |
| 507 | * valops.c (value_cast): Call value_deeply_equal before performing |
| 508 | any cast. |
| 509 | |
| 510 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> |
| 511 | |
| 512 | * gdbtypes.c (types_equal): Move pointer equality check earlier in |
| 513 | the function. |
| 514 | |
| 515 | 2021-04-07 Caroline Tice <cmtice@google.com> |
| 516 | |
| 517 | * dwarf2/read.c (try_open_dwop_file): Add path for the binary to |
| 518 | the search paths used resolve relative location of .dwo file. |
| 519 | |
| 520 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> |
| 521 | |
| 522 | * dwarf2/section.c (dwarf2_section_info::get_bfd_owner): Add an |
| 523 | assert. |
| 524 | (dwarf2_section_info::get_file_name): Add an assert. |
| 525 | (dwarf2_section_info::read_string): Display a minimal, sane error |
| 526 | when the dwarf2_section_info is not associated with a bfd section. |
| 527 | |
| 528 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> |
| 529 | |
| 530 | * top.c (staged_gdb_datadir): Update comment. |
| 531 | (set_gdb_datadir): Copy the value of gdb_datadir back into |
| 532 | staged_datadir. |
| 533 | (init_main): Initialise staged_gdb_datadir. |
| 534 | |
| 535 | 2021-04-06 Tom de Vries <tdevries@suse.de> |
| 536 | |
| 537 | PR breakpoints/25884 |
| 538 | * infcmd.c (prepare_one_step): Using inline frame info to narrow |
| 539 | stepping range. |
| 540 | |
| 541 | 2021-04-06 Tom de Vries <tdevries@suse.de> |
| 542 | |
| 543 | PR tui/27680 |
| 544 | * tui/tui-disasm.c (len_without_escapes): Pass ptr pointing at escape |
| 545 | to style.parse. |
| 546 | |
| 547 | 2021-04-04 Simon Marchi <simon.marchi@polymtl.ca> |
| 548 | |
| 549 | * avr-tdep.c (avr_frame_unwind_cache): Use |
| 550 | trad_frame_saved_reg::is_addr. |
| 551 | |
| 552 | 2021-04-02 Simon Marchi <simon.marchi@polymtl.ca> |
| 553 | |
| 554 | * objfiles.c (get_objfile_bfd_data): Remove objfile parameter, |
| 555 | adjust callers. |
| 556 | |
| 557 | 2021-04-02 Simon Marchi <simon.marchi@polymtl.ca> |
| 558 | |
| 559 | * psympriv.h (struct partial_symtab) <partial_symtab>: Change |
| 560 | objfile parameter for objfile_per_bfd_storage, adjust callers. |
| 561 | (struct standard_psymtab) <standard_psymtab>: Likewise. |
| 562 | (struct legacy_psymtab) <legacy_psymtab>: Likewise. |
| 563 | * psymtab.c (partial_symtab::partial_symtab): Likewise. |
| 564 | * ctfread.c (struct ctf_psymtab): Likewise. |
| 565 | * dwarf2/read.h (struct dwarf2_psymtab): Likewise. |
| 566 | * dwarf2/read.c (struct dwarf2_include_psymtab): Likewise. |
| 567 | (dwarf2_create_include_psymtab): Likewise. |
| 568 | * objfiles.h (struct objfile_per_bfd_storage) |
| 569 | <objfile_per_bfd_storage>: Add bfd parameter, adjust callers. |
| 570 | <get_bfd>: New method. |
| 571 | <m_bfd>: New field. |
| 572 | * objfiles.c (get_objfile_bfd_data): Adjust. |
| 573 | |
| 574 | 2021-04-02 Simon Marchi <simon.marchi@polymtl.ca> |
| 575 | |
| 576 | * psymtab.c (partial_symtab::partial_symtab): Change |
| 577 | last_objfile_name to be an std::string. |
| 578 | * symfile.c (allocate_symtab): Likewise. |
| 579 | |
| 580 | 2021-04-02 Simon Marchi <simon.marchi@polymtl.ca> |
| 581 | |
| 582 | * objfiles.h (struct objfile_per_bfd_storage) <intern>: New |
| 583 | methods. |
| 584 | (struct objfile) <intern>: Use |
| 585 | objfile::objfile_per_bfd_storage::intern. |
| 586 | |
| 587 | 2021-04-01 Simon Marchi <simon.marchi@efficios.com> |
| 588 | |
| 589 | * gdbtypes.h (TYPE_FLAG_ENUM): Remove, replace all uses |
| 590 | with type::is_flag_enum. |
| 591 | |
| 592 | 2021-04-01 Simon Marchi <simon.marchi@efficios.com> |
| 593 | |
| 594 | * gdbtypes.h (struct type) <is_flag_enum, |
| 595 | set_is_flag_enum>: New methods. |
| 596 | (TYPE_FLAG_ENUM): Use type::is_flag_enum, change all |
| 597 | write call sites to use type::set_is_flag_enum. |
| 598 | |
| 599 | 2021-04-01 Simon Marchi <simon.marchi@efficios.com> |
| 600 | |
| 601 | * gdbtypes.h (TYPE_DECLARED_CLASS): Remove, replace all uses |
| 602 | with type::is_declared_class. |
| 603 | |
| 604 | 2021-04-01 Simon Marchi <simon.marchi@efficios.com> |
| 605 | |
| 606 | * gdbtypes.h (struct type) <is_declared_class, |
| 607 | set_is_declared_class>: New methods. |
| 608 | (TYPE_DECLARED_CLASS): Use type::is_declared_class, change all |
| 609 | write call sites to use type::set_is_declared_class. |
| 610 | |
| 611 | 2021-02-28 Boris Staletic <boris.staletic@gmail.com> |
| 612 | |
| 613 | * gdb/python/lib/gdb/__init__.py: Use importlib on python 3.4+ |
| 614 | to avoid deprecation warnings. |
| 615 | |
| 616 | 2021-04-01 Martin Liska <mliska@suse.cz> |
| 617 | |
| 618 | * cp-name-parser.y: Use startswith instead of strncmp. |
| 619 | * m2-exp.y: Likewise. |
| 620 | * macroexp.c (substitute_args): Likewise. |
| 621 | * mi/mi-main.c (command_notifies_uscc_observer): Likewise. |
| 622 | * rust-exp.y: Likewise. |
| 623 | |
| 624 | 2021-03-31 Tom Tromey <tom@tromey.com> |
| 625 | |
| 626 | * dwarf2/read.c (dwarf2_gdb_index::map_matching_symbols): Merge |
| 627 | with dw2_map_matching_symbols. |
| 628 | (dwarf2_gdb_index::expand_symtabs_matching): Merge with |
| 629 | dw2_expand_symtabs_matching. |
| 630 | |
| 631 | 2021-03-31 Tom Tromey <tromey@adacore.com> |
| 632 | |
| 633 | * dwarf2/stringify.h: Fix typo. |
| 634 | |
| 635 | 2021-03-30 Simon Marchi <simon.marchi@polymtl.ca> |
| 636 | |
| 637 | PR gdb/27541 |
| 638 | * dwarf2/read.c (dwarf2_has_info): Don't share dwarf2_per_bfd |
| 639 | with objfiles using READNOW. |
| 640 | |
| 641 | 2021-03-29 Tom Tromey <tromey@adacore.com> |
| 642 | |
| 643 | * top.c (check_frame_language_change): Update. |
| 644 | * language.c (language_info): Remove parameter. |
| 645 | * language.h (language_info): Remove parameter. |
| 646 | |
| 647 | 2021-03-29 Luis Machado <luis.machado@linaro.org> |
| 648 | |
| 649 | * compile/compile.c (get_args): Don't add empty argv entries. |
| 650 | |
| 651 | 2021-03-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
| 652 | |
| 653 | gdb: |
| 654 | * procfs.c (procfs_target::attach): Define inf. |
| 655 | Use it. |
| 656 | (procfs_target::create_inferior): Likewise. |
| 657 | |
| 658 | 2021-03-28 Tom Tromey <tom@tromey.com> |
| 659 | |
| 660 | * elfread.c (can_lazily_read_symbols): Move to dwarf2/read.c. |
| 661 | (elf_symfile_read): Simplify. |
| 662 | * dwarf2/read.c (struct lazy_dwarf_reader): Move from elfread.c. |
| 663 | (make_lazy_dwarf_reader): New function. |
| 664 | (make_dwarf_gdb_index, make_dwarf_debug_names): Now static. |
| 665 | (dwarf2_initialize_objfile): Return void. Remove index_kind |
| 666 | parameter. Push on 'qf' list. |
| 667 | * dwarf2/public.h (dwarf2_initialize_objfile): Change return |
| 668 | type. Remove 'index_kind' parameter. |
| 669 | (make_dwarf_gdb_index, make_dwarf_debug_names): Don't declare. |
| 670 | |
| 671 | 2021-03-27 Tom Tromey <tom@tromey.com> |
| 672 | |
| 673 | * elfread.c (elf_sym_fns_lazy_psyms): Don't declare. |
| 674 | |
| 675 | 2021-03-27 Tom Tromey <tom@tromey.com> |
| 676 | |
| 677 | * elfread.c (elf_symfile_read): Don't clear 'qf'. |
| 678 | |
| 679 | 2021-03-26 Lancelot Six <lsix@lancelotsix.com> |
| 680 | |
| 681 | * contrib/gdb-add-index.sh: Avoid variable shadowing and get |
| 682 | rid of 'local'. |
| 683 | |
| 684 | 2021-03-26 Tom Tromey <tom@tromey.com> |
| 685 | |
| 686 | * symtab.c (struct output_source_filename_data): Add 'output' |
| 687 | method and operator(). |
| 688 | (output_source_filename_data::output): Rename from |
| 689 | output_source_filename. |
| 690 | (output_partial_symbol_filename): Remove. |
| 691 | (info_sources_command): Update. |
| 692 | (struct add_partial_filename_data): Add operator(). |
| 693 | (add_partial_filename_data::operator()): Rename from |
| 694 | maybe_add_partial_symtab_filename. |
| 695 | (make_source_files_completion_list): Update. |
| 696 | * symfile.c (quick_symbol_functions): Update. |
| 697 | * symfile-debug.c (objfile::map_symbol_filenames): Update. |
| 698 | * quick-symbol.h (symbol_filename_ftype): Change type of 'fun' and |
| 699 | 'need_fullname'. Remove 'data' parameter. |
| 700 | (struct quick_symbol_functions) <map_symbol_filenames>: Likewise. |
| 701 | * psymtab.c (psymbol_functions::map_symbol_filenames): Update. |
| 702 | * psympriv.h (struct psymbol_functions) <map_symbol_filenames>: |
| 703 | Change type of 'fun' and 'need_fullname'. Remove 'data' |
| 704 | parameter. |
| 705 | * objfiles.h (struct objfile) <map_symbol_filenames>: Change type |
| 706 | of 'fun' and 'need_fullname'. Remove 'data' parameter. |
| 707 | * mi/mi-cmd-file.c (print_partial_file_name): Remove 'ignore' |
| 708 | parameter. |
| 709 | (mi_cmd_file_list_exec_source_files): Update. |
| 710 | * dwarf2/read.c |
| 711 | (dwarf2_base_index_functions::map_symbol_filenames): Update. |
| 712 | |
| 713 | 2021-03-26 Tom Tromey <tom@tromey.com> |
| 714 | |
| 715 | * ada-lang.c (struct match_data): Add operator(). |
| 716 | (match_data::operator()): Rename from aux_add_nonlocal_symbols. |
| 717 | (callback): Remove 'callback'. |
| 718 | |
| 719 | 2021-03-26 Tom Tromey <tom@tromey.com> |
| 720 | |
| 721 | * psymtab.c (psymbol_functions::expand_symtabs_matching): Only |
| 722 | call make_ignore_params once. |
| 723 | |
| 724 | 2021-03-26 Tom Tromey <tom@tromey.com> |
| 725 | |
| 726 | * psymtab.c (psymbol_functions::expand_symtabs_matching): Remove |
| 727 | "user" check. |
| 728 | |
| 729 | 2021-03-26 Simon Marchi <simon.marchi@efficios.com> |
| 730 | Pedro Alves <pedro@palves.net> |
| 731 | |
| 732 | * async-event.c: Include "infrun.h". |
| 733 | (async_event_handler_marked): New. |
| 734 | * async-event.h (async_event_handler_marked): Declare. |
| 735 | * infrun.c (maybe_set_commit_resumed_all_targets): Switch to |
| 736 | inferior before calling target method. Don't commit-resumed if |
| 737 | target_has_pending_events is true. |
| 738 | * remote.c (remote_target::has_pending_events): New. |
| 739 | * target-delegates.c: Regenerate. |
| 740 | * target.c (target_has_pending_events): New. |
| 741 | * target.h (target_ops::has_pending_events): New target method. |
| 742 | (target_has_pending_events): New. |
| 743 | |
| 744 | 2021-03-26 Simon Marchi <simon.marchi@efficios.com> |
| 745 | Pedro Alves <pedro@palves.net> |
| 746 | |
| 747 | * infcmd.c (run_command_1, attach_command, detach_command) |
| 748 | (interrupt_target_1): Use scoped_disable_commit_resumed. |
| 749 | * infrun.c (do_target_resume): Remove |
| 750 | target_commit_resume call. |
| 751 | (commit_resume_all_targets): Remove. |
| 752 | (maybe_set_commit_resumed_all_targets): New. |
| 753 | (maybe_call_commit_resumed_all_targets): New. |
| 754 | (enable_commit_resumed): New. |
| 755 | (scoped_disable_commit_resumed::scoped_disable_commit_resumed) |
| 756 | (scoped_disable_commit_resumed::~scoped_disable_commit_resumed) |
| 757 | (scoped_disable_commit_resumed::reset) |
| 758 | (scoped_disable_commit_resumed::reset_and_commit) |
| 759 | (scoped_enable_commit_resumed::scoped_enable_commit_resumed) |
| 760 | (scoped_enable_commit_resumed::~scoped_enable_commit_resumed): |
| 761 | New. |
| 762 | (proceed): Use scoped_disable_commit_resumed and |
| 763 | maybe_call_commit_resumed_all_targets. |
| 764 | (fetch_inferior_event): Use scoped_disable_commit_resumed. |
| 765 | * infrun.h (struct scoped_disable_commit_resumed): New. |
| 766 | (maybe_call_commit_resumed_all_process_targets): New. |
| 767 | (struct scoped_enable_commit_resumed): New. |
| 768 | * mi/mi-main.c (exec_continue): Use scoped_disable_commit_resumed. |
| 769 | * process-stratum-target.h (class process_stratum_target): |
| 770 | <commit_resumed_state>: New. |
| 771 | * record-full.c (record_full_wait_1): Change commit_resumed_state |
| 772 | around calling commit_resumed. |
| 773 | * remote.c (class remote_target) <commit_resume>: Rename to... |
| 774 | <commit_resumed>: ... this. |
| 775 | (struct stop_reply): Move up. |
| 776 | (remote_target::commit_resume): Rename to... |
| 777 | (remote_target::commit_resumed): ... this. Check if there is any |
| 778 | thread pending vCont resume. |
| 779 | (remote_target::remote_stop_ns): Generate stop replies for resumed |
| 780 | but pending vCont threads. |
| 781 | (remote_target::wait_ns): Add gdb_assert. |
| 782 | * target-delegates.c: Regenerate. |
| 783 | * target.c (target_wait, target_resume): Assert that the current |
| 784 | process_stratum target isn't in commit-resumed state. |
| 785 | (defer_target_commit_resume): Remove. |
| 786 | (target_commit_resume): Remove. |
| 787 | (target_commit_resumed): New. |
| 788 | (make_scoped_defer_target_commit_resume): Remove. |
| 789 | (target_stop): Assert that the current process_stratum target |
| 790 | isn't in commit-resumed state. |
| 791 | * target.h (struct target_ops) <commit_resume>: Rename to ... |
| 792 | <commit_resumed>: ... this. |
| 793 | (target_commit_resume): Remove. |
| 794 | (target_commit_resumed): New. |
| 795 | (make_scoped_defer_target_commit_resume): Remove. |
| 796 | * top.c (wait_sync_command_done): Use |
| 797 | scoped_enable_commit_resumed. |
| 798 | |
| 799 | 2021-03-26 Pedro Alves <pedro@palves.net> |
| 800 | |
| 801 | * target.c (target_always_non_stop_p): Also check whether the |
| 802 | target can async. |
| 803 | |
| 804 | 2021-03-26 Tom Tromey <tom@tromey.com> |
| 805 | |
| 806 | * dwarf2/read.c (dwarf2_read_debug_names) |
| 807 | (dwarf2_build_psymtabs_hard, create_addrmap_from_aranges) |
| 808 | (dw2_debug_names_iterator::next, create_type_unit_group): |
| 809 | Simplify. |
| 810 | |
| 811 | 2021-03-25 Pedro Alves <pedro@palves.net> |
| 812 | |
| 813 | * gdb.server/bkpt-other-inferior.exp: Only enable remote output |
| 814 | around setting the breakpoint. |
| 815 | |
| 816 | 2021-03-25 Pedro Alves <pedro@palves.net> |
| 817 | |
| 818 | * remote.c |
| 819 | (remote_target::check_pending_events_prevent_wildcard_vcont): |
| 820 | Check whether the event's ptid is not null_ptid before looking up |
| 821 | the corresponding inferior. |
| 822 | |
| 823 | 2021-03-24 Changbin Du <changbin.du@gmail.com> |
| 824 | |
| 825 | * riscv-tdep.c (riscv_breakpoint_kind_from_pc): Remove call to |
| 826 | read_code. |
| 827 | |
| 828 | 2021-03-24 Simon Marchi <simon.marchi@polymtl.ca> |
| 829 | |
| 830 | * target.h (current_top_target): Remove, make callers use the |
| 831 | current inferior instead. |
| 832 | * target.c (current_top_target): Remove. |
| 833 | |
| 834 | 2021-03-24 Simon Marchi <simon.marchi@polymtl.ca> |
| 835 | |
| 836 | * target.h (target_shortname): Change to function declaration. |
| 837 | (target_longname): Likewise. |
| 838 | (target_attach_no_wait): Likewise. |
| 839 | (target_post_attach): Likewise. |
| 840 | (target_prepare_to_store): Likewise. |
| 841 | (target_supports_enable_disable_tracepoint): Likewise. |
| 842 | (target_supports_string_tracing): Likewise. |
| 843 | (target_supports_evaluation_of_breakpoint_conditions): Likewise. |
| 844 | (target_supports_dumpcore): Likewise. |
| 845 | (target_dumpcore): Likewise. |
| 846 | (target_can_run_breakpoint_commands): Likewise. |
| 847 | (target_files_info): Likewise. |
| 848 | (target_post_startup_inferior): Likewise. |
| 849 | (target_insert_fork_catchpoint): Likewise. |
| 850 | (target_remove_fork_catchpoint): Likewise. |
| 851 | (target_insert_vfork_catchpoint): Likewise. |
| 852 | (target_remove_vfork_catchpoint): Likewise. |
| 853 | (target_insert_exec_catchpoint): Likewise. |
| 854 | (target_remove_exec_catchpoint): Likewise. |
| 855 | (target_set_syscall_catchpoint): Likewise. |
| 856 | (target_rcmd): Likewise. |
| 857 | (target_can_lock_scheduler): Likewise. |
| 858 | (target_can_async_p): Likewise. |
| 859 | (target_is_async_p): Likewise. |
| 860 | (target_execution_direction): Likewise. |
| 861 | (target_extra_thread_info): Likewise. |
| 862 | (target_pid_to_exec_file): Likewise. |
| 863 | (target_thread_architecture): Likewise. |
| 864 | (target_find_memory_regions): Likewise. |
| 865 | (target_make_corefile_notes): Likewise. |
| 866 | (target_get_bookmark): Likewise. |
| 867 | (target_goto_bookmark): Likewise. |
| 868 | (target_stopped_by_watchpoint): Likewise. |
| 869 | (target_stopped_by_sw_breakpoint): Likewise. |
| 870 | (target_supports_stopped_by_sw_breakpoint): Likewise. |
| 871 | (target_stopped_by_hw_breakpoint): Likewise. |
| 872 | (target_supports_stopped_by_hw_breakpoint): Likewise. |
| 873 | (target_have_steppable_watchpoint): Likewise. |
| 874 | (target_can_use_hardware_watchpoint): Likewise. |
| 875 | (target_region_ok_for_hw_watchpoint): Likewise. |
| 876 | (target_can_do_single_step): Likewise. |
| 877 | (target_insert_watchpoint): Likewise. |
| 878 | (target_remove_watchpoint): Likewise. |
| 879 | (target_insert_hw_breakpoint): Likewise. |
| 880 | (target_remove_hw_breakpoint): Likewise. |
| 881 | (target_can_accel_watchpoint_condition): Likewise. |
| 882 | (target_can_execute_reverse): Likewise. |
| 883 | (target_get_ada_task_ptid): Likewise. |
| 884 | (target_filesystem_is_local): Likewise. |
| 885 | (target_trace_init): Likewise. |
| 886 | (target_download_tracepoint): Likewise. |
| 887 | (target_can_download_tracepoint): Likewise. |
| 888 | (target_download_trace_state_variable): Likewise. |
| 889 | (target_enable_tracepoint): Likewise. |
| 890 | (target_disable_tracepoint): Likewise. |
| 891 | (target_trace_start): Likewise. |
| 892 | (target_trace_set_readonly_regions): Likewise. |
| 893 | (target_get_trace_status): Likewise. |
| 894 | (target_get_tracepoint_status): Likewise. |
| 895 | (target_trace_stop): Likewise. |
| 896 | (target_trace_find): Likewise. |
| 897 | (target_get_trace_state_variable_value): Likewise. |
| 898 | (target_save_trace_data): Likewise. |
| 899 | (target_upload_tracepoints): Likewise. |
| 900 | (target_upload_trace_state_variables): Likewise. |
| 901 | (target_get_raw_trace_data): Likewise. |
| 902 | (target_get_min_fast_tracepoint_insn_len): Likewise. |
| 903 | (target_set_disconnected_tracing): Likewise. |
| 904 | (target_set_circular_trace_buffer): Likewise. |
| 905 | (target_set_trace_buffer_size): Likewise. |
| 906 | (target_set_trace_notes): Likewise. |
| 907 | (target_get_tib_address): Likewise. |
| 908 | (target_set_permissions): Likewise. |
| 909 | (target_static_tracepoint_marker_at): Likewise. |
| 910 | (target_static_tracepoint_markers_by_strid): Likewise. |
| 911 | (target_traceframe_info): Likewise. |
| 912 | (target_use_agent): Likewise. |
| 913 | (target_can_use_agent): Likewise. |
| 914 | (target_augmented_libraries_svr4_read): Likewise. |
| 915 | (target_log_command): Likewise. |
| 916 | * target.c (target_shortname): New. |
| 917 | (target_longname): New. |
| 918 | (target_attach_no_wait): New. |
| 919 | (target_post_attach): New. |
| 920 | (target_prepare_to_store): New. |
| 921 | (target_supports_enable_disable_tracepoint): New. |
| 922 | (target_supports_string_tracing): New. |
| 923 | (target_supports_evaluation_of_breakpoint_conditions): New. |
| 924 | (target_supports_dumpcore): New. |
| 925 | (target_dumpcore): New. |
| 926 | (target_can_run_breakpoint_commands): New. |
| 927 | (target_files_info): New. |
| 928 | (target_post_startup_inferior): New. |
| 929 | (target_insert_fork_catchpoint): New. |
| 930 | (target_remove_fork_catchpoint): New. |
| 931 | (target_insert_vfork_catchpoint): New. |
| 932 | (target_remove_vfork_catchpoint): New. |
| 933 | (target_insert_exec_catchpoint): New. |
| 934 | (target_remove_exec_catchpoint): New. |
| 935 | (target_set_syscall_catchpoint): New. |
| 936 | (target_rcmd): New. |
| 937 | (target_can_lock_scheduler): New. |
| 938 | (target_can_async_p): New. |
| 939 | (target_is_async_p): New. |
| 940 | (target_execution_direction): New. |
| 941 | (target_extra_thread_info): New. |
| 942 | (target_pid_to_exec_file): New. |
| 943 | (target_thread_architecture): New. |
| 944 | (target_find_memory_regions): New. |
| 945 | (target_make_corefile_notes): New. |
| 946 | (target_get_bookmark): New. |
| 947 | (target_goto_bookmark): New. |
| 948 | (target_stopped_by_watchpoint): New. |
| 949 | (target_stopped_by_sw_breakpoint): New. |
| 950 | (target_supports_stopped_by_sw_breakpoint): New. |
| 951 | (target_stopped_by_hw_breakpoint): New. |
| 952 | (target_supports_stopped_by_hw_breakpoint): New. |
| 953 | (target_have_steppable_watchpoint): New. |
| 954 | (target_can_use_hardware_watchpoint): New. |
| 955 | (target_region_ok_for_hw_watchpoint): New. |
| 956 | (target_can_do_single_step): New. |
| 957 | (target_insert_watchpoint): New. |
| 958 | (target_remove_watchpoint): New. |
| 959 | (target_insert_hw_breakpoint): New. |
| 960 | (target_remove_hw_breakpoint): New. |
| 961 | (target_can_accel_watchpoint_condition): New. |
| 962 | (target_can_execute_reverse): New. |
| 963 | (target_get_ada_task_ptid): New. |
| 964 | (target_filesystem_is_local): New. |
| 965 | (target_trace_init): New. |
| 966 | (target_download_tracepoint): New. |
| 967 | (target_can_download_tracepoint): New. |
| 968 | (target_download_trace_state_variable): New. |
| 969 | (target_enable_tracepoint): New. |
| 970 | (target_disable_tracepoint): New. |
| 971 | (target_trace_start): New. |
| 972 | (target_trace_set_readonly_regions): New. |
| 973 | (target_get_trace_status): New. |
| 974 | (target_get_tracepoint_status): New. |
| 975 | (target_trace_stop): New. |
| 976 | (target_trace_find): New. |
| 977 | (target_get_trace_state_variable_value): New. |
| 978 | (target_save_trace_data): New. |
| 979 | (target_upload_tracepoints): New. |
| 980 | (target_upload_trace_state_variables): New. |
| 981 | (target_get_raw_trace_data): New. |
| 982 | (target_get_min_fast_tracepoint_insn_len): New. |
| 983 | (target_set_disconnected_tracing): New. |
| 984 | (target_set_circular_trace_buffer): New. |
| 985 | (target_set_trace_buffer_size): New. |
| 986 | (target_set_trace_notes): New. |
| 987 | (target_get_tib_address): New. |
| 988 | (target_set_permissions): New. |
| 989 | (target_static_tracepoint_marker_at): New. |
| 990 | (target_static_tracepoint_markers_by_strid): New. |
| 991 | (target_traceframe_info): New. |
| 992 | (target_use_agent): New. |
| 993 | (target_can_use_agent): New. |
| 994 | (target_augmented_libraries_svr4_read): New. |
| 995 | (target_log_command): New. |
| 996 | * bfin-tdep.c (bfin_sw_breakpoint_from_kind): Adjust. |
| 997 | * infrun.c (set_schedlock_func): Adjust. |
| 998 | * mi/mi-main.c (exec_reverse_continue): Adjust. |
| 999 | * reverse.c (exec_reverse_once): Adjust. |
| 1000 | * sh-tdep.c (sh_sw_breakpoint_from_kind): Adjust. |
| 1001 | * tui/tui-stack.c (tui_locator_window::make_status_line): Adjust. |
| 1002 | * remote-sim.c (gdbsim_target::detach): Adjust. |
| 1003 | (gdbsim_target::files_info): Adjust. |
| 1004 | |
| 1005 | 2021-03-24 Tom Tromey <tom@tromey.com> |
| 1006 | |
| 1007 | * dwarf2/read.c (dw2_map_matching_symbols): Update. |
| 1008 | (dw2_expand_symtabs_matching_symbol): Remove 'kind' parameter. |
| 1009 | (check_match, dw2_expand_symtabs_matching) |
| 1010 | (dwarf2_debug_names_index::map_matching_symbols) |
| 1011 | (dwarf2_debug_names_index::expand_symtabs_matching): Update. |
| 1012 | |
| 1013 | 2021-03-24 Keith Seitz <keiths@redhat.com> |
| 1014 | |
| 1015 | * compile/compile-cplus-types.c |
| 1016 | (compile_cplus_convert_struct_or_union): Fix TYPE_DECLARED_CLASS |
| 1017 | thinko. |
| 1018 | |
| 1019 | 2021-03-24 Simon Marchi <simon.marchi@polymtl.ca> |
| 1020 | |
| 1021 | * gdbarch.sh (gdbarch_data_registry): Make static. |
| 1022 | * gdbarch.c: Re-generate. |
| 1023 | |
| 1024 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1025 | |
| 1026 | * NEWS: Mention memory tagging changes. |
| 1027 | |
| 1028 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1029 | |
| 1030 | * printcmd.c (decode_format): Handle the 'm' modifier. |
| 1031 | (do_examine): Display allocation tags when required/supported. |
| 1032 | (should_validate_memtags): New function. |
| 1033 | (print_command_1): Display memory tag mismatches. |
| 1034 | * valprint.c (show_memory_tag_violations): New function. |
| 1035 | (value_print_option_defs): Add new option "memory-tag-violations". |
| 1036 | (user_print_options) <memory_tag_violations>: Initialize to 1. |
| 1037 | * valprint.h (struct format_data) <print_tags>: New field. |
| 1038 | (value_print_options) <memory_tag_violations>: New field. |
| 1039 | |
| 1040 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1041 | |
| 1042 | * printcmd.c: Include gdbsupport/rsp-low.h. |
| 1043 | (memory_tag_list): New static global. |
| 1044 | (process_print_command_args): Factored out of |
| 1045 | print_command_1. |
| 1046 | (print_command_1): Use process_print_command_args. |
| 1047 | (show_addr_not_tagged, show_memory_tagging_unsupported) |
| 1048 | (memory_tag_command, memory_tag_print_tag_command) |
| 1049 | (memory_tag_print_logical_tag_command) |
| 1050 | (memory_tag_print_allocation_tag_command, parse_with_logical_tag_input) |
| 1051 | (memory_tag_with_logical_tag_command, parse_set_allocation_tag_input) |
| 1052 | (memory_tag_set_allocation_tag_command, memory_tag_check_command): New |
| 1053 | functions. |
| 1054 | (_initialize_printcmd): Add "memory-tag" prefix and subcommands. |
| 1055 | |
| 1056 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1057 | |
| 1058 | * aarch64-linux-tdep.c |
| 1059 | (aarch64_linux_iterate_over_regset_sections): Handle MTE register set. |
| 1060 | * aarch64-linux-tdep.h (AARCH64_LINUX_SIZEOF_MTE_REGSET): Define. |
| 1061 | |
| 1062 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1063 | |
| 1064 | * aarch64-linux-tdep.c |
| 1065 | (aarch64_linux_report_signal_info): New function. |
| 1066 | (aarch64_linux_init_abi): Register |
| 1067 | aarch64_linux_report_signal_info as the report_signal_info hook. |
| 1068 | * arch/aarch64-linux.h (SEGV_MTEAERR): Define. |
| 1069 | (SEGV_MTESERR): Define. |
| 1070 | |
| 1071 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1072 | |
| 1073 | * aarch64-linux-tdep.c: Include gdbsupport/selftest.h. |
| 1074 | (aarch64_linux_ltag_tests): New function. |
| 1075 | (_initialize_aarch64_linux_tdep): Register aarch64_linux_ltag_tests. |
| 1076 | |
| 1077 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1078 | |
| 1079 | * aarch64-linux-tdep.c: Include target.h, arch-utils.h, value.h. |
| 1080 | (aarch64_mte_get_atag, aarch64_linux_tagged_address_p) |
| 1081 | (aarch64_linux_memtag_mismatch_p, aarch64_linux_set_memtags) |
| 1082 | (aarch64_linux_get_memtag, aarch64_linux_memtag_to_string): New |
| 1083 | functions. |
| 1084 | (aarch64_linux_init_abi): Initialize MTE-related gdbarch hooks. |
| 1085 | * arch/aarch64-mte-linux.c (aarch64_mte_make_ltag_bits) |
| 1086 | (aarch64_mte_make_ltag, aarch64_linux_set_ltag) |
| 1087 | (aarch64_linux_get_ltag): New functions. |
| 1088 | * arch/aarch64-mte-linux.h (AARCH64_MTE_LOGICAL_TAG_START_BIT) |
| 1089 | (AARCH64_MTE_LOGICAL_MAX_VALUE): Define. |
| 1090 | (aarch64_mte_make_ltag_bits, aarch64_mte_make_ltag) |
| 1091 | (aarch64_mte_set_ltag, aarch64_mte_get_ltag): New prototypes. |
| 1092 | |
| 1093 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1094 | |
| 1095 | * linux-tdep.c (struct smaps_vmflags) <memory_tagging>: New flag |
| 1096 | bit. |
| 1097 | (struct smaps_data): New struct. |
| 1098 | (decode_vmflags): Handle the 'mt' flag. |
| 1099 | (parse_smaps_data): New function, refactored from |
| 1100 | linux_find_memory_regions_full. |
| 1101 | (linux_address_in_memtag_page): New function. |
| 1102 | (linux_find_memory_regions_full): Refactor into parse_smaps_data. |
| 1103 | * linux-tdep.h (linux_address_in_memtag_page): New prototype. |
| 1104 | |
| 1105 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1106 | |
| 1107 | * linux-tdep.c (linux_find_memory_regions_full): Use std::string |
| 1108 | instead of char arrays. |
| 1109 | |
| 1110 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1111 | |
| 1112 | * Makefile.in (ALL_64_TARGET_OBS): Add arch/aarch64-mte-linux.o. |
| 1113 | (HFILES_NO_SRCDIR): Add arch/aarch64-mte-linux.h and |
| 1114 | nat/aarch64-mte-linux-ptrace.h. |
| 1115 | * aarch64-linux-nat.c: Include nat/aarch64-mte-linux-ptrace.h. |
| 1116 | (aarch64_linux_nat_target) <supports_memory_tagging>: New method |
| 1117 | override. |
| 1118 | <fetch_memtags>: New method override. |
| 1119 | <store_memtags>: New method override. |
| 1120 | (aarch64_linux_nat_target::supports_memory_tagging): New method. |
| 1121 | (aarch64_linux_nat_target::fetch_memtags): New method. |
| 1122 | (aarch64_linux_nat_target::store_memtags): New method. |
| 1123 | * arch/aarch64-mte-linux.c: New file. |
| 1124 | * arch/aarch64-mte-linux.h: Include gdbsupport/common-defs.h. |
| 1125 | (AARCH64_MTE_GRANULE_SIZE): Define. |
| 1126 | (aarch64_memtag_type): New enum. |
| 1127 | (aarch64_mte_get_tag_granules): New prototype. |
| 1128 | * configure.nat (NATDEPFILES): Add nat/aarch64-mte-linux-ptrace.o. |
| 1129 | * configure.tgt (aarch64*-*-linux*): Add arch/aarch64-mte-linux.o. |
| 1130 | * nat/aarch64-mte-linux-ptrace.c: New file. |
| 1131 | * nat/aarch64-mte-linux-ptrace.h: New file. |
| 1132 | |
| 1133 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1134 | |
| 1135 | * Makefile.in (HFILES_NO_SRCDIR): Add nat/aarch64-mte-linux-ptrace.h. |
| 1136 | * nat/aarch64-mte-linux-ptrace.h: New file. |
| 1137 | |
| 1138 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1139 | |
| 1140 | * aarch64-linux-nat.c (fetch_mteregs_from_thread): New function. |
| 1141 | (store_mteregs_to_thread): New function. |
| 1142 | (aarch64_linux_nat_target::fetch_registers): Update to call |
| 1143 | fetch_mteregs_from_thread. |
| 1144 | (aarch64_linux_nat_target::store_registers): Update to call |
| 1145 | store_mteregs_to_thread. |
| 1146 | * aarch64-tdep.c (aarch64_mte_register_names): New struct. |
| 1147 | (aarch64_cannot_store_register): Handle MTE registers. |
| 1148 | (aarch64_gdbarch_init): Initialize and setup MTE registers. |
| 1149 | * aarch64-tdep.h (gdbarch_tdep) <mte_reg_base>: New field. |
| 1150 | <has_mte>: New method. |
| 1151 | * arch/aarch64-linux.h (AARCH64_LINUX_SIZEOF_MTE): Define. |
| 1152 | |
| 1153 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1154 | |
| 1155 | * aarch64-linux-nat.c |
| 1156 | (aarch64_linux_nat_target::read_description): Take MTE flag into |
| 1157 | account. |
| 1158 | Slight refactor to hwcap flag checking. |
| 1159 | * aarch64-linux-tdep.c |
| 1160 | (aarch64_linux_core_read_description): Likewise. |
| 1161 | * aarch64-tdep.c (tdesc_aarch64_list): Add one more dimension for |
| 1162 | MTE. |
| 1163 | (aarch64_read_description): Add mte_p parameter and update to use it. |
| 1164 | Update the documentation. |
| 1165 | (aarch64_gdbarch_init): Update call to aarch64_read_description. |
| 1166 | * aarch64-tdep.h (aarch64_read_description): Add mte_p parameter. |
| 1167 | * arch/aarch64.c: Include ../features/aarch64-mte.c. |
| 1168 | (aarch64_create_target_description): Add mte_p parameter and update |
| 1169 | the code to use it. |
| 1170 | * arch/aarch64.h (aarch64_create_target_description): Add mte_p |
| 1171 | parameter. |
| 1172 | * features/Makefile (FEATURE_XMLFILES): Add aarch64-mte.xml. |
| 1173 | * features/aarch64-mte.c: New file, generated. |
| 1174 | * features/aarch64-mte.xml: New file. |
| 1175 | |
| 1176 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1177 | |
| 1178 | * Makefile.in (HFILES_NO_SRCDIR): Add arch/aarch64-mte-linux.h. |
| 1179 | * aarch64-linux-nat.c: Include arch/aarch64-mte-linux.h. |
| 1180 | * aarch64-linux-tdep.c: Likewise |
| 1181 | * arch/aarch64-mte-linux.h: New file. |
| 1182 | |
| 1183 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1184 | |
| 1185 | * remote: Include gdbsupport/selftest.h. |
| 1186 | (test_memory_tagging_functions): New function. |
| 1187 | (_initialize_remote): Register test_memory_tagging_functions. |
| 1188 | |
| 1189 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1190 | |
| 1191 | * remote.c (PACKET_memory_tagging_feature): New enum. |
| 1192 | (remote_memory_tagging_p): New function. |
| 1193 | (remote_protocol_features): New "memory-tagging" entry. |
| 1194 | (remote_target::remote_query_supported): Handle memory tagging |
| 1195 | support. |
| 1196 | (remote_target::supports_memory_tagging): Implement. |
| 1197 | (create_fetch_memtags_request, parse_fetch_memtags_reply) |
| 1198 | (create_store_memtags_request): New functions. |
| 1199 | (remote_target::fetch_memtags): Implement. |
| 1200 | (remote_target::store_memtags): Implement. |
| 1201 | (_initialize_remote): Add new "memory-tagging-feature" |
| 1202 | config command. |
| 1203 | |
| 1204 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1205 | |
| 1206 | * arch-utils.c (default_memtag_to_string, default_tagged_address_p) |
| 1207 | (default_memtag_matches_p, default_set_memtags) |
| 1208 | (default_get_memtag): New functions. |
| 1209 | * arch-utils.h (default_memtag_to_string, default_tagged_address_p) |
| 1210 | (default_memtag_matches_p, default_set_memtags) |
| 1211 | (default_get_memtag): New prototypes. |
| 1212 | * gdbarch.c: Regenerate. |
| 1213 | * gdbarch.h: Regenerate. |
| 1214 | * gdbarch.sh (memtag_to_string, tagged_address_p, memtag_matches_p) |
| 1215 | (set_memtags, get_memtag, memtag_granule_size): New gdbarch hooks. |
| 1216 | (enum memtag_type): New enum. |
| 1217 | |
| 1218 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
| 1219 | |
| 1220 | * remote.c (remote_target) <supports_memory_tagging>: New method |
| 1221 | override. |
| 1222 | <fetch_memtags>: New method override. |
| 1223 | <store_memtags>: New method override. |
| 1224 | (remote_target::supports_memory_tagging): New method. |
| 1225 | (remote_target::fetch_memtags): New method. |
| 1226 | (remote_target::store_memtags): New method. |
| 1227 | * target-delegates.c: Regenerate. |
| 1228 | * target.h (struct target_ops) <supports_memory_tagging>: New virtual |
| 1229 | method. |
| 1230 | <fetch_memtags>: New virtual method. |
| 1231 | <store_memtags>: New virtual method. |
| 1232 | (target_supports_memory_tagging): Define. |
| 1233 | (target_fetch_memtags): Define. |
| 1234 | (target_store_memtags): Define. |
| 1235 | * target-debug.h (target_debug_print_size_t) |
| 1236 | (target_debug_print_const_gdb_byte_vector_r) |
| 1237 | (target_debug_print_gdb_byte_vector_r): New functions. |
| 1238 | |
| 1239 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> |
| 1240 | |
| 1241 | * target.h (target_longname): Remove. |
| 1242 | |
| 1243 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> |
| 1244 | |
| 1245 | * target.h (target_is_pushed): Remove, update callers to use |
| 1246 | inferior::target_is_pushed instead. |
| 1247 | * target.c (target_is_pushed): Remove. |
| 1248 | |
| 1249 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> |
| 1250 | |
| 1251 | * target.h (push_target): Remove, update callers to use |
| 1252 | inferior::push_target. |
| 1253 | * target.c (push_target): Remove. |
| 1254 | * inferior.h (class inferior) <push_target>: New overload. |
| 1255 | |
| 1256 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> |
| 1257 | |
| 1258 | * target.h (unpush_target): Remove, update all callers |
| 1259 | to use `inferior::unpush_target` instead. |
| 1260 | (struct target_unpusher) <operator()>: Just declare. |
| 1261 | * target.c (unpush_target): Remove. |
| 1262 | (target_unpusher::operator()): New. |
| 1263 | |
| 1264 | 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com> |
| 1265 | |
| 1266 | * dwarf2/read.c (process_psymtab_comp_unit): Replace abort with an |
| 1267 | error. |
| 1268 | (process_full_comp_unit): Validate the top-level tag before |
| 1269 | processing the first DIE. |
| 1270 | (read_func_scope): Ensure we have a valid builder. |
| 1271 | |
| 1272 | 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com> |
| 1273 | |
| 1274 | * objc-lang.c (objc_demangle): Renamed to |
| 1275 | objc_language::demangle_symbol, and moved later in the file. |
| 1276 | (objc_language::sniff_from_mangled_name): Call demangle_symbol |
| 1277 | member function. |
| 1278 | (objc_language::demangle_symbol): Defined outside of class |
| 1279 | declaration. The definition is the old objc_demangle with NULL |
| 1280 | changed to nullptr, and if conditions relating to nullptr pointers |
| 1281 | or null character checks made explicit. |
| 1282 | * objc-lang.h (objc_demangle): Delete declaration. |
| 1283 | |
| 1284 | 2021-03-22 Martin Liska <mliska@suse.cz> |
| 1285 | |
| 1286 | * arm-tdep.c (show_disassembly_style_sfunc): Replace usage of CONST_STRNEQ with startswith. |
| 1287 | (_initialize_arm_tdep): Likewise. |
| 1288 | |
| 1289 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1290 | |
| 1291 | * xcoffread.c (xcoff_initial_scan): Create partial symtabs. |
| 1292 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. |
| 1293 | * psymtab.h (make_psymbol_functions): Don't declare. |
| 1294 | * psymtab.c (make_psymbol_functions): Remove. |
| 1295 | (maintenance_print_psymbols): Update. |
| 1296 | * psympriv.h (struct psymbol_functions): Add no-argument |
| 1297 | constructor. |
| 1298 | * objfiles.h (struct objfile) <reset_psymtabs>: Remove. |
| 1299 | <partial_symtabs>: Remove. |
| 1300 | * mdebugread.c (mdebug_build_psymtabs): Create partial symtabs. |
| 1301 | * elfread.c (read_partial_symbols): Update. |
| 1302 | (elf_symfile_read): Remove check for existing partial symbols. |
| 1303 | Don't clear "qf". |
| 1304 | * dwarf2/read.c (dwarf2_has_info): Remove check for existing |
| 1305 | partial symbols. |
| 1306 | (dwarf2_build_psymtabs): Add psymbol_functions parameter. Create |
| 1307 | partial symtabs. |
| 1308 | * dwarf2/public.h (dwarf2_build_psymtabs): Add psymbol_functions |
| 1309 | parameter. |
| 1310 | * dbxread.c (dbx_symfile_read): Create partial symtabs. |
| 1311 | * ctfread.c (elfctf_build_psymtabs): Create partial symtabs. |
| 1312 | |
| 1313 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1314 | |
| 1315 | * dwarf2/read.c (dwarf2_build_psymtabs): Update. |
| 1316 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. |
| 1317 | * symfile-debug.c (objfile::has_partial_symbols) |
| 1318 | (objfile::find_last_source_symtab) |
| 1319 | (objfile::forget_cached_source_info) |
| 1320 | (objfile::map_symtabs_matching_filename, objfile::lookup_symbol) |
| 1321 | (objfile::print_stats, objfile::dump) |
| 1322 | (objfile::expand_symtabs_for_function) |
| 1323 | (objfile::expand_all_symtabs) |
| 1324 | (objfile::expand_symtabs_with_fullname) |
| 1325 | (objfile::map_matching_symbols) |
| 1326 | (objfile::expand_symtabs_matching) |
| 1327 | (objfile::find_pc_sect_compunit_symtab) |
| 1328 | (objfile::map_symbol_filenames) |
| 1329 | (objfile::find_compunit_symtab_by_address) |
| 1330 | (objfile::lookup_global_symbol_language) |
| 1331 | (objfile::require_partial_symbols): Update. |
| 1332 | * psymtab.c (maintenance_print_psymbols) |
| 1333 | (maintenance_info_psymtabs, maintenance_check_psymtabs): Update. |
| 1334 | * objfiles.h (struct objfile) <qf>: Now a forward_list. |
| 1335 | * objfiles.c (objfile_relocate1): Update. |
| 1336 | * elfread.c (elf_symfile_read): Update. |
| 1337 | |
| 1338 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1339 | |
| 1340 | * objfiles.h (struct objfile) <psymtabs>: Remove method. |
| 1341 | |
| 1342 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1343 | |
| 1344 | * psymtab.c (psymbol_functions::count_psyms): Rename. |
| 1345 | (psymbol_functions::print_stats): Update. |
| 1346 | * psympriv.h (struct psymbol_functions) <count_psyms>: Declare |
| 1347 | method. |
| 1348 | |
| 1349 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1350 | |
| 1351 | * psymtab.c (psymbol_functions::require_partial_symbols): Rename. |
| 1352 | (psymbol_functions::find_pc_sect_psymtab): Rename. |
| 1353 | (psymbol_functions::find_pc_sect_compunit_symtab) |
| 1354 | (maintenance_print_psymbols, maintenance_check_psymtabs): Update. |
| 1355 | * psympriv.h (struct psymbol_functions) <require_partial_symbols>: |
| 1356 | Declare new method. |
| 1357 | <get_partial_symtabs, find_pc_sect_psymtab>: Likewise. |
| 1358 | |
| 1359 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1360 | |
| 1361 | * xcoffread.c (xcoff_start_psymtab): Add partial_symtabs parameter. |
| 1362 | (xcoff_end_psymtab, scan_xcoff_symtab): Update. |
| 1363 | * psymtab.c (partial_symtab::partial_symtab): Add partial_symtabs |
| 1364 | parameter. |
| 1365 | (add_psymbol_to_bcache): Remove. |
| 1366 | (partial_symtab::add_psymbol): Add partial_symtabs parameter. |
| 1367 | (partial_symtab::add_psymbol, partial_symtab::partial_symtab): |
| 1368 | Likewise. |
| 1369 | * psympriv.h (partial_symtab): Add partial_symtabs parameter. |
| 1370 | <add_psymbol>: Likewise. |
| 1371 | (standard_psymtab, legacy_psymtab): Likewise. |
| 1372 | * mdebugread.c (parse_partial_symbols): Update. |
| 1373 | (handle_psymbol_enumerators): Add partial_symtabs parameter. |
| 1374 | (handle_psymbol_enumerators): Update. |
| 1375 | (new_psymtab): Add partial_symtabs parameter. |
| 1376 | * dwarf2/read.h (dwarf2_psymtab): Add partial_symtabs parameter. |
| 1377 | * dwarf2/read.c (dwarf2_include_psymtab): Add partial_symtabs |
| 1378 | parameter. |
| 1379 | (dwarf2_create_include_psymtab): Add partial_symtabs parameter. |
| 1380 | (create_partial_symtab, add_partial_symbol, dwarf_decode_lines): |
| 1381 | Update. |
| 1382 | * dbxread.c (read_dbx_symtab): Update. |
| 1383 | (start_psymtab): Add partial_symtabs parameter. |
| 1384 | (dbx_end_psymtab): Update. |
| 1385 | * ctfread.c (struct ctf_context) <partial_symtabs>: New member. |
| 1386 | (ctf_psymtab): Add partial_symtabs parameter. |
| 1387 | (create_partial_symtab, ctf_psymtab_type_cb, ctf_psymtab_var_cb): |
| 1388 | Update. |
| 1389 | (scan_partial_symbols): Add partial_symtabs parameter. |
| 1390 | (scan_partial_symbols, elfctf_build_psymtabs) |
| 1391 | (ctf_psymtab_add_enums): Update. |
| 1392 | |
| 1393 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1394 | |
| 1395 | * symfile.c (read_symbols): Use objfile method. |
| 1396 | * symfile-debug.c (objfile::require_partial_symbols): New method. |
| 1397 | * psymtab.h (require_partial_symbols): Don't declare. |
| 1398 | * psymtab.c (require_partial_symbols): Use objfile method. Now |
| 1399 | static. |
| 1400 | (psymbol_functions::map_symtabs_matching_filename, OBJFILE) |
| 1401 | (psymbol_functions::lookup_symbol) |
| 1402 | (psymbol_functions::lookup_global_symbol_language) |
| 1403 | (psymbol_functions::find_last_source_symtab) |
| 1404 | (psymbol_functions::forget_cached_source_info) |
| 1405 | (psymbol_functions::print_stats) |
| 1406 | (psymbol_functions::expand_symtabs_for_function) |
| 1407 | (psymbol_functions::expand_all_symtabs) |
| 1408 | (psymbol_functions::expand_symtabs_with_fullname) |
| 1409 | (psymbol_functions::map_symbol_filenames) |
| 1410 | (psymbol_functions::map_matching_symbols) |
| 1411 | (psymbol_functions::expand_symtabs_matching) |
| 1412 | (psymbol_functions::find_compunit_symtab_by_address) |
| 1413 | (maintenance_print_psymbols, maintenance_info_psymtabs) |
| 1414 | (maintenance_check_psymtabs): Update. |
| 1415 | * objfiles.h (struct objfile) <require_partial_symbols>: Declare |
| 1416 | new method. |
| 1417 | |
| 1418 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1419 | |
| 1420 | * xcoffread.c (xcoff_sym_fns): Update. |
| 1421 | * symfile.h (struct sym_fns) <sym_read_psymbols>: Remove. |
| 1422 | * symfile-debug.c (objfile::has_partial_symbols): Use |
| 1423 | can_lazily_read_symbols. |
| 1424 | (debug_sym_read_psymbols): Remove. |
| 1425 | (debug_sym_fns, install_symfile_debug_logging): Update. |
| 1426 | * quick-symbol.h (struct quick_symbol_functions) |
| 1427 | <can_lazily_read_symbols, read_partial_symbols>: New methods. |
| 1428 | * psymtab.c (require_partial_symbols): Use new 'qf' methods. |
| 1429 | * mipsread.c (ecoff_sym_fns): Update. |
| 1430 | * machoread.c (macho_sym_fns): Update. |
| 1431 | * elfread.c (struct lazy_dwarf_reader): New. |
| 1432 | (elf_symfile_read): Update. |
| 1433 | (read_psyms): Now a method of lazy_dwarf_reader. |
| 1434 | (elf_sym_fns): Update. |
| 1435 | (elf_sym_fns_lazy_psyms): Remove. |
| 1436 | * dbxread.c (aout_sym_fns): Update. |
| 1437 | * coffread.c (coff_sym_fns): Update. |
| 1438 | |
| 1439 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1440 | |
| 1441 | * symfile.c (syms_from_objfile_1): Call reset_psymtabs. |
| 1442 | (reread_symbols): Move reset_psymtabs call later. |
| 1443 | * objfiles.c (objfile::objfile): Don't initialize |
| 1444 | partial_symtabs. |
| 1445 | |
| 1446 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1447 | |
| 1448 | * dwarf2/read.c (dwarf2_build_psymtabs): Call |
| 1449 | set_partial_symtabs. |
| 1450 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. |
| 1451 | * psymtab.h (make_psymbol_functions): Add partial_symtabs |
| 1452 | parameter. |
| 1453 | * psymtab.c (find_pc_sect_psymtab): Add partial_symtabs |
| 1454 | parameter. |
| 1455 | (psymbol_functions::find_pc_sect_compunit_symtab) |
| 1456 | (psymbol_functions::print_stats, psymbol_functions::dump) |
| 1457 | (psymbol_functions::has_symbols): Update. |
| 1458 | (make_psymbol_functions, dump_psymtab_addrmap): Add |
| 1459 | partial_symtabs parameter. |
| 1460 | (maintenance_print_psymbols): Update. |
| 1461 | (psymbol_functions::expand_symtabs_matching): Update. |
| 1462 | * psympriv.h (struct psymbol_functions): Add constructor. |
| 1463 | <m_partial_symtabs>: New member. |
| 1464 | <set_partial_symtabs>: New method. |
| 1465 | |
| 1466 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1467 | |
| 1468 | * dwarf2/read.c (dwarf2_create_include_psymtab): Add per_bfd |
| 1469 | parameter. |
| 1470 | (process_psymtab_comp_unit_reader) |
| 1471 | (build_type_psymtab_dependencies, dwarf2_build_psymtabs_hard) |
| 1472 | (add_partial_subprogram, dwarf2_ranges_read, dwarf_decode_lines): |
| 1473 | Reference psymtabs via per_bfd. |
| 1474 | |
| 1475 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1476 | |
| 1477 | * dwarf2/index-write.c (struct addrmap_index_data) <objfile>: |
| 1478 | Remove. |
| 1479 | (add_address_entry): Remove objfile parameter. |
| 1480 | (add_address_entry_worker): Update. |
| 1481 | (write_address_map): Replace objfile parameter with per_bfd. |
| 1482 | (write_gdbindex, write_psymtabs_to_index): Update. |
| 1483 | |
| 1484 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1485 | |
| 1486 | * dwarf2/read.c (dwarf2_base_index_functions::print_stats): Add |
| 1487 | print_bcache parameter. |
| 1488 | * symfile-debug.c (objfile::print_stats): Add print_bcache |
| 1489 | parameter. |
| 1490 | * quick-symbol.h (struct quick_symbol_functions) |
| 1491 | <print_stats>: Add print_bcache parameter. |
| 1492 | * symmisc.c (print_symbol_bcache_statistics, count_psyms): Move |
| 1493 | code to psymtab.c. |
| 1494 | (print_objfile_statistics): Move psymtab code to psymtab.c. |
| 1495 | * psymtab.c (count_psyms): Move from symmisc.c. |
| 1496 | (psymbol_functions::print_stats): Print partial symbol and bcache |
| 1497 | statistics. Add print_bcache parameter. |
| 1498 | * objfiles.h (print_symbol_bcache_statistics): Don't declare. |
| 1499 | (struct objfile) <print_stats>: Add print_bcache parameter. |
| 1500 | * maint.c (maintenance_print_statistics): Update. |
| 1501 | |
| 1502 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1503 | |
| 1504 | * dwarf2/read.h (struct dwarf2_per_bfd) <psymtabs_addrmap>: New |
| 1505 | member. |
| 1506 | * dwarf2/read.c (create_addrmap_from_index) |
| 1507 | (create_addrmap_from_aranges): Set per_bfd addrmap. |
| 1508 | (dwarf2_read_gdb_index): Don't set partial_symtabs. |
| 1509 | (dwarf2_base_index_functions::find_pc_sect_compunit_symtab): Use |
| 1510 | per_bfd addrmap. |
| 1511 | (dwarf2_read_debug_names): Don't set partial_symtabs. |
| 1512 | (dwarf2_initialize_objfile): Likewise. |
| 1513 | |
| 1514 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1515 | |
| 1516 | * dwarf2/read.c (dwarf2_build_psymtabs): Set partial_symtabs |
| 1517 | earlier. |
| 1518 | |
| 1519 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1520 | |
| 1521 | * psympriv.h (psymtab_discarder): Take psymtab_storage parameter. |
| 1522 | (~psymtab_discarder, keep): Update. |
| 1523 | <m_objfile>: Remove. |
| 1524 | <m_partial_symtabs>: New member. |
| 1525 | * dwarf2/read.c (dwarf2_build_psymtabs): Update. |
| 1526 | |
| 1527 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1528 | |
| 1529 | * xcoffread.c (xcoff_end_psymtab): Add partial_symtabs parameter. |
| 1530 | (xcoff_end_psymtab): Update. |
| 1531 | (scan_xcoff_symtab): Add partial_symtabs parameter. |
| 1532 | (xcoff_initial_scan): Update. |
| 1533 | * stabsread.h (dbx_end_psymtab): Add partial_symtabs parameter. |
| 1534 | * mdebugread.c (mdebug_build_psymtabs): Update. |
| 1535 | (parse_partial_symbols): Add partial_symtabs parameter. |
| 1536 | * dbxread.c (dbx_symfile_read): Update. |
| 1537 | (read_dbx_symtab): Add partial_symtabs parameter. |
| 1538 | (read_dbx_symtab): Update. |
| 1539 | (dbx_end_psymtab): Add partial_symtabs parameter. |
| 1540 | |
| 1541 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1542 | |
| 1543 | * quick-symbol.h (struct quick_symbol_functions) |
| 1544 | <relocated>: New method. |
| 1545 | * psymtab.h (struct psymbol_functions) <relocated>: New |
| 1546 | method. |
| 1547 | <fill_psymbol_map>: Declare method. |
| 1548 | <m_psymbol_map>: New member. |
| 1549 | * psymtab.c (psymbol_functions::fill_psymbol_map): Rename. |
| 1550 | (psymbol_functions::find_compunit_symtab_by_address): Update. |
| 1551 | * objfiles.h (reset_psymtabs): Don't clear psymbol_map. |
| 1552 | (struct objfile) <psymbol_map>: Remove. |
| 1553 | * objfiles.c (objfile_relocate1): Update. |
| 1554 | |
| 1555 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1556 | |
| 1557 | * psympriv.h (struct psymbol_functions): New. |
| 1558 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. |
| 1559 | * symfile-debug.c (objfile::find_compunit_symtab_by_address) |
| 1560 | (objfile::lookup_global_symbol_language): Update. |
| 1561 | * quick-symbol.h (struct quick_symbol_functions): Convert function |
| 1562 | pointers to methods. Add virtual destructor. |
| 1563 | (quick_symbol_functions_up): New typedef. |
| 1564 | * psymtab.h (psym_functions, dwarf2_gdb_index_functions) |
| 1565 | (dwarf2_debug_names_functions): Don't declare. |
| 1566 | (make_psymbol_functions): Declare. |
| 1567 | * psymtab.c (psymbol_functions::map_symtabs_matching_filename) |
| 1568 | (psymbol_functions::find_pc_sect_compunit_symtab) |
| 1569 | (psymbol_functions::lookup_symbol) |
| 1570 | (psymbol_functions::lookup_global_symbol_language) |
| 1571 | (psymbol_functions::find_last_source_symtab) |
| 1572 | (psymbol_functions::forget_cached_source_info) |
| 1573 | (psymbol_functions::print_stats, psymbol_functions::dump) |
| 1574 | (psymbol_functions::expand_symtabs_for_function) |
| 1575 | (psymbol_functions::expand_all_symtabs) |
| 1576 | (psymbol_functions::expand_symtabs_with_fullname) |
| 1577 | (psymbol_functions::map_symbol_filenames) |
| 1578 | (psymbol_functions::map_matching_symbols) |
| 1579 | (psymbol_functions::expand_symtabs_matching) |
| 1580 | (psymbol_functions::has_symbols) |
| 1581 | (psymbol_functions::find_compunit_symtab_by_address): Rename. |
| 1582 | (psym_functions): Remove. |
| 1583 | (make_psymbol_functions): New function. |
| 1584 | * objfiles.h (struct objfile) <qf>: Change type. |
| 1585 | * elfread.c (elf_symfile_read): Update. |
| 1586 | * dwarf2/read.c (struct dwarf2_base_index_functions) |
| 1587 | (struct dwarf2_gdb_index, struct dwarf2_debug_names_index): New. |
| 1588 | (make_dwarf_gdb_index, make_dwarf_debug_names): New functions. |
| 1589 | (dwarf2_base_index_functions::find_last_source_symtab) |
| 1590 | (dwarf2_base_index_functions::forget_cached_source_info) |
| 1591 | (dwarf2_base_index_functions::map_symtabs_matching_filename) |
| 1592 | (dwarf2_gdb_index::lookup_symbol) |
| 1593 | (dwarf2_base_index_functions::print_stats) |
| 1594 | (dwarf2_gdb_index::dump) |
| 1595 | (dwarf2_gdb_index::expand_symtabs_for_function) |
| 1596 | (dwarf2_base_index_functions::expand_all_symtabs) |
| 1597 | (dwarf2_base_index_functions::expand_symtabs_with_fullname): |
| 1598 | Rename. |
| 1599 | (dwarf2_gdb_index::map_matching_symbols): New method. |
| 1600 | (dwarf2_gdb_index::expand_symtabs_matching): New method. |
| 1601 | (dwarf2_base_index_functions::find_pc_sect_compunit_symtab) |
| 1602 | (dwarf2_base_index_functions::map_symbol_filenames) |
| 1603 | (dwarf2_base_index_functions::has_symbols): Rename. |
| 1604 | (dwarf2_gdb_index_functions): Remove. |
| 1605 | (dwarf2_debug_names_index::lookup_symbol) |
| 1606 | (dwarf2_debug_names_index::dump) |
| 1607 | (dwarf2_debug_names_index::expand_symtabs_for_function) |
| 1608 | (dwarf2_debug_names_index::map_matching_symbols) |
| 1609 | (dwarf2_debug_names_index::expand_symtabs_matching): Rename. |
| 1610 | (dwarf2_debug_names_functions): Remove. |
| 1611 | * dwarf2/public.h (make_dwarf_gdb_index, make_dwarf_debug_names): |
| 1612 | Declare. |
| 1613 | |
| 1614 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1615 | |
| 1616 | * psymtab.c (require_partial_symbols): Check that 'sf' is not |
| 1617 | null. |
| 1618 | * xcoffread.c (xcoff_sym_fns): Update. |
| 1619 | * symfile.h (struct sym_fns) <qf>: Remove. |
| 1620 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. |
| 1621 | * symfile-debug.c (objfile::has_partial_symbols) |
| 1622 | (objfile::find_last_source_symtab) |
| 1623 | (objfile::forget_cached_source_info) |
| 1624 | (objfile::map_symtabs_matching_filename, objfile::lookup_symbol) |
| 1625 | (objfile::print_stats, objfile::dump) |
| 1626 | (objfile::expand_symtabs_for_function) |
| 1627 | (objfile::expand_all_symtabs) |
| 1628 | (objfile::expand_symtabs_with_fullname) |
| 1629 | (objfile::map_matching_symbols) |
| 1630 | (objfile::expand_symtabs_matching) |
| 1631 | (objfile::find_pc_sect_compunit_symtab) |
| 1632 | (objfile::map_symbol_filenames) |
| 1633 | (objfile::find_compunit_symtab_by_address) |
| 1634 | (objfile::lookup_global_symbol_language, debug_sym_fns) |
| 1635 | (install_symfile_debug_logging): Update. |
| 1636 | * objfiles.h (struct objfile) <qf>: New member. |
| 1637 | * mipsread.c (ecoff_sym_fns): Update. |
| 1638 | * machoread.c (macho_sym_fns): Update. |
| 1639 | * elfread.c (elf_sym_fns_gdb_index, elf_sym_fns_debug_names): |
| 1640 | Don't declare. |
| 1641 | (elf_symfile_read, elf_sym_fns, elf_sym_fns_lazy_psyms): Update. |
| 1642 | * dbxread.c (aout_sym_fns): Update. |
| 1643 | * coffread.c (coff_sym_fns): Update. |
| 1644 | |
| 1645 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1646 | |
| 1647 | * symfile.h (symbol_compare_ftype, symbol_filename_ftype) |
| 1648 | (expand_symtabs_file_matcher_ftype) |
| 1649 | (expand_symtabs_symbol_matcher_ftype) |
| 1650 | (expand_symtabs_exp_notify_ftype, struct quick_symbol_functions): |
| 1651 | Move to quick-symbol.h. |
| 1652 | * quick-symbol.h: New file. |
| 1653 | |
| 1654 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1655 | |
| 1656 | * symtab.c (iterate_over_symtabs, expand_symtab_containing_pc) |
| 1657 | (lookup_symbol_via_quick_fns, find_quick_global_symbol_language) |
| 1658 | (basic_lookup_transparent_type_quick) |
| 1659 | (find_pc_sect_compunit_symtab, find_symbol_at_address) |
| 1660 | (find_line_symtab, global_symbol_searcher::expand_symtabs): |
| 1661 | Update. |
| 1662 | * symmisc.c (print_objfile_statistics, dump_objfile) |
| 1663 | (maintenance_expand_symtabs): Update. |
| 1664 | * symfile.c (symbol_file_add_with_addrs) |
| 1665 | (expand_symtabs_matching, map_symbol_filenames): Update. |
| 1666 | * symfile-debug.c (objfile::has_partial_symbols) |
| 1667 | (objfile::find_last_source_symtab) |
| 1668 | (objfile::forget_cached_source_info) |
| 1669 | (objfile::map_symtabs_matching_filename, objfile::lookup_symbol) |
| 1670 | (objfile::print_stats, objfile::dump) |
| 1671 | (objfile::expand_symtabs_for_function) |
| 1672 | (objfile::expand_all_symtabs) |
| 1673 | (objfile::expand_symtabs_with_fullname) |
| 1674 | (objfile::map_matching_symbols) |
| 1675 | (objfile::expand_symtabs_matching) |
| 1676 | (objfile::find_pc_sect_compunit_symtab) |
| 1677 | (objfile::map_symbol_filenames) |
| 1678 | (objfile::find_compunit_symtab_by_address) |
| 1679 | (objfile::lookup_global_symbol_language): New methods. |
| 1680 | (debug_sym_quick_functions): Remove. |
| 1681 | (debug_sym_fns, install_symfile_debug_logging): Update. |
| 1682 | * source.c (forget_cached_source_info_for_objfile) |
| 1683 | (select_source_symtab): Update. |
| 1684 | * objfiles.h (struct objfile): Add methods corresponding to |
| 1685 | quick_symbol_functions. |
| 1686 | * objfiles.c (objfile::has_partial_symbols): Move to |
| 1687 | symfile-debug.c. |
| 1688 | * linespec.c (iterate_over_all_matching_symtabs): Update. |
| 1689 | * cp-support.c (add_symbol_overload_list_qualified): Update. |
| 1690 | * ada-lang.c (add_nonlocal_symbols): Update. |
| 1691 | |
| 1692 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1693 | |
| 1694 | * objfiles.h (struct objfile) <has_partial_symbols>: Return bool. |
| 1695 | * symfile.h (struct quick_symbol_functions) <has_symbols>: Return |
| 1696 | bool. |
| 1697 | * symfile-debug.c (debug_qf_has_symbols): Return bool. |
| 1698 | * psymtab.c (psym_has_symbols): Return bool. |
| 1699 | * objfiles.c (objfile::has_partial_symbols): Return bool. |
| 1700 | * dwarf2/read.c (dw2_has_symbols): Return bool. |
| 1701 | |
| 1702 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1703 | |
| 1704 | * symfile.c (read_symbols): Update. |
| 1705 | * objfiles.h (struct objfile) <has_partial_symbols>: New method. |
| 1706 | (objfile_has_partial_symbols): Don't declare. |
| 1707 | * objfiles.c (objfile::has_partial_symbols): Rename from |
| 1708 | objfile_has_partial_symbols. |
| 1709 | (objfile_has_symbols, have_partial_symbols): Update. |
| 1710 | * elfread.c (elf_symfile_read): Update. |
| 1711 | * dwarf2/read.c (dwarf2_has_info): Update. |
| 1712 | * coffread.c (coff_symfile_read): Update. |
| 1713 | |
| 1714 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1715 | |
| 1716 | * coffread.c: Include dwarf2/public.h. |
| 1717 | * dwarf2/frame.c: Include dwarf2/public.h. |
| 1718 | * dwarf2/index-write.h: Include dwarf2/public.h, not symfile.h. |
| 1719 | * dwarf2/public.h: New file. |
| 1720 | * dwarf2/read.c: Include dwarf2/public.h. |
| 1721 | * elfread.c: Include dwarf2/public.h. |
| 1722 | * machoread.c: Include dwarf2/public.h. |
| 1723 | * symfile.h (dwarf2_has_info, enum dw_index_kind) |
| 1724 | (dwarf2_initialize_objfile, dwarf2_build_psymtabs) |
| 1725 | (dwarf2_build_frame_info): Move to dwarf2/public.h. |
| 1726 | * xcoffread.c: Include dwarf2/public.h. |
| 1727 | |
| 1728 | 2021-03-20 Tom Tromey <tom@tromey.com> |
| 1729 | |
| 1730 | * symfile.h (enum dwarf2_section_enum) |
| 1731 | (dwarf2_get_section_info): Move to dwarf2/read.h. |
| 1732 | * dwarf2/read.h (enum dwarf2_section_enum) |
| 1733 | (dwarf2_get_section_info): Move from symfile.h. |
| 1734 | |
| 1735 | 2021-03-19 Pedro Alves <pedro@palves.net> |
| 1736 | |
| 1737 | * thread.c (any_thread_of_inferior): Check if there's a selected |
| 1738 | thread before calling inferior_thread(). |
| 1739 | |
| 1740 | 2021-03-18 Tom Tromey <tromey@adacore.com> |
| 1741 | |
| 1742 | * dwarf2/stringify.c (dwarf_unit_type_name): New function. Use |
| 1743 | get_DW_UT_name. |
| 1744 | * dwarf2/stringify.h (dwarf_unit_type_name): Declare. |
| 1745 | * dwarf2/comp-unit.c (dwarf_unit_type_name): Remove. |
| 1746 | |
| 1747 | 2021-03-18 Andrew Burgess <andrew.burgess@embecosm.com> |
| 1748 | |
| 1749 | * python/py-param.c (get_set_value): Update header comment. |
| 1750 | |
| 1751 | 2021-03-17 Simon Marchi <simon.marchi@polymtl.ca> |
| 1752 | |
| 1753 | * infrun.c (check_multi_target_resumption): Remove argument to |
| 1754 | all_non_exited_inferiors. |
| 1755 | |
| 1756 | 2021-03-16 Christian Biesinger <cbiesinger@google.com> |
| 1757 | |
| 1758 | * windows-nat.c (windows_init_thread_list): Add message to |
| 1759 | debug log. |
| 1760 | |
| 1761 | 2021-03-16 Andrew Burgess <andrew.burgess@embecosm.com> |
| 1762 | |
| 1763 | * python/py-framefilter.c (py_print_frame): Use PyInt_Check as |
| 1764 | well as PyLong_Check for Python 2. |
| 1765 | |
| 1766 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
| 1767 | |
| 1768 | PR build/27579: |
| 1769 | * rust-exp.y (maker_map): Use gdb::hash_enum. |
| 1770 | * stap-probe.c (stap_maker_map): Use gdb::hash_enum. |
| 1771 | |
| 1772 | 2021-03-15 Simon Marchi <simon.marchi@polymtl.ca> |
| 1773 | |
| 1774 | * dwarf2/read.c (create_debug_type_hash_table): Remove colon at |
| 1775 | end of debug print. |
| 1776 | |
| 1777 | 2021-03-15 Simon Marchi <simon.marchi@polymtl.ca> |
| 1778 | |
| 1779 | * dwarf2/read.c (dw2_get_file_names_reader): Remove info_ptr |
| 1780 | parameter, adjust caller. |
| 1781 | |
| 1782 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
| 1783 | |
| 1784 | * ada-exp.y (simple_exp): Always push a result for unary '+'. |
| 1785 | |
| 1786 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
| 1787 | |
| 1788 | * ada-lang.c (ada_unop_ind_operation::evaluate): Call |
| 1789 | ada_ensure_varsize_limit. |
| 1790 | |
| 1791 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
| 1792 | |
| 1793 | * ada-lang.c (numeric_type_p, integer_type_p): Return true for |
| 1794 | fixed-point. |
| 1795 | * ada-exp.y (maybe_overload): New function. |
| 1796 | (ada_wrap_overload): New function. |
| 1797 | (ada_un_wrap2, ada_wrap2, ada_wrap_op): Use maybe_overload. |
| 1798 | (exp1, simple_exp, relation, and_exp, and_then_exp, or_exp) |
| 1799 | (or_else_exp, xor_exp, primary): Update. |
| 1800 | |
| 1801 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
| 1802 | |
| 1803 | PR ada/27545: |
| 1804 | * ada-lang.c (ada_var_value_operation::evaluate): Use recursive |
| 1805 | call for tagged type. |
| 1806 | |
| 1807 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
| 1808 | |
| 1809 | * ada-exp.y (exp1): Handle resolution of the right hand side of an |
| 1810 | assignment. |
| 1811 | |
| 1812 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
| 1813 | |
| 1814 | * ada-lang.c (ada_aggregate_operation::assign_aggregate): Return |
| 1815 | container. |
| 1816 | (ada_assign_operation::evaluate): Update. |
| 1817 | * ada-exp.h (class ada_aggregate_operation) <assign_aggregate>: |
| 1818 | Change return type. |
| 1819 | |
| 1820 | 2021-03-15 Felix Willgerodt <felix.willgerodt@intel.com> |
| 1821 | |
| 1822 | * i386-tdep.c (i386_floatformat_for_type): Add COMPLEX*32 and REAL*16. |
| 1823 | |
| 1824 | 2021-03-15 Andrew Burgess <andrew.burgess@embecosm.com> |
| 1825 | |
| 1826 | * python/python.c (gdbpy_source_objfile_script): Use |
| 1827 | make_scoped_restore to restore gdbpy_current_objfile. |
| 1828 | (gdbpy_execute_objfile_script): Likewise. |
| 1829 | |
| 1830 | 2021-03-14 Tom Tromey <tom@tromey.com> |
| 1831 | |
| 1832 | * dwarf2/read.c (read_attribute_value): Use cu_header |
| 1833 | consistently. |
| 1834 | |
| 1835 | 2021-03-14 Tom Tromey <tom@tromey.com> |
| 1836 | |
| 1837 | * dwarf2/read.c (struct die_reader_specs) <abfd>: Fix formatting. |
| 1838 | (peek_die_abbrev): Use reader.abfd. |
| 1839 | |
| 1840 | 2021-03-14 Tom Tromey <tom@tromey.com> |
| 1841 | |
| 1842 | * dwarf2/read.c (dwarf2_per_cu_data::get_header): Set |
| 1843 | m_header_read_in. |
| 1844 | |
| 1845 | 2021-03-13 Tom Tromey <tom@tromey.com> |
| 1846 | |
| 1847 | * dwarf2/read.c (struct partial_die_info): Update. |
| 1848 | (peek_die_abbrev, skip_children, skip_one_die, read_full_die_1) |
| 1849 | (load_partial_dies, partial_die_info::partial_die_info): Update. |
| 1850 | * dwarf2/abbrev.h (lookup_abbrev): Constify. |
| 1851 | |
| 1852 | 2021-03-13 Tom Tromey <tom@tromey.com> |
| 1853 | |
| 1854 | * dwarf2/abbrev.c (abbrev_table::read): Remove Irix 6 workaround. |
| 1855 | |
| 1856 | 2021-03-12 Christian Biesinger <cbiesinger@google.com> |
| 1857 | |
| 1858 | PR threads/27239 |
| 1859 | * cp-support.c: Use scoped_segv_handler_restore. |
| 1860 | * event-top.c (thread_local_segv_handler): Made static. |
| 1861 | (scoped_segv_handler_restore::scoped_segv_handler_restore): |
| 1862 | New function. |
| 1863 | (scoped_segv_handler_restore::~scoped_segv_handler_restore): New |
| 1864 | function. |
| 1865 | * event-top.h (class scoped_segv_handler_restore): New class. |
| 1866 | (thread_local_segv_handler): Removed. |
| 1867 | |
| 1868 | 2021-03-10 Tom Tromey <tromey@adacore.com> |
| 1869 | |
| 1870 | * parser-defs.h (parser_state): Change completion to bool. |
| 1871 | <parse_completion>: Likewise. |
| 1872 | * ada-lang.h (ada_find_operator_symbol, ada_resolve_funcall) |
| 1873 | (ada_resolve_variable, ada_resolve_function): Update. |
| 1874 | * ada-lang.c (ada_find_operator_symbol): Change |
| 1875 | parse_completion to bool. |
| 1876 | (ada_resolve_funcall, ada_resolve_variable) |
| 1877 | (ada_resolve_function): Likewise. |
| 1878 | |
| 1879 | 2021-03-09 Tom Tromey <tromey@adacore.com> |
| 1880 | |
| 1881 | * eval.c (operation::evaluate_funcall): Use function formal |
| 1882 | parameter types when evaluating. |
| 1883 | |
| 1884 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
| 1885 | |
| 1886 | * gdb-gdb.py.in (StructMainTypePrettyPrinter) <owner_to_string>: |
| 1887 | Updated fields names flag_objfile_owned to m_flag_objfile_owned, |
| 1888 | and owner to m_owner. |
| 1889 | |
| 1890 | 2021-03-09 Felix Willgerodt <felix.willgerodt@intel.com> |
| 1891 | |
| 1892 | * f-exp.h (eval_op_f_loc): Declare. |
| 1893 | (expr::fortran_loc_operation): New typedef. |
| 1894 | * f-exp.y (exp): Handle UNOP_FORTRAN_LOC after parsing an |
| 1895 | UNOP_INTRINSIC. |
| 1896 | (f77_keywords): Add LOC keyword. |
| 1897 | * f-lang.c (eval_op_f_loc): New function. |
| 1898 | * std-operator.def (UNOP_FORTRAN_LOC): New operator. |
| 1899 | |
| 1900 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
| 1901 | |
| 1902 | * f-exp.h (eval_op_f_array_shape): Declare. |
| 1903 | (fortran_array_shape_operation): New type. |
| 1904 | * f-exp.y (exp): Handle UNOP_FORTRAN_SHAPE after parsing |
| 1905 | UNOP_INTRINSIC. |
| 1906 | (f77_keywords): Add "shape" keyword. |
| 1907 | * f-lang.c (fortran_array_shape): New function. |
| 1908 | (eval_op_f_array_shape): New function. |
| 1909 | * std-operator.def (UNOP_FORTRAN_SHAPE): New operator. |
| 1910 | |
| 1911 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
| 1912 | |
| 1913 | * f-exp.y (eval_op_f_array_size): Declare 1 and 2 argument forms |
| 1914 | of this function. |
| 1915 | (expr::fortran_array_size_1arg): New type. |
| 1916 | (expr::fortran_array_size_2arg): Likewise. |
| 1917 | * f-exp.y (exp): Handle FORTRAN_ARRAY_SIZE after parsing |
| 1918 | UNOP_OR_BINOP_INTRINSIC. |
| 1919 | (f77_keywords): Add "size" keyword. |
| 1920 | * f-lang.c (fortran_array_size): New function. |
| 1921 | (eval_op_f_array_size): New function, has a 1 arg and 2 arg form. |
| 1922 | * std-operator.def (FORTRAN_ARRAY_SIZE): New operator. |
| 1923 | |
| 1924 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
| 1925 | |
| 1926 | * f-exp.h (eval_op_f_rank): Declare. |
| 1927 | (expr::fortran_rank_operation): New typedef. |
| 1928 | * f-exp.y (exp): Handle UNOP_FORTRAN_RANK after parsing an |
| 1929 | UNOP_INTRINSIC. |
| 1930 | (f77_keywords): Add "rank" keyword. |
| 1931 | * f-lang.c (eval_op_f_rank): New function. |
| 1932 | * std-operator.def (UNOP_FORTRAN_RANK): New operator. |
| 1933 | |
| 1934 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 1935 | |
| 1936 | * printcmd.c (set_command): Remove null check. |
| 1937 | * value.c (init_if_undefined_command): Remove null check. |
| 1938 | |
| 1939 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 1940 | |
| 1941 | * parse.c (parser_state::push_symbol, parser_state::push_dollar): |
| 1942 | Update. |
| 1943 | * p-exp.y (variable): Update. |
| 1944 | * go-exp.y (variable): Update. |
| 1945 | * expprint.c (dump_for_expression): Use bound_minimal_symbol. |
| 1946 | Remove overload for objfile. |
| 1947 | * expop.h (eval_op_var_msym_value): Use bound_minimal_symbol |
| 1948 | parameter. |
| 1949 | (check_objfile): Likewise. |
| 1950 | (dump_for_expression): Likewise. Remove overload for objfile. |
| 1951 | (class var_msym_value_operation): Use bound_minimal_symbol. |
| 1952 | * eval.c (eval_op_var_msym_value): Use bound_minimal_symbol |
| 1953 | parameter. |
| 1954 | (var_msym_value_operation::evaluate_for_address) |
| 1955 | (var_msym_value_operation::evaluate_for_sizeof) |
| 1956 | (var_msym_value_operation::evaluate_for_cast): Update. |
| 1957 | * d-exp.y (PrimaryExpression): Update. |
| 1958 | * c-exp.y (variable): Update. |
| 1959 | * ax-gdb.c (var_msym_value_operation::do_generate_ax): Update. |
| 1960 | * ada-lang.c (ada_var_msym_value_operation::evaluate_for_cast): |
| 1961 | Update. |
| 1962 | * ada-exp.y (write_var_or_type): Update. |
| 1963 | |
| 1964 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 1965 | |
| 1966 | * parser-defs.h (exp_uses_objfile): Return bool. |
| 1967 | * parse.c (exp_uses_objfile): Return bool. |
| 1968 | |
| 1969 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 1970 | |
| 1971 | * value.h (eval_skip_value): Don't declare. |
| 1972 | * opencl-lang.c (eval_opencl_assign): Update. |
| 1973 | * m2-lang.c (eval_op_m2_high, eval_op_m2_subscript): Update. |
| 1974 | * f-lang.c (eval_op_f_abs, eval_op_f_mod, eval_op_f_ceil) |
| 1975 | (eval_op_f_floor, eval_op_f_modulo, eval_op_f_cmplx): Remove. |
| 1976 | * expression.h (enum noside) <EVAL_SKIP>: Remove. |
| 1977 | * expop.h (typeof_operation::evaluate) |
| 1978 | (decltype_operation::evaluate, unop_addr_operation::evaluate) |
| 1979 | (unop_sizeof_operation::evaluate, assign_operation::evaluate) |
| 1980 | (cxx_cast_operation::evaluate): Update. |
| 1981 | * eval.c (eval_skip_value): Remove. |
| 1982 | (eval_op_scope, eval_op_var_entry_value) |
| 1983 | (eval_op_func_static_var, eval_op_string, eval_op_objc_selector) |
| 1984 | (eval_op_concat, eval_op_ternop, eval_op_structop_struct) |
| 1985 | (eval_op_structop_ptr, eval_op_member, eval_op_add, eval_op_sub) |
| 1986 | (eval_op_binary, eval_op_subscript, eval_op_equal) |
| 1987 | (eval_op_notequal, eval_op_less, eval_op_gtr, eval_op_geq) |
| 1988 | (eval_op_leq, eval_op_repeat, eval_op_plus, eval_op_neg) |
| 1989 | (eval_op_complement, eval_op_lognot, eval_op_ind) |
| 1990 | (eval_op_memval, eval_op_preinc, eval_op_predec) |
| 1991 | (eval_op_postinc, eval_op_postdec, eval_op_type) |
| 1992 | (eval_binop_assign_modify, eval_op_objc_msgcall) |
| 1993 | (eval_multi_subscript, logical_and_operation::evaluate) |
| 1994 | (logical_or_operation::evaluate, array_operation::evaluate) |
| 1995 | (operation::evaluate_for_cast) |
| 1996 | (var_msym_value_operation::evaluate_for_cast) |
| 1997 | (var_value_operation::evaluate_for_cast): Update. |
| 1998 | * c-lang.c (c_string_operation::evaluate): Update. |
| 1999 | * c-exp.h (objc_nsstring_operation::evaluate) |
| 2000 | (objc_selector_operation::evaluate): Update. |
| 2001 | * ada-lang.c (ada_assign_operation::evaluate) |
| 2002 | (eval_ternop_in_range, ada_unop_neg, ada_unop_in_range) |
| 2003 | (ada_atr_size): Update. |
| 2004 | |
| 2005 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2006 | |
| 2007 | * eval.c: Merge "namespace" scopes. |
| 2008 | |
| 2009 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2010 | |
| 2011 | * parser-defs.h (struct expr_builder) <expr_builder>: Inline. |
| 2012 | <release>: Inline. |
| 2013 | * parse.c (expr_builder::expr_builder, expr_builder::release): |
| 2014 | Remove. |
| 2015 | |
| 2016 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2017 | |
| 2018 | * parse.c (expression::expression, expression::~expression): |
| 2019 | Remove. |
| 2020 | * expression.h (struct expression): Inline constructor. Remove |
| 2021 | destructor. |
| 2022 | |
| 2023 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2024 | |
| 2025 | * std-operator.def (BINOP_END): Remove. |
| 2026 | * p-exp.y (tokentab3, tokentab2): Use OP_NULL, not BINOP_END. |
| 2027 | * go-exp.y (tokentab2): Use OP_NULL, not BINOP_END. |
| 2028 | * f-exp.y (dot_ops, f77_keywords): Use OP_NULL, not BINOP_END. |
| 2029 | * d-exp.y (tokentab2, ident_tokens): Use OP_NULL, not BINOP_END. |
| 2030 | * c-exp.y (tokentab3, tokentab2, ident_tokens): Use OP_NULL, not |
| 2031 | BINOP_END. |
| 2032 | |
| 2033 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2034 | |
| 2035 | * expression.h (enum exp_opcode) <OP_UNUSED_LAST>: Remove. |
| 2036 | |
| 2037 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2038 | |
| 2039 | * std-operator.def (OP_EXTENDED0): Remove. |
| 2040 | |
| 2041 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2042 | |
| 2043 | * std-operator.def (OP_NAME, OP_ATR_IMAGE, OP_ATR_MODULUS) |
| 2044 | (OP_OTHERS, OP_CHOICES, OP_POSITIONAL, OP_DISCRETE_RANGE): |
| 2045 | Remove. |
| 2046 | |
| 2047 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2048 | |
| 2049 | * std-operator.def (UNOP_CAP, UNOP_CHR, UNOP_ORD, UNOP_FLOAT) |
| 2050 | (UNOP_MAX, UNOP_MIN, UNOP_ODD, UNOP_TRUNC, OP_M2_STRING): Remove. |
| 2051 | |
| 2052 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2053 | |
| 2054 | * std-operator.def (OP_ATR_MIN, OP_ATR_MAX): Remove. |
| 2055 | * ada-lang.c (ada_binop_minmax): Update. |
| 2056 | * ada-exp.h (ada_binop_min_operation, ada_binop_max_operation): |
| 2057 | Use BINOP_MIN and BINOP_MAX. |
| 2058 | |
| 2059 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2060 | |
| 2061 | * value.h (evaluate_subexp_with_coercion): Don't declare. |
| 2062 | * parse.c (exp_descriptor_standard): Remove. |
| 2063 | (expr_builder::expr_builder, expr_builder::release): Update. |
| 2064 | (expression::expression): Remove size_t parameter. |
| 2065 | (expression::~expression): Simplify. |
| 2066 | (expression::resize): Remove. |
| 2067 | (write_exp_elt, write_exp_elt_opcode, write_exp_elt_sym) |
| 2068 | (write_exp_elt_msym, write_exp_elt_block, write_exp_elt_objfile) |
| 2069 | (write_exp_elt_longcst, write_exp_elt_floatcst) |
| 2070 | (write_exp_elt_type, write_exp_elt_intern, write_exp_string) |
| 2071 | (write_exp_string_vector, write_exp_bitstring): Remove. |
| 2072 | * p-lang.h (class pascal_language) <opcode_print_table, |
| 2073 | op_print_tab>: Remove. |
| 2074 | * p-lang.c (pascal_language::op_print_tab): Remove. |
| 2075 | * opencl-lang.c (class opencl_language) <opcode_print_table>: |
| 2076 | Remove. |
| 2077 | * objc-lang.c (objc_op_print_tab): Remove. |
| 2078 | (class objc_language) <opcode_print_table>: Remove. |
| 2079 | * m2-lang.h (class m2_language) <opcode_print_table, |
| 2080 | op_print_tab>: Remove. |
| 2081 | * m2-lang.c (m2_language::op_print_tab): Remove. |
| 2082 | * language.h (struct language_defn) <post_parser, expression_ops, |
| 2083 | opcode_print_table>: Remove. |
| 2084 | * language.c (language_defn::expression_ops) |
| 2085 | (auto_or_unknown_language::opcode_print_table): Remove. |
| 2086 | * go-lang.h (class go_language) <opcode_print_table, |
| 2087 | op_print_tab>: Remove. |
| 2088 | * go-lang.c (go_language::op_print_tab): Remove. |
| 2089 | * f-lang.h (class f_language) <opcode_print_table>: Remove |
| 2090 | <op_print_tab>: Remove. |
| 2091 | * f-lang.c (f_language::op_print_tab): Remove. |
| 2092 | * expression.h (union exp_element): Remove. |
| 2093 | (struct expression): Remove size_t parameter from constructor. |
| 2094 | <resize>: Remove. |
| 2095 | <first_opcode>: Update. |
| 2096 | <nelts, elts>: Remove. |
| 2097 | (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM): Remove. |
| 2098 | (evaluate_subexp_standard, print_expression, op_string) |
| 2099 | (dump_raw_expression): Don't declare. |
| 2100 | * expprint.c (print_expression, print_subexp) |
| 2101 | (print_subexp_funcall, print_subexp_standard, op_string) |
| 2102 | (dump_raw_expression, dump_subexp, dump_subexp_body) |
| 2103 | (dump_subexp_body_funcall, dump_subexp_body_standard): Remove. |
| 2104 | (dump_prefix_expression): Update. |
| 2105 | * eval.c (evaluate_subexp): Remove. |
| 2106 | (evaluate_expression, evaluate_type): Update. |
| 2107 | (evaluate_subexpression_type): Remove. |
| 2108 | (fetch_subexp_value): Remove "pc" parameter. Update. |
| 2109 | (extract_field_op, evaluate_struct_tuple, evaluate_funcall) |
| 2110 | (evaluate_subexp_standard, evaluate_subexp_for_address) |
| 2111 | (evaluate_subexp_with_coercion, evaluate_subexp_for_sizeof) |
| 2112 | (evaluate_subexp_for_cast): Remove. |
| 2113 | (parse_and_eval_type): Update. |
| 2114 | * dtrace-probe.c (dtrace_probe::compile_to_ax): Update. |
| 2115 | * d-lang.c (d_op_print_tab): Remove. |
| 2116 | (class d_language) <opcode_print_table>: Remove. |
| 2117 | * c-lang.h (c_op_print_tab): Don't declare. |
| 2118 | * c-lang.c (c_op_print_tab): Remove. |
| 2119 | (class c_language, class cplus_language, class asm_language, class |
| 2120 | minimal_language) <opcode_print_table>: Remove. |
| 2121 | * breakpoint.c (update_watchpoint, watchpoint_check) |
| 2122 | (watchpoint_exp_is_const, watch_command_1): Update. |
| 2123 | * ax-gdb.h (union exp_element): Don't declare. |
| 2124 | * ax-gdb.c (const_var_ref, const_expr, maybe_const_expr) |
| 2125 | (gen_repeat, gen_sizeof, gen_expr_for_cast, gen_expr) |
| 2126 | (gen_expr_binop_rest): Remove. |
| 2127 | (gen_trace_for_expr, gen_eval_for_expr, gen_printf): Update. |
| 2128 | * ada-lang.c (ada_op_print_tab): Remove. |
| 2129 | (class ada_language) <post_parser, opcode_print_table>: Remove. |
| 2130 | |
| 2131 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2132 | |
| 2133 | * go-lang.c (go_language::expression_ops): Don't declare. |
| 2134 | * go-lang.h (class go_language) <expression_ops>: Remove. |
| 2135 | * opencl-lang.c (evaluate_subexp_opencl, exp_descriptor_opencl): |
| 2136 | Remove. |
| 2137 | (class opencl_language) <expression_ops>: Remove. |
| 2138 | * d-lang.c (class d_language) <expression_ops>: Remove. |
| 2139 | * c-lang.h (evaluate_subexp_c, exp_descriptor_c): Don't declare. |
| 2140 | * c-lang.c (evaluate_subexp_c, exp_descriptor_c): Remove. |
| 2141 | (class c_language, class cplus_language, class asm_language) |
| 2142 | (class minimal_language) <expression_ops>: Remove. |
| 2143 | |
| 2144 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2145 | |
| 2146 | * ada-lang.c (resolve_subexp, replace_operator_with_call) |
| 2147 | (evaluate_subexp_type, assign_aggregate) |
| 2148 | (aggregate_assign_positional, aggregate_assign_from_choices) |
| 2149 | (aggregate_assign_others, ada_evaluate_subexp_for_cast) |
| 2150 | (ada_evaluate_subexp, ADA_OPERATORS, ada_operator_length) |
| 2151 | (ada_operator_check, ada_forward_operator_length) |
| 2152 | (ada_dump_subexp_body, ada_print_subexp, ada_exp_descriptor): |
| 2153 | Remove. |
| 2154 | (post_parser): Update. |
| 2155 | (class ada_language) <expresssion_ops>: Remove. |
| 2156 | |
| 2157 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2158 | |
| 2159 | * m2-lang.h (class m2_language) <expresssion_ops, |
| 2160 | exp_descriptor_modula2>: Remove. |
| 2161 | * m2-lang.c (evaluate_subexp_modula2) |
| 2162 | (m2_language::exp_descriptor_modula2): Remove. |
| 2163 | |
| 2164 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2165 | |
| 2166 | * f-lang.h (class f_language) <expresssion_ops>: Remove. |
| 2167 | <exp_descriptor_tab>: Remove. |
| 2168 | * f-lang.c (fortran_value_subarray, evaluate_subexp_f) |
| 2169 | (operator_length_f, print_unop_subexp_f, print_binop_subexp_f) |
| 2170 | (print_subexp_f, dump_subexp_body_f, operator_check_f) |
| 2171 | (f_language::exp_descriptor_tab, fortran_prepare_argument): |
| 2172 | Remove. |
| 2173 | |
| 2174 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2175 | |
| 2176 | * rust-lang.h (class rust_language) <expression_ops, |
| 2177 | exp_descriptor_tab>: Remove. |
| 2178 | * rust-lang.c (rust_evaluate_funcall): Remove. |
| 2179 | (rust_range, rust_subscript, eval_op_rust_complement): Don't use |
| 2180 | EVAL_SKIP. |
| 2181 | (rust_evaluate_subexp): Remove. |
| 2182 | (rust_aggregate_operation::evaluate): Don't use EVAL_SKIP. |
| 2183 | (rust_operator_length, rust_dump_subexp_body, rust_print_subexp) |
| 2184 | (rust_operator_check, rust_language::exp_descriptor_tab): Remove. |
| 2185 | |
| 2186 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2187 | |
| 2188 | * ada-exp.y: Create operations. |
| 2189 | (empty_stoken): Remove. |
| 2190 | (ada_pop, ada_wrap, ada_addrof, ada_un_wrap2, ada_wrap2) |
| 2191 | (ada_wrap_op, ada_wrap3, ada_funcall): New functions. |
| 2192 | (components): New global. |
| 2193 | (push_component, choice_component, pop_component, pop_components): |
| 2194 | New functions. |
| 2195 | (associations): New global |
| 2196 | (push_association, pop_association, pop_associations): New |
| 2197 | functions. |
| 2198 | (ada_parse): Update. |
| 2199 | (write_var_from_sym, write_int): Create operations. |
| 2200 | (write_exp_op_with_string): Remove. |
| 2201 | (write_object_renaming, write_selectors, write_ambiguous_var) |
| 2202 | (write_var_or_type, write_name_assoc): Create operations. |
| 2203 | * ada-lang.h (ada_index_type): Declare. |
| 2204 | * ada-lang.c (ada_index_type): No longer static. |
| 2205 | |
| 2206 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2207 | |
| 2208 | * f-exp.y: Create operations. |
| 2209 | (f_language::parser): Update. |
| 2210 | |
| 2211 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2212 | |
| 2213 | * m2-exp.y: Create operations. |
| 2214 | (m2_language::parser): Update. |
| 2215 | |
| 2216 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2217 | |
| 2218 | * p-exp.y: Create operations. |
| 2219 | (pascal_language::parser): Update. |
| 2220 | |
| 2221 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2222 | |
| 2223 | * d-exp.y: Create operations. |
| 2224 | (d_parse): Update. |
| 2225 | |
| 2226 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2227 | |
| 2228 | * go-exp.y: Create operations. |
| 2229 | (go_language::parser): Update. |
| 2230 | |
| 2231 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2232 | |
| 2233 | * objc-lang.c (end_msglist): Create operations. |
| 2234 | * c-exp.y: Change parser to create operations. |
| 2235 | (write_destructor_name): Remove. |
| 2236 | (c_parse): Update. |
| 2237 | |
| 2238 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2239 | |
| 2240 | * rust-exp.y: Create operations. |
| 2241 | (rust_parser::convert_params_to_expression): Change return type. |
| 2242 | (binop_maker_ftype): New typedef. |
| 2243 | (maker_map): New global. |
| 2244 | (rust_parser::convert_ast_to_expression): Change return type. |
| 2245 | (rust_language::parser): Update. |
| 2246 | (_initialize_rust_exp): Initialize maker_map. |
| 2247 | |
| 2248 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2249 | |
| 2250 | * stap-probe.c (binop_maker_ftype): New typedef. |
| 2251 | (stap_maker_map): New global. |
| 2252 | (stap_make_binop): New function. |
| 2253 | (stap_parse_register_operand): Return operation_up. |
| 2254 | (stap_parse_single_operand, stap_parse_argument_conditionally) |
| 2255 | (stap_parse_argument_1): Likewise. |
| 2256 | (stap_parse_argument): Create operations. |
| 2257 | (stap_probe::parse_arguments): Update. |
| 2258 | (_initialize_stap_probe): Initialize stap_maker_map. |
| 2259 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Change return |
| 2260 | type. |
| 2261 | * i386-tdep.h (i386_stap_parse_special_token): Change return |
| 2262 | type. |
| 2263 | * i386-tdep.c (i386_stap_parse_special_token_triplet) |
| 2264 | (i386_stap_parse_special_token_three_arg_disp) |
| 2265 | (i386_stap_parse_special_token): Change return type. |
| 2266 | * gdbarch.sh (stap_parse_special_token): Change return type. |
| 2267 | * gdbarch.c: Rebuild. |
| 2268 | * gdbarch.h: Rebuild. |
| 2269 | * arm-linux-tdep.c (arm_stap_parse_special_token): Change return |
| 2270 | type. |
| 2271 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): Change |
| 2272 | return type. |
| 2273 | |
| 2274 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2275 | |
| 2276 | * gdbarch.sh (dtrace_parse_probe_argument): Change return type. |
| 2277 | * gdbarch.h: Rebuild. |
| 2278 | * gdbarch.c: Rebuild. |
| 2279 | * dtrace-probe.c (dtrace_probe::build_arg_exprs): Update. |
| 2280 | * amd64-linux-tdep.c (amd64_dtrace_parse_probe_argument): Change |
| 2281 | return type. |
| 2282 | (amd64_dtrace_parse_probe_argument): Update. |
| 2283 | |
| 2284 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2285 | |
| 2286 | * parser-defs.h (struct parser_state) <push, push_new, |
| 2287 | push_c_string, push_symbol, push_dollar, pop, pop_vector, wrap, |
| 2288 | wrap2>: New methods. |
| 2289 | <m_operations>: New member. |
| 2290 | * parse.c (parser_state::push_c_string) |
| 2291 | (parser_state::push_symbol, parser_state::push_dollar): New |
| 2292 | methods. |
| 2293 | |
| 2294 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2295 | |
| 2296 | * parser-defs.h (struct expr_completion_state) <expout_last_op>: |
| 2297 | New member. |
| 2298 | (struct parser_state) <mark_struct_expression>: New method. |
| 2299 | * parse.c (parser_state::mark_struct_expression): Update assert. |
| 2300 | (parser_state::mark_struct_expression): New method. |
| 2301 | (parser_state::mark_completion_tag): Update assert. |
| 2302 | (parse_expression_for_completion): Handle expout_last_op. |
| 2303 | |
| 2304 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2305 | |
| 2306 | * ada-exp.h (class ada_var_value_operation) <get_symbol>: Remove; |
| 2307 | now in superclass. |
| 2308 | * value.h (fetch_subexp_value): Add "op" parameter. |
| 2309 | * value.c (init_if_undefined_command): Update. |
| 2310 | * tracepoint.c (validate_actionline, encode_actions_1): Update. |
| 2311 | * stap-probe.c (stap_probe::compile_to_ax): Update. |
| 2312 | * printcmd.c (set_command): Update. |
| 2313 | * ppc-linux-nat.c (ppc_linux_nat_target::check_condition): |
| 2314 | Update. |
| 2315 | * parser-defs.h (struct expr_builder) <set_operation>: New |
| 2316 | method. |
| 2317 | * parse.c (parse_exp_in_context, exp_uses_objfile): Update. |
| 2318 | * expression.h (struct expression) <first_opcode>: Update. |
| 2319 | <op>: New member. |
| 2320 | * expprint.c (dump_raw_expression, dump_prefix_expression): |
| 2321 | Update. |
| 2322 | * expop.h (class var_value_operation) <get_symbol>: New method. |
| 2323 | (class register_operation) <get_name>: New method. |
| 2324 | (class equal_operation): No longer a typedef, now a subclass. |
| 2325 | (class unop_memval_operation) <get_type>: New method. |
| 2326 | (class assign_operation) <get_lhs>: New method. |
| 2327 | (class unop_cast_operation) <get_type>: New method. |
| 2328 | * eval.c (evaluate_expression, evaluate_type) |
| 2329 | (evaluate_subexpression_type): Update. |
| 2330 | (fetch_subexp_value): Add "op" parameter. |
| 2331 | (parse_and_eval_type): Update. |
| 2332 | * dtrace-probe.c (dtrace_probe::compile_to_ax): Update. |
| 2333 | * breakpoint.c (update_watchpoint, watchpoint_check) |
| 2334 | (watchpoint_exp_is_const, watch_command_1): Update. |
| 2335 | * ax-gdb.c (gen_trace_for_expr, gen_eval_for_expr, gen_printf): |
| 2336 | Update. |
| 2337 | |
| 2338 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2339 | |
| 2340 | * ada-lang.c (ada_value_binop): Do not use op_string. |
| 2341 | |
| 2342 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2343 | |
| 2344 | * expprint.c (dump_for_expression): New overload. |
| 2345 | * expop.h (check_objfile, dump_for_expression): Declare new |
| 2346 | overloads. |
| 2347 | * ada-lang.c (check_objfile): New overload. |
| 2348 | (assign_component, ada_aggregate_component::uses_objfile) |
| 2349 | (ada_aggregate_component::dump, ada_aggregate_component::assign) |
| 2350 | (ada_aggregate_component::assign_aggregate) |
| 2351 | (ada_positional_component::uses_objfile) |
| 2352 | (ada_positional_component::dump, ada_positional_component::assign) |
| 2353 | (ada_discrete_range_association::uses_objfile) |
| 2354 | (ada_discrete_range_association::dump) |
| 2355 | (ada_discrete_range_association::assign) |
| 2356 | (ada_name_association::uses_objfile, ada_name_association::dump) |
| 2357 | (ada_name_association::assign) |
| 2358 | (ada_choices_component::uses_objfile, ada_choices_component::dump) |
| 2359 | (ada_choices_component::assign) |
| 2360 | (ada_others_component::uses_objfile, ada_others_component::dump) |
| 2361 | (ada_others_component::assign, ada_assign_operation::evaluate): |
| 2362 | New methods. |
| 2363 | * ada-exp.h (ada_string_operation) <get_name>: New method. |
| 2364 | (class ada_assign_operation): New. |
| 2365 | (class ada_component): New. |
| 2366 | (ada_component_up): New typedef. |
| 2367 | (class ada_aggregate_operation, class ada_aggregate_component) |
| 2368 | (class ada_positional_component, class ada_others_component) |
| 2369 | (class ada_association): New. |
| 2370 | (ada_association_up): New typedef. |
| 2371 | (class ada_choices_component) |
| 2372 | (class ada_discrete_range_association) |
| 2373 | (class ada_name_association): New. |
| 2374 | |
| 2375 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2376 | |
| 2377 | * ada-lang.c (ada_var_value_operation::resolve) |
| 2378 | (ada_funcall_operation::resolve) |
| 2379 | (ada_ternop_slice_operation::resolve): New methods. |
| 2380 | * ada-exp.h (struct ada_resolvable): New. |
| 2381 | (class ada_var_value_operation): Derive from ada_resolvable. |
| 2382 | <get_block, resolve>: New methods. |
| 2383 | (class ada_funcall_operation): Derive from ada_resolvable. |
| 2384 | <resolve>: New method. |
| 2385 | (class ada_ternop_slice_operation): Derive from ada_resolvable. |
| 2386 | <resolve>: New method. |
| 2387 | |
| 2388 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2389 | |
| 2390 | * ada-lang.c (ada_funcall_operation::evaluate): New method. |
| 2391 | * ada-exp.h (class ada_var_msym_value_operation) <get_symbol>: New |
| 2392 | method. |
| 2393 | (class ada_funcall_operation): New. |
| 2394 | |
| 2395 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2396 | |
| 2397 | * ada-lang.c (ada_structop_operation::evaluate): New method. |
| 2398 | * ada-exp.h (class ada_structop_operation): New. |
| 2399 | |
| 2400 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2401 | |
| 2402 | * ada-lang.c (ada_unop_ind_operation::evaluate): New method. |
| 2403 | * ada-exp.h (class ada_unop_ind_operation): New. |
| 2404 | |
| 2405 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2406 | |
| 2407 | * ada-lang.c (ada_binop_exp): No longer static. |
| 2408 | * ada-exp.h (ada_binop_exp_operation): New typedef. |
| 2409 | |
| 2410 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2411 | |
| 2412 | * ada-lang.c (ada_val_atr): No longer static. |
| 2413 | (ada_atr_val_operation::evaluate): New method. |
| 2414 | * ada-exp.h (class ada_atr_val_operation): New. |
| 2415 | |
| 2416 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2417 | |
| 2418 | * ada-lang.c (ada_pos_atr): No longer static. |
| 2419 | * ada-exp.h (ada_pos_operation): New typedef. |
| 2420 | |
| 2421 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2422 | |
| 2423 | * ada-lang.c (ada_pos_atr): Rename from value_pos_atr. Change |
| 2424 | parameters. |
| 2425 | (ada_evaluate_subexp): Use it. |
| 2426 | |
| 2427 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2428 | |
| 2429 | * ada-lang.c (ada_binop_minmax): No longer static. |
| 2430 | * ada-exp.h (ada_binop_min_operation, ada_binop_max_operation): |
| 2431 | New typedefs. |
| 2432 | |
| 2433 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2434 | |
| 2435 | * ada-lang.c (ada_var_msym_value_operation::evaluate_for_cast): |
| 2436 | New method. |
| 2437 | * ada-exp.h (class ada_var_msym_value_operation): New. |
| 2438 | |
| 2439 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2440 | |
| 2441 | * ada-lang.c (ada_var_value_operation::evaluate_for_cast) |
| 2442 | (ada_var_value_operation::evaluate): New methods. |
| 2443 | * ada-exp.h (class ada_var_value_operation): New. |
| 2444 | |
| 2445 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2446 | |
| 2447 | * ada-lang.c (ada_unop_atr_operation::evaluate): New method. |
| 2448 | * ada-exp.h (class ada_unop_atr_operation): New. |
| 2449 | |
| 2450 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2451 | |
| 2452 | * ada-lang.c (ada_binop_in_bounds): No longer static. |
| 2453 | * ada-exp.h (class ada_binop_in_bounds_operation): New. |
| 2454 | |
| 2455 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2456 | |
| 2457 | * ada-lang.c (ada_ternop_slice): No longer static. |
| 2458 | * ada-exp.h (class ada_ternop_slice_operation): New. |
| 2459 | |
| 2460 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2461 | |
| 2462 | * ada-exp.h (ada_bitwise_operation): New template class. |
| 2463 | (ada_bitwise_and_operation, ada_bitwise_ior_operation) |
| 2464 | (ada_bitwise_xor_operation): New typedefs. |
| 2465 | |
| 2466 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2467 | |
| 2468 | * ada-lang.c (ada_equal_binop): No longer static. |
| 2469 | * ada-exp.h (class ada_binop_equal_operation): New. |
| 2470 | |
| 2471 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2472 | |
| 2473 | * ada-lang.c (ada_mult_binop): No longer static. |
| 2474 | * ada-exp.h (ada_binop_mul_operation ada_binop_div_operation) |
| 2475 | (ada_binop_rem_operation, ada_binop_mod_operation): New typedefs. |
| 2476 | |
| 2477 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2478 | |
| 2479 | * ada-lang.c (ada_binop_addsub_operation::evaluate): New method. |
| 2480 | * ada-exp.h (class ada_binop_addsub_operation): New. |
| 2481 | |
| 2482 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2483 | |
| 2484 | * ada-lang.h (ada_find_operator_symbol, ada_resolve_funcall) |
| 2485 | (ada_resolve_variable): Declare. |
| 2486 | * ada-lang.c (ada_find_operator_symbol, ada_resolve_funcall) |
| 2487 | (ada_resolve_variable): New functions. |
| 2488 | (resolve_subexp): Update. |
| 2489 | |
| 2490 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2491 | |
| 2492 | * opencl-lang.c (opencl_ternop_cond_operation::evaluate): New |
| 2493 | method. |
| 2494 | * c-exp.h (class opencl_ternop_cond_operation): New. |
| 2495 | |
| 2496 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2497 | |
| 2498 | * opencl-lang.c (opencl_logical_binop_operation::evaluate): New |
| 2499 | method. |
| 2500 | * c-exp.h (class opencl_logical_binop_operation): New. |
| 2501 | |
| 2502 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2503 | |
| 2504 | * opencl-lang.c (opencl_structop_operation::evaluate): New |
| 2505 | method. |
| 2506 | * c-exp.h (class opencl_structop_operation): New. |
| 2507 | |
| 2508 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2509 | |
| 2510 | * opencl-lang.c (opencl_logical_not): No longer static. Change |
| 2511 | parameters. |
| 2512 | (evaluate_subexp_opencl): Update. |
| 2513 | * c-exp.h (opencl_notequal_operation): New typedef. |
| 2514 | |
| 2515 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2516 | |
| 2517 | * opencl-lang.c (opencl_relop, eval_opencl_assign): No longer |
| 2518 | static. Change parameters. |
| 2519 | (eval_opencl_assign): No longer static. Add "op" parameter. |
| 2520 | (evaluate_subexp_opencl): Update. |
| 2521 | * c-exp.h (opencl_binop_operation): New template class. |
| 2522 | (opencl_assign_operation, opencl_equal_operation) |
| 2523 | (opencl_notequal_operation, opencl_less_operation) |
| 2524 | (opencl_gtr_operation, opencl_geq_operation) |
| 2525 | (opencl_leq_operation): New typedefs. |
| 2526 | |
| 2527 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2528 | |
| 2529 | * opencl-lang.c (opencl_value_cast): No longer static. |
| 2530 | * c-exp.h (opencl_cast_type_operation): New typedef. |
| 2531 | |
| 2532 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2533 | |
| 2534 | * f-exp.h (eval_op_f_allocated): Declare. |
| 2535 | (fortran_allocated_operation): New typedef. |
| 2536 | * f-lang.c (eval_op_f_allocated): No longer static. |
| 2537 | |
| 2538 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2539 | |
| 2540 | * f-lang.c (eval_op_f_associated): New functions. |
| 2541 | * f-exp.h (fortran_associated_1arg, fortran_associated_2arg): New |
| 2542 | typedefs. |
| 2543 | |
| 2544 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2545 | |
| 2546 | * f-lang.c (fortran_bound_1arg::evaluate) |
| 2547 | (fortran_bound_2arg::evaluate): New methods. |
| 2548 | * f-exp.h (class fortran_bound_1arg, class fortran_bound_2arg): |
| 2549 | New. |
| 2550 | |
| 2551 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2552 | |
| 2553 | * expop.h (class unop_addr_operation) <get_expression>: New |
| 2554 | method. |
| 2555 | * f-lang.c (fortran_undetermined::value_subarray) |
| 2556 | (fortran_undetermined::evaluate): New methods. |
| 2557 | (fortran_prepare_argument): New overload. |
| 2558 | * f-exp.h (class fortran_range_operation) |
| 2559 | (class fortran_undetermined): New classes. |
| 2560 | |
| 2561 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2562 | |
| 2563 | * rust-lang.c (rust_structop::evaluate_funcall): New method. |
| 2564 | * rust-exp.h (class rust_structop) <evaluate_funcall>: Declare |
| 2565 | method. |
| 2566 | |
| 2567 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2568 | |
| 2569 | * expression.h (class operation) <evaluate_funcall>: New methods. |
| 2570 | * expop.h (class scope_operation) <evaluate_funcall>: New method. |
| 2571 | (class var_value_operation) <evaluate_funcall>: New method. |
| 2572 | (class structop_base_operation) <evaluate_funcall>: New method. |
| 2573 | (class var_msym_value_operation) <evaluate_funcall>: New method. |
| 2574 | (class structop_member_base): New class. |
| 2575 | (class structop_member_operation): Derive from |
| 2576 | structop_member_base. |
| 2577 | (class structop_mptr_operation): Derive from |
| 2578 | structop_member_base. |
| 2579 | (class funcall_operation): New class. |
| 2580 | * eval.c (operation::evaluate_funcall) |
| 2581 | (var_value_operation::evaluate_funcall) |
| 2582 | (scope_operation::evaluate_funcall) |
| 2583 | (structop_member_base::evaluate_funcall) |
| 2584 | (structop_base_operation::evaluate_funcall): New methods. |
| 2585 | |
| 2586 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2587 | |
| 2588 | * expop.h (class array_operation): New. |
| 2589 | * eval.c (array_operation::evaluate_struct_tuple) |
| 2590 | (array_operation::evaluate): New methods. |
| 2591 | |
| 2592 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2593 | |
| 2594 | * expop.h (class adl_func_operation): New. |
| 2595 | * eval.c (adl_func_operation::evaluate): New method. |
| 2596 | |
| 2597 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2598 | |
| 2599 | * ada-lang.c (ada_unop_in_range): No longer static. |
| 2600 | * ada-exp.h (class ada_unop_range_operation): New. |
| 2601 | |
| 2602 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2603 | |
| 2604 | * ada-lang.c (ada_unop_neg, ada_atr_tag, ada_atr_size, ada_abs): |
| 2605 | No longer static. |
| 2606 | * ada-exp.h (ada_neg_operation, ada_atr_tag_operation) |
| 2607 | (ada_atr_size_operation, ada_abs_operation): New typedefs. |
| 2608 | |
| 2609 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2610 | |
| 2611 | * expop.h (class logical_and_operation) |
| 2612 | (class logical_or_operation): New. |
| 2613 | * eval.c (logical_and_operation::evaluate) |
| 2614 | (logical_or_operation::evaluate): New methods. |
| 2615 | * ax-gdb.c (logical_and_operation::do_generate_ax) |
| 2616 | (logical_or_operation::do_generate_ax): New methods. |
| 2617 | |
| 2618 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2619 | |
| 2620 | * m2-lang.c (eval_op_m2_high, eval_op_m2_subscript): No longer |
| 2621 | static. |
| 2622 | * m2-exp.h: New file. |
| 2623 | |
| 2624 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2625 | |
| 2626 | * rust-lang.c (rust_aggregate_operation::evaluate): New method. |
| 2627 | * rust-exp.h (class rust_aggregate_operation): New. |
| 2628 | |
| 2629 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2630 | |
| 2631 | * rust-lang.c (eval_op_rust_struct_anon, eval_op_rust_structop): |
| 2632 | No longer static. |
| 2633 | * rust-exp.h (class rust_struct_anon): New. |
| 2634 | (class rust_structop): New. |
| 2635 | |
| 2636 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2637 | |
| 2638 | * rust-lang.c (rust_range): No longer static. |
| 2639 | * rust-exp.h (class rust_range_operation): New. |
| 2640 | |
| 2641 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2642 | |
| 2643 | * rust-lang.c (rust_subscript): No longer static. |
| 2644 | * rust-exp.h (class rust_subscript_operation): New. |
| 2645 | |
| 2646 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2647 | |
| 2648 | * rust-lang.c (eval_op_rust_ind): No longer static. Add "opcode" |
| 2649 | parameter. |
| 2650 | (rust_evaluate_subexp): Update. |
| 2651 | * rust-exp.h (class rust_unop_ind_operation): New. |
| 2652 | |
| 2653 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2654 | |
| 2655 | * rust-lang.c (eval_op_rust_complement, eval_op_rust_array): No |
| 2656 | longer static. Add "opcode" parameter. |
| 2657 | (rust_evaluate_subexp): Update. |
| 2658 | * rust-exp.h: New file. |
| 2659 | |
| 2660 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2661 | |
| 2662 | * f-lang.c (eval_op_f_abs, eval_op_f_mod, eval_op_f_ceil) |
| 2663 | (eval_op_f_floor, eval_op_f_modulo, eval_op_f_cmplx) |
| 2664 | (eval_op_f_kind): No longer static. Add "opcode" parameter. |
| 2665 | (evaluate_subexp_f): Update. |
| 2666 | * f-exp.h: New file. |
| 2667 | |
| 2668 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2669 | |
| 2670 | * ada-lang.c (ada_ternop_range_operation::evaluate): New method. |
| 2671 | * ada-exp.h (class ada_ternop_range_operation): New. |
| 2672 | |
| 2673 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2674 | |
| 2675 | * ada-lang.c (ada_qual_operation::evaluate): New method. |
| 2676 | * ada-exp.h (class ada_qual_operation): New. |
| 2677 | |
| 2678 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2679 | |
| 2680 | * ada-lang.c (ada_string_operation::evaluate): New method. |
| 2681 | * ada-exp.h (class ada_string_operation): New. |
| 2682 | |
| 2683 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2684 | |
| 2685 | * ada-lang.c (ada_wrapped_operation::evaluate): New method. |
| 2686 | * ada-exp.h: New file. |
| 2687 | |
| 2688 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2689 | |
| 2690 | * expop.h (class multi_subscript_operation): New. |
| 2691 | * eval.c (multi_subscript_operation::evaluate): New method. |
| 2692 | |
| 2693 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2694 | |
| 2695 | * eval.c (objc_msgcall_operation::evaluate): New method. |
| 2696 | * c-exp.h (class objc_msgcall_operation): New. |
| 2697 | |
| 2698 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2699 | |
| 2700 | * expop.h (class var_value_operation): New. |
| 2701 | * eval.c (var_value_operation::evaluate) |
| 2702 | (var_value_operation::evaluate_for_address) |
| 2703 | (var_value_operation::evaluate_with_coercion) |
| 2704 | (var_value_operation::evaluate_for_sizeof) |
| 2705 | (var_value_operation::evaluate_for_cast): New methods. |
| 2706 | * ax-gdb.c (var_value_operation::do_generate_ax): New method. |
| 2707 | |
| 2708 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2709 | |
| 2710 | * expop.h (cxx_cast_ftype): New typedef. |
| 2711 | (cxx_cast_operation): New template. |
| 2712 | (dynamic_cast_operation, reinterpret_cast_operation): New |
| 2713 | typedefs. |
| 2714 | |
| 2715 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2716 | |
| 2717 | * expop.h (class unop_cast_type_operation): New. |
| 2718 | * ax-gdb.c (unop_cast_type_operation::do_generate_ax): New |
| 2719 | method. |
| 2720 | |
| 2721 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2722 | |
| 2723 | * expop.h (class unop_cast_operation): New. |
| 2724 | * ax-gdb.c (unop_cast_operation::do_generate_ax): New method. |
| 2725 | |
| 2726 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2727 | |
| 2728 | * expop.h (class assign_modify_operation): New. |
| 2729 | * eval.c (eval_binop_assign_modify): No longer static. |
| 2730 | * ax-gdb.c (assign_modify_operation::do_generate_ax): New method. |
| 2731 | |
| 2732 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2733 | |
| 2734 | * expop.h (class assign_operation): New. |
| 2735 | * ax-gdb.c (assign_operation::do_generate_ax): New method. |
| 2736 | |
| 2737 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2738 | |
| 2739 | * expop.h (class type_instance_operation): New. |
| 2740 | * eval.c (type_instance_operation::evaluate): New method. |
| 2741 | |
| 2742 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2743 | |
| 2744 | * expop.h (class op_this_operation): New. |
| 2745 | * ax-gdb.c (op_this_operation::do_generate_ax): New method. |
| 2746 | |
| 2747 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2748 | |
| 2749 | * expop.h (class unop_memval_operation) |
| 2750 | (class unop_memval_type_operation): New. |
| 2751 | * eval.c (eval_op_memval): No longer static. |
| 2752 | (unop_memval_operation::evaluate_for_address) |
| 2753 | (unop_memval_type_operation::evaluate_for_address) |
| 2754 | (unop_memval_operation::evaluate_for_sizeof) |
| 2755 | (unop_memval_type_operation::evaluate_for_sizeof): New methods. |
| 2756 | * ax-gdb.c (unop_memval_operation::do_generate_ax) |
| 2757 | (unop_memval_type_operation::do_generate_ax): New methods. |
| 2758 | |
| 2759 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2760 | |
| 2761 | * expop.h (class unop_alignof_operation): New. |
| 2762 | * eval.c (eval_op_alignof): No longer static. |
| 2763 | |
| 2764 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2765 | |
| 2766 | * expop.h (class unop_sizeof_operation): New. |
| 2767 | * ax-gdb.c (unop_sizeof_operation::do_generate_ax): New method. |
| 2768 | |
| 2769 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2770 | |
| 2771 | * expop.h (class unop_addr_operation): New. |
| 2772 | * ax-gdb.c (gen_expr_unop) <case UNOP_ADDR>: New. |
| 2773 | |
| 2774 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2775 | |
| 2776 | * expop.h (class typeid_operation): New. |
| 2777 | |
| 2778 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2779 | |
| 2780 | * expop.h (class decltype_operation): New. |
| 2781 | |
| 2782 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2783 | |
| 2784 | * expop.h (class typeof_operation): New. |
| 2785 | |
| 2786 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2787 | |
| 2788 | * expop.h (class type_operation): New. |
| 2789 | * eval.c (eval_op_type): No longer static. |
| 2790 | |
| 2791 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2792 | |
| 2793 | * expop.h (class unop_ind_base_operation) |
| 2794 | (class unop_ind_operation): New. |
| 2795 | * eval.c (eval_op_ind): No longer static. Remove "op" parameter. |
| 2796 | (unop_ind_base_operation::evaluate_for_address) |
| 2797 | (unop_ind_base_operation::evaluate_for_sizeof): New method. |
| 2798 | * ax-gdb.c (gen_expr_unop) <case UNOP_IND>: New. |
| 2799 | |
| 2800 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2801 | |
| 2802 | * expop.h (unop_incr_operation): New template. |
| 2803 | (preinc_operation, predec_operation, postinc_operation) |
| 2804 | (postdec_operation): New typedefs. |
| 2805 | * eval.c (eval_op_preinc, eval_op_predec, eval_op_postinc) |
| 2806 | (eval_op_postdec): No longer static. |
| 2807 | |
| 2808 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2809 | |
| 2810 | * expop.h (unary_ftype): New typedef. |
| 2811 | (unop_operation, usual_ax_binop_operation): New templates. |
| 2812 | (unary_plus_operation, unary_neg_operation) |
| 2813 | (unary_complement_operation, unary_logical_not_operation): New |
| 2814 | typedefs. |
| 2815 | * eval.c (eval_op_plus, eval_op_neg, eval_op_complement) |
| 2816 | (eval_op_lognot): No longer static. |
| 2817 | * ax-gdb.c (gen_expr_unop): New function. |
| 2818 | |
| 2819 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2820 | |
| 2821 | * ax-gdb.c (comma_operation::do_generate_ax): New method. |
| 2822 | |
| 2823 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2824 | |
| 2825 | * expop.h (class repeat_operation): New. |
| 2826 | * eval.c (eval_op_repeat): No longer static. Remove "op" |
| 2827 | parameter. |
| 2828 | (evaluate_subexp_standard): Update. |
| 2829 | * ax-gdb.c (repeat_operation::do_generate_ax): New method. |
| 2830 | |
| 2831 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2832 | |
| 2833 | * expop.h (class comparison_operation): New. |
| 2834 | (equal_operation, notequal_operation, less_operation) |
| 2835 | (gtr_operation, geq_operation, leq_operation): New typedefs. |
| 2836 | * eval.c (eval_op_equal, eval_op_notequal, eval_op_less) |
| 2837 | (eval_op_gtr, eval_op_geq, eval_op_leq): No longer static. |
| 2838 | |
| 2839 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2840 | |
| 2841 | * expop.h (class subscript_operation): New. |
| 2842 | * eval.c (eval_op_subscript): No longer static. |
| 2843 | |
| 2844 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2845 | |
| 2846 | * expop.h (class binop_operation, class usual_ax_binop_operation): |
| 2847 | New. |
| 2848 | (exp_operation, intdiv_operation, mod_operation, mul_operation) |
| 2849 | (div_operation, rem_operation, lsh_operation, rsh_operation) |
| 2850 | (bitwise_and_operation, bitwise_ior_operation) |
| 2851 | (bitwise_xor_operation): New typedefs. |
| 2852 | * eval.c (eval_op_binary): No longer static. |
| 2853 | |
| 2854 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2855 | |
| 2856 | * expop.h (class sub_operation): New. |
| 2857 | * eval.c (eval_op_sub): No longer static. Remove "op" parameter. |
| 2858 | (evaluate_subexp_standard): Update. |
| 2859 | |
| 2860 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2861 | |
| 2862 | * expop.h (class add_operation): New. |
| 2863 | * eval.c (eval_op_add): No longer static. Remove "op" parameter. |
| 2864 | (evaluate_subexp_standard): Update. |
| 2865 | |
| 2866 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2867 | |
| 2868 | * expop.h (class concat_operation): New. |
| 2869 | * eval.c (eval_op_concat): No longer static. Remove "op" |
| 2870 | parameter. |
| 2871 | (evaluate_subexp_standard): Update. |
| 2872 | |
| 2873 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2874 | |
| 2875 | * expop.h (class structop_member_operation) |
| 2876 | (class structop_mptr_operation): New. |
| 2877 | * eval.c (eval_op_member): No longer static. |
| 2878 | |
| 2879 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2880 | |
| 2881 | * expop.h (class structop_ptr_operation): New. |
| 2882 | * eval.c (eval_op_structop_ptr): No longer static. Remove "op" |
| 2883 | parameter. |
| 2884 | |
| 2885 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2886 | |
| 2887 | * expop.h (class structop_base_operation) |
| 2888 | (class structop_operation): New. |
| 2889 | * eval.c (eval_op_structop_struct): No longer static. |
| 2890 | |
| 2891 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2892 | |
| 2893 | * expop.h (class complex_operation): New. |
| 2894 | |
| 2895 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2896 | |
| 2897 | * eval.c (eval_op_objc_selector): No longer static. |
| 2898 | * c-exp.h (class objc_selector_operation): New. |
| 2899 | |
| 2900 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2901 | |
| 2902 | * eval.c: Include c-exp.h. |
| 2903 | * c-exp.h (class objc_nsstring_operation): New. |
| 2904 | |
| 2905 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2906 | |
| 2907 | * c-lang.c (c_string_operation::evaluate): New method. |
| 2908 | * c-exp.h: New file. |
| 2909 | |
| 2910 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2911 | |
| 2912 | * expop.h (class ternop_cond_operation): New. |
| 2913 | * ax-gdb.c (ternop_cond_operation::do_generate_ax): New method. |
| 2914 | |
| 2915 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2916 | |
| 2917 | * expop.h (class ternop_slice_operation): New. |
| 2918 | * eval.c (eval_op_ternop): No longer static. |
| 2919 | |
| 2920 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2921 | |
| 2922 | * expop.h (class string_operation): New. |
| 2923 | * eval.c (eval_op_string): No longer static. |
| 2924 | |
| 2925 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2926 | |
| 2927 | * expop.h (class internalvar_operation): New. |
| 2928 | * ax-gdb.c (internalvar_operation::do_generate_ax): New method. |
| 2929 | |
| 2930 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2931 | |
| 2932 | * expop.h (class bool_operation): New. |
| 2933 | |
| 2934 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2935 | |
| 2936 | * expop.h (class register_operation): New. |
| 2937 | * eval.c (eval_op_register): No longer static. |
| 2938 | * ax-gdb.c (register_operation::do_generate_ax): New method. |
| 2939 | |
| 2940 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2941 | |
| 2942 | * expop.h (class last_operation): New. |
| 2943 | |
| 2944 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2945 | |
| 2946 | * expop.h (class func_static_var_operation): New. |
| 2947 | * eval.c (eval_op_func_static_var): No longer static. |
| 2948 | |
| 2949 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2950 | |
| 2951 | * expop.h (class var_entry_value_operation): New. |
| 2952 | * eval.c (eval_op_var_entry_value): No longer static. |
| 2953 | |
| 2954 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2955 | |
| 2956 | * expression.h (class operation) <set_outermost>: New method. |
| 2957 | * expop.h (class var_msym_value_operation): New. |
| 2958 | * eval.c (eval_op_var_msym_value): No longer static. |
| 2959 | (var_msym_value_operation::evaluate_for_address) |
| 2960 | (var_msym_value_operation::evaluate_for_sizeof) |
| 2961 | (var_msym_value_operation::evaluate_for_cast): New methods. |
| 2962 | * ax-gdb.c (var_msym_value_operation::do_generate_ax): New |
| 2963 | method. |
| 2964 | |
| 2965 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2966 | |
| 2967 | * expop.h (class long_const_operation): New. |
| 2968 | * ax-gdb.c (long_const_operation::do_generate_ax): New method. |
| 2969 | |
| 2970 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2971 | |
| 2972 | * expop.h (class scope_operation): New. |
| 2973 | * eval.c (eval_op_scope): No longer static. |
| 2974 | (scope_operation::evaluate_for_address): New method. |
| 2975 | * ax-gdb.c (scope_operation::do_generate_ax): New method. |
| 2976 | |
| 2977 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2978 | |
| 2979 | * expprint.c (float_const_operation::dump): New method. |
| 2980 | * expop.h (float_data): New typedef. |
| 2981 | (class float_const_operation): New. |
| 2982 | |
| 2983 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2984 | |
| 2985 | * expop.h (gen_expr_binop, gen_expr_structop): Declare. |
| 2986 | * ax-gdb.c (gen_expr_binop): New function. |
| 2987 | (gen_expr_structop): Likewise. |
| 2988 | |
| 2989 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2990 | |
| 2991 | * expprint.c (expr::dump_for_expression): New functions. |
| 2992 | * expop.h (dump_for_expression): New overloads. |
| 2993 | (tuple_holding_operation::dump, tuple_holding_operation::do_dump): |
| 2994 | Update. |
| 2995 | |
| 2996 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 2997 | |
| 2998 | * expression.h (expr::operation): New class. |
| 2999 | (expr::make_operation): New function. |
| 3000 | (expr::operation_up): New typedef. |
| 3001 | * expop.h: New file. |
| 3002 | * eval.c (operation::evaluate_for_cast) |
| 3003 | (operation::evaluate_for_address, operation::evaluate_for_sizeof): |
| 3004 | New methods. |
| 3005 | * ax-gdb.c (operation::generate_ax): New method. |
| 3006 | |
| 3007 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3008 | |
| 3009 | * ax-gdb.c (gen_expr_binop_rest): Remove "pc" parameter. |
| 3010 | (gen_expr_binop_rest): New overload. |
| 3011 | |
| 3012 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3013 | |
| 3014 | * eval.c (eval_multi_subscript): New function. |
| 3015 | (evaluate_subexp_standard): Use it. |
| 3016 | |
| 3017 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3018 | |
| 3019 | * ada-lang.c (ada_binop_exp): New function. |
| 3020 | (ada_evaluate_subexp): Use it. |
| 3021 | |
| 3022 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3023 | |
| 3024 | * ada-lang.c (ada_val_atr): Rename from value_val_atr. Change |
| 3025 | parameters. |
| 3026 | (ada_evaluate_subexp): Use it. |
| 3027 | |
| 3028 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3029 | |
| 3030 | * ada-lang.c (ada_binop_minmax): New function. |
| 3031 | (ada_evaluate_subexp): Use it. |
| 3032 | |
| 3033 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3034 | |
| 3035 | * ada-lang.c (ada_unop_atr): New function. |
| 3036 | (ada_evaluate_subexp): Use it. |
| 3037 | |
| 3038 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3039 | |
| 3040 | * ada-lang.c (ada_binop_in_bounds): New function. |
| 3041 | (ada_evaluate_subexp): Use it. |
| 3042 | |
| 3043 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3044 | |
| 3045 | * ada-lang.c (ada_ternop_slice): New function. |
| 3046 | (ada_evaluate_subexp): Use it. |
| 3047 | |
| 3048 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3049 | |
| 3050 | * ada-lang.c (ada_equal_binop): New function. |
| 3051 | (ada_evaluate_subexp): Use it. |
| 3052 | |
| 3053 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3054 | |
| 3055 | * ada-lang.c (ada_mult_binop): New function. |
| 3056 | (ada_evaluate_subexp): Use it. |
| 3057 | |
| 3058 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3059 | |
| 3060 | * ada-lang.c (ada_abs): New function. |
| 3061 | (ada_evaluate_subexp): Use it. |
| 3062 | |
| 3063 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3064 | |
| 3065 | * ada-lang.c (ada_atr_size): New function. |
| 3066 | (ada_evaluate_subexp): Use it. |
| 3067 | |
| 3068 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3069 | |
| 3070 | * ada-lang.c (ada_atr_tag): New function. |
| 3071 | (ada_evaluate_subexp): Use it. |
| 3072 | |
| 3073 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3074 | |
| 3075 | * ada-lang.c (ada_unop_in_range): New function. |
| 3076 | (ada_evaluate_subexp): Use it. |
| 3077 | |
| 3078 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3079 | |
| 3080 | * ada-lang.c (ada_unop_neg): New function. |
| 3081 | (ada_evaluate_subexp): Use it. |
| 3082 | |
| 3083 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3084 | |
| 3085 | * ada-lang.c (eval_ternop_in_range): New function. |
| 3086 | (ada_evaluate_subexp): Use it. |
| 3087 | |
| 3088 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3089 | |
| 3090 | * opencl-lang.c (eval_opencl_assign): New function. |
| 3091 | (evaluate_subexp_opencl): Use it. |
| 3092 | |
| 3093 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3094 | |
| 3095 | * eval.c (eval_op_objc_msgcall): New function. |
| 3096 | (evaluate_subexp_standard): Use it. |
| 3097 | |
| 3098 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3099 | |
| 3100 | * eval.c (eval_binop_assign_modify): New function. |
| 3101 | (evaluate_subexp_standard): Use it. |
| 3102 | |
| 3103 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3104 | |
| 3105 | * m2-lang.c (eval_op_m2_subscript): New function. |
| 3106 | (evaluate_subexp_modula2): Use it. |
| 3107 | |
| 3108 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3109 | |
| 3110 | * m2-lang.c (eval_op_m2_high): New function. |
| 3111 | (evaluate_subexp_modula2): Use it. |
| 3112 | |
| 3113 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3114 | |
| 3115 | * eval.c (evaluate_subexp_for_address_base): New function. |
| 3116 | (evaluate_subexp_for_address): Use it. |
| 3117 | (evaluate_subexp_for_sizeof_base): New function. |
| 3118 | (evaluate_subexp_for_sizeof): Use it. |
| 3119 | |
| 3120 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3121 | |
| 3122 | * rust-lang.c (eval_op_rust_structop): New function. |
| 3123 | (rust_evaluate_subexp): Use it. |
| 3124 | |
| 3125 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3126 | |
| 3127 | * rust-lang.c (eval_op_rust_struct_anon): New function. |
| 3128 | (rust_evaluate_subexp): Use it. |
| 3129 | |
| 3130 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3131 | |
| 3132 | * rust-lang.c (eval_op_rust_array): New function. |
| 3133 | (rust_evaluate_subexp): Use it. |
| 3134 | |
| 3135 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3136 | |
| 3137 | * rust-lang.c (eval_op_rust_complement): New function. |
| 3138 | (rust_evaluate_subexp): Use it. |
| 3139 | |
| 3140 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3141 | |
| 3142 | * rust-lang.c (eval_op_rust_ind): New function. |
| 3143 | (rust_evaluate_subexp): Use it. |
| 3144 | |
| 3145 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3146 | |
| 3147 | * rust-lang.c (rust_subscript): Change parameters. |
| 3148 | (rust_evaluate_subexp): Update. |
| 3149 | |
| 3150 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3151 | |
| 3152 | * rust-lang.c (rust_range): Change parameters. |
| 3153 | (rust_evaluate_subexp): Update. |
| 3154 | |
| 3155 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3156 | |
| 3157 | * f-lang.c (eval_op_f_allocated): New function. |
| 3158 | (evaluate_subexp_f): Use it. |
| 3159 | |
| 3160 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3161 | |
| 3162 | * f-lang.c (fortran_require_array): New function. |
| 3163 | (evaluate_subexp_f): Use it. |
| 3164 | |
| 3165 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3166 | |
| 3167 | * f-lang.c (eval_op_f_kind): New function. |
| 3168 | (evaluate_subexp_f): Use it. |
| 3169 | |
| 3170 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3171 | |
| 3172 | * f-lang.c (eval_op_f_cmplx): New function. |
| 3173 | (evaluate_subexp_f): Use it. |
| 3174 | |
| 3175 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3176 | |
| 3177 | * f-lang.c (eval_op_f_modulo): New function. |
| 3178 | (evaluate_subexp_f): Use it. |
| 3179 | |
| 3180 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3181 | |
| 3182 | * f-lang.c (eval_op_f_floor): New function. |
| 3183 | (evaluate_subexp_f): Use it. |
| 3184 | |
| 3185 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3186 | |
| 3187 | * f-lang.c (eval_op_f_ceil): New function. |
| 3188 | (evaluate_subexp_f): Use it. |
| 3189 | |
| 3190 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3191 | |
| 3192 | * f-lang.c (eval_op_f_mod): New function. |
| 3193 | (evaluate_subexp_f): Use it. |
| 3194 | |
| 3195 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3196 | |
| 3197 | * f-lang.c (eval_op_f_abs): New function. |
| 3198 | (evaluate_subexp_f): Use it. |
| 3199 | |
| 3200 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3201 | |
| 3202 | * eval.c (eval_op_type): New function. |
| 3203 | (evaluate_subexp_standard): Use it. |
| 3204 | |
| 3205 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3206 | |
| 3207 | * eval.c (eval_op_postdec): New function. |
| 3208 | (evaluate_subexp_standard): Use it. |
| 3209 | |
| 3210 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3211 | |
| 3212 | * eval.c (eval_op_postinc): New function. |
| 3213 | (evaluate_subexp_standard): Use it. |
| 3214 | |
| 3215 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3216 | |
| 3217 | * eval.c (eval_op_predec): New file. |
| 3218 | (evaluate_subexp_standard): Use it. |
| 3219 | |
| 3220 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3221 | |
| 3222 | * eval.c (eval_op_preinc): New function. |
| 3223 | (evaluate_subexp_standard): Use it. |
| 3224 | |
| 3225 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3226 | |
| 3227 | * eval.c (eval_op_memval): New function. |
| 3228 | (evaluate_subexp_standard): Use it. |
| 3229 | |
| 3230 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3231 | |
| 3232 | * eval.c (eval_op_alignof): New function. |
| 3233 | (evaluate_subexp_standard): Use it. |
| 3234 | |
| 3235 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3236 | |
| 3237 | * eval.c (eval_op_ind): New function. |
| 3238 | (evaluate_subexp_standard): Use it. |
| 3239 | |
| 3240 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3241 | |
| 3242 | * eval.c (eval_op_lognot): New function. |
| 3243 | (evaluate_subexp_standard): Use it. |
| 3244 | |
| 3245 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3246 | |
| 3247 | * eval.c (eval_op_complement): New function. |
| 3248 | (evaluate_subexp_standard): Use it. |
| 3249 | |
| 3250 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3251 | |
| 3252 | * eval.c (eval_op_neg): New function. |
| 3253 | (evaluate_subexp_standard): Use it. |
| 3254 | |
| 3255 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3256 | |
| 3257 | * eval.c (eval_op_plus): New function. |
| 3258 | (evaluate_subexp_standard): Use it. |
| 3259 | |
| 3260 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3261 | |
| 3262 | * eval.c (eval_op_repeat): New function. |
| 3263 | (evaluate_subexp_standard): Use it. |
| 3264 | |
| 3265 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3266 | |
| 3267 | * eval.c (eval_op_leq): New function. |
| 3268 | (evaluate_subexp_standard): Use it. |
| 3269 | |
| 3270 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3271 | |
| 3272 | * eval.c (eval_op_geq): New function. |
| 3273 | (evaluate_subexp_standard): Use it. |
| 3274 | |
| 3275 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3276 | |
| 3277 | * eval.c (eval_op_gtr): New function. |
| 3278 | (evaluate_subexp_standard): Use it. |
| 3279 | |
| 3280 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3281 | |
| 3282 | * eval.c (eval_op_less): New function. |
| 3283 | (evaluate_subexp_standard): Use it. |
| 3284 | |
| 3285 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3286 | |
| 3287 | * eval.c (eval_op_notequal): New function. |
| 3288 | (evaluate_subexp_standard): Use it. |
| 3289 | |
| 3290 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3291 | |
| 3292 | * eval.c (eval_op_equal): New function. |
| 3293 | (evaluate_subexp_standard): Use it. |
| 3294 | |
| 3295 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3296 | |
| 3297 | * eval.c (eval_op_subscript): New function. |
| 3298 | (evaluate_subexp_standard): Use it. |
| 3299 | |
| 3300 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3301 | |
| 3302 | * eval.c (eval_op_binary): New function. |
| 3303 | (evaluate_subexp_standard): Use it. |
| 3304 | |
| 3305 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3306 | |
| 3307 | * eval.c (eval_op_sub): New function. |
| 3308 | (evaluate_subexp_standard): Use it. |
| 3309 | |
| 3310 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3311 | |
| 3312 | * eval.c (eval_op_add): New function. |
| 3313 | (evaluate_subexp_standard): Use it. |
| 3314 | |
| 3315 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3316 | |
| 3317 | * eval.c (eval_op_member): New function. |
| 3318 | (evaluate_subexp_standard): Use it. |
| 3319 | |
| 3320 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3321 | |
| 3322 | * eval.c (eval_op_structop_ptr): New function. |
| 3323 | (evaluate_subexp_standard): Use it. |
| 3324 | |
| 3325 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3326 | |
| 3327 | * eval.c (eval_op_structop_struct): New function. |
| 3328 | (evaluate_subexp_standard): Use it. |
| 3329 | |
| 3330 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3331 | |
| 3332 | * eval.c (eval_op_ternop): New function. |
| 3333 | (evaluate_subexp_standard): Use it. |
| 3334 | |
| 3335 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3336 | |
| 3337 | * eval.c (eval_op_concat): New function. |
| 3338 | (evaluate_subexp_standard): Use it. |
| 3339 | |
| 3340 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3341 | |
| 3342 | * eval.c (eval_op_objc_selector): New function. |
| 3343 | (evaluate_subexp_standard): Use it. |
| 3344 | |
| 3345 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3346 | |
| 3347 | * eval.c (eval_op_string): New function. |
| 3348 | (evaluate_subexp_standard): Use it. |
| 3349 | |
| 3350 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3351 | |
| 3352 | * eval.c (eval_op_register): New function. |
| 3353 | (evaluate_subexp_standard): Use it. |
| 3354 | |
| 3355 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3356 | |
| 3357 | * eval.c (eval_op_func_static_var): New function. |
| 3358 | (evaluate_subexp_standard): Use it. |
| 3359 | |
| 3360 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3361 | |
| 3362 | * eval.c (eval_op_var_msym_value): New function. |
| 3363 | (evaluate_subexp_standard): Use it. |
| 3364 | |
| 3365 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3366 | |
| 3367 | * eval.c (eval_op_var_entry_value): New function. |
| 3368 | (evaluate_subexp_standard): Use it. |
| 3369 | |
| 3370 | 2021-03-08 Tom Tromey <tom@tromey.com> |
| 3371 | |
| 3372 | * eval.c (eval_op_scope): New function. |
| 3373 | (evaluate_subexp_standard): Use it. |
| 3374 | |
| 3375 | 2021-03-06 Chernov Sergey <klen_s@mail.ru> |
| 3376 | |
| 3377 | PR gdb/27528: |
| 3378 | * ada-lang.c (ada_fold_name): Use gdb::to_string. |
| 3379 | |
| 3380 | 2021-03-06 Tom Tromey <tom@tromey.com> |
| 3381 | |
| 3382 | * dwarf2/sect-names.h (dwarf2_elf_names): Declare. |
| 3383 | * dwarf2/read.h (dwarf2_get_dwz_file): Move to dwz.h. |
| 3384 | * dwarf2/read.c (dwarf2_elf_names): No longer static. |
| 3385 | (locate_dwz_sections, dwz_search_other_debugdirs) |
| 3386 | (dwarf2_get_dwz_file): Move to dwz.c. |
| 3387 | * dwarf2/dwz.h (dwarf2_get_dwz_file): Move declaration from |
| 3388 | read.h. |
| 3389 | * dwarf2/dwz.c (locate_dwz_sections, dwz_search_other_debugdirs) |
| 3390 | (dwarf2_get_dwz_file): Move from read.c. |
| 3391 | |
| 3392 | 2021-03-06 Tom Tromey <tom@tromey.com> |
| 3393 | |
| 3394 | * debuginfod-support.h: Include scoped_fd.h. |
| 3395 | |
| 3396 | 2021-03-06 Tom Tromey <tom@tromey.com> |
| 3397 | |
| 3398 | * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter. |
| 3399 | * dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter. |
| 3400 | (get_abbrev_section_for_cu, read_attribute_value) |
| 3401 | (get_debug_line_section): Update. |
| 3402 | * dwarf2/macro.c (dwarf_decode_macro_bytes): Update. |
| 3403 | |
| 3404 | 2021-03-06 Tom Tromey <tom@tromey.com> |
| 3405 | |
| 3406 | * dwarf2/sect-names.h (struct dwarf2_section_names) <matches>: New |
| 3407 | method. |
| 3408 | * dwarf2/read.c (section_is_p): Remove. |
| 3409 | (dwarf2_per_bfd::locate_sections) |
| 3410 | (dwarf2_per_bfd::locate_sections, locate_dwz_sections) |
| 3411 | (locate_v1_virtual_dwo_sections, dwarf2_locate_dwo_sections) |
| 3412 | (dwarf2_locate_common_dwp_sections) |
| 3413 | (dwarf2_locate_v2_dwp_sections, dwarf2_locate_v5_dwp_sections): |
| 3414 | Update. |
| 3415 | |
| 3416 | 2021-03-06 Tom Tromey <tom@tromey.com> |
| 3417 | |
| 3418 | * xcoffread.c: Include sect-names.h. |
| 3419 | * symfile.h (struct dwarf2_section_names, struct |
| 3420 | dwarf2_debug_sections): Move to dwarf2/sect-names.h. |
| 3421 | * dwarf2/sect-names.h: New file, from symfile.h. |
| 3422 | * dwarf2/read.c: Include sect-names.h. |
| 3423 | |
| 3424 | 2021-03-06 Tom Tromey <tom@tromey.com> |
| 3425 | |
| 3426 | * dwarf2/read.c (read_attribute): Make 'abbrev' const. |
| 3427 | * dwarf2/abbrev.c (abbrev_table::alloc_abbrev): Remove. |
| 3428 | (abbrev_table::read): Update. |
| 3429 | * dwarf2/abbrev.h (struct attr_abbrev): Move earlier. |
| 3430 | (struct abbrev_info): Reformat. |
| 3431 | <attrs>: Now an array. |
| 3432 | (struct abbrev_table) <alloc_abbrev>: Remove. |
| 3433 | |
| 3434 | 2021-03-06 Weimin Pan <weimin.pan@oracle.com> |
| 3435 | |
| 3436 | * ctfread.c (ctf_psymtab_add_enums): New function. |
| 3437 | (ctf_psymtab_type_cb): call ctf_psymtab_add_enums. |
| 3438 | |
| 3439 | 2021-03-06 Weimin Pan <weimin.pan@oracle.com> |
| 3440 | |
| 3441 | * ctfread.c (read_func_kind_type): Set up function arguments. |
| 3442 | |
| 3443 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
| 3444 | Andrew Burgess <andrew.burgess@embecosm.com> |
| 3445 | |
| 3446 | * riscv-none-tdep.c: Add 'user-regs.h' and 'target-description.h' |
| 3447 | includes. |
| 3448 | (riscv_csrset): New static global. |
| 3449 | (riscv_update_csrmap): New function. |
| 3450 | (riscv_iterate_over_regset_sections): Process CSRs. |
| 3451 | |
| 3452 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3453 | |
| 3454 | * riscv-tdep.c (riscv_feature_name_csr): Define. |
| 3455 | (riscv_feature_name_cpu): Define. |
| 3456 | (riscv_feature_name_fpu): Define. |
| 3457 | (riscv_feature_name_virtual): Define. |
| 3458 | (riscv_xreg_feature): Use riscv_feature_name_cpu. |
| 3459 | (riscv_freg_feature): Use riscv_feature_name_fpu. |
| 3460 | (riscv_virtual_feature): Use riscv_feature_name_virtual. |
| 3461 | (riscv_csr_feature): Use riscv_feature_name_csr. |
| 3462 | * riscv-tdep.h (riscv_feature_name_csr): Declare. |
| 3463 | |
| 3464 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3465 | Craig Blackmore <craig.blackmore@embecosm.com> |
| 3466 | |
| 3467 | * Makefile.in (ALL_TARGET_OBS): Add riscv-none-tdep.o. |
| 3468 | (ALLDEPFILES): Add riscv-none-tdep.c. |
| 3469 | * configure: Regenerate. |
| 3470 | * configure.ac (CONFIG_OBS): Add elf-none-tdep.o when BFD has ELF |
| 3471 | support. |
| 3472 | * configure.tgt (riscv*-*-*): Include riscv-none-tdep.c. |
| 3473 | * elf-none-tdep.c: New file. |
| 3474 | * elf-none-tdep.h: New file. |
| 3475 | * riscv-none-tdep.c: New file. |
| 3476 | |
| 3477 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
| 3478 | Andrew Burgess <andrew.burgess@embecosm.com> |
| 3479 | |
| 3480 | * corelow.c: Add 'xml-tdesc.h' include. |
| 3481 | (core_target::read_description): Load the target description from |
| 3482 | the core file when possible. |
| 3483 | * fbsd-tdep.c (fbsd_make_corefile_notes): Add target description |
| 3484 | note. |
| 3485 | * gcore-elf.c: Add 'gdbsupport/tdesc.h' include. |
| 3486 | (gcore_elf_make_tdesc_note): New function. |
| 3487 | * gcore-elf.h (gcore_elf_make_tdesc_note): Declare. |
| 3488 | * linux-tdep.c (linux_make_corefile_notes): Add target description |
| 3489 | note. |
| 3490 | |
| 3491 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3492 | |
| 3493 | * Makefile.in (SFILES): Add gcore-elf.c. |
| 3494 | (HFILES_NO_SRCDIR): Add gcore-elf.h |
| 3495 | * configure: Regenerate. |
| 3496 | * configure.ac: Add gcore-elf.o to CONFIG_OBS if we have ELF |
| 3497 | support. |
| 3498 | * fbsd-tdep.c: Add 'gcore-elf.h' include. |
| 3499 | (struct fbsd_collect_regset_section_cb_data): Delete. |
| 3500 | (fbsd_collect_regset_section_cb): Delete. |
| 3501 | (fbsd_collect_thread_registers): Delete. |
| 3502 | (struct fbsd_corefile_thread_data): Delete. |
| 3503 | (fbsd_corefile_thread): Delete. |
| 3504 | (fbsd_make_corefile_notes): Call |
| 3505 | gcore_elf_build_thread_register_notes instead of the now deleted |
| 3506 | FreeBSD code. |
| 3507 | * gcore-elf.c: New file, the content was moved here from |
| 3508 | linux-tdep.c, functions were renamed and given minor cleanup. |
| 3509 | * gcore-elf.h: New file. |
| 3510 | * gcore.c (gcore_find_signalled_thread): Moved here from |
| 3511 | linux-tdep.c and given a new name. Minor cleanups. |
| 3512 | * gcore.h (gcore_find_signalled_thread): Declare. |
| 3513 | * linux-tdep.c: Add 'gcore.h' and 'gcore-elf.h' includes. |
| 3514 | (struct linux_collect_regset_section_cb_data): Delete. |
| 3515 | (linux_collect_regset_section_cb): Delete. |
| 3516 | (linux_collect_thread_registers): Delete. |
| 3517 | (linux_corefile_thread): Call |
| 3518 | gcore_elf_build_thread_register_notes. |
| 3519 | (find_signalled_thread): Delete. |
| 3520 | (linux_make_corefile_notes): Call gcore_find_signalled_thread. |
| 3521 | |
| 3522 | 2021-03-04 Simon Marchi <simon.marchi@polymtl.ca> |
| 3523 | |
| 3524 | PR gdb/27147 |
| 3525 | * sparc-nat.h (sparc_fetch_inferior_registers): Add |
| 3526 | process_stratum_target parameter, |
| 3527 | sparc_store_inferior_registers): update callers. |
| 3528 | * sparc-nat.c (sparc_fetch_inferior_registers, |
| 3529 | sparc_store_inferior_registers): Add process_stratum_target |
| 3530 | parameter. Switch current thread before calling |
| 3531 | sparc_supply_gregset / sparc_collect_rwindow. |
| 3532 | (sparc_store_inferior_registers): Likewise. |
| 3533 | * sparc-obsd-tdep.c (sparc32obsd_supply_uthread): Add assertion. |
| 3534 | (sparc32obsd_collect_uthread): Likewise. |
| 3535 | * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): |
| 3536 | Add assertion. |
| 3537 | * sparc64-obsd-tdep.c (sparc64obsd_collect_uthread, |
| 3538 | sparc64obsd_supply_uthread): Add assertion. |
| 3539 | |
| 3540 | 2021-03-04 Tom Tromey <tromey@adacore.com> |
| 3541 | |
| 3542 | * ada-lang.c (struct match_data) <found_sym>: Now bool. |
| 3543 | (aux_add_nonlocal_symbols): Update. |
| 3544 | (ada_add_block_symbols): Change "found_sym" to bool. |
| 3545 | |
| 3546 | 2021-03-03 Tom Tromey <tromey@adacore.com> |
| 3547 | |
| 3548 | * ada-lang.c (ada_resolve_function): Update comment. |
| 3549 | (is_nonfunction, add_symbols_from_enclosing_procs) |
| 3550 | (remove_extra_symbols): Likewise. |
| 3551 | (struct match_data): Add constructor, initializers. |
| 3552 | (add_nonlocal_symbols): Remove memset. |
| 3553 | (aux_add_nonlocal_symbols): Update comment. |
| 3554 | (ada_add_block_renamings, add_nonlocal_symbols) |
| 3555 | (ada_add_all_symbols): Likewise. |
| 3556 | * ada-exp.y (write_var_or_type): Clean up trailing whitespace. |
| 3557 | |
| 3558 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
| 3559 | |
| 3560 | * ada-lang.c (cast_from_gnat_encoded_fixed_point_type) |
| 3561 | (cast_to_gnat_encoded_fixed_point_type): Remove. |
| 3562 | (ada_value_cast, ada_evaluate_subexp): Update. |
| 3563 | (gnat_encoded_fixed_point_type_info) |
| 3564 | (ada_is_gnat_encoded_fixed_point_type) |
| 3565 | (gnat_encoded_fixed_point_delta) |
| 3566 | (gnat_encoded_fixed_point_scaling_factor): Remove. |
| 3567 | * ada-lang.h (ada_is_gnat_encoded_fixed_point_type) |
| 3568 | (gnat_encoded_fixed_point_delta) |
| 3569 | (gnat_encoded_fixed_point_scaling_factor): Don't declare. |
| 3570 | * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Remove. |
| 3571 | (ada_print_type): Update. |
| 3572 | * ada-valprint.c (ada_value_print_num): Update. |
| 3573 | * dwarf2/read.c (ada_get_gnat_encoded_number) |
| 3574 | (ada_get_gnat_encoded_ratio): New functions. |
| 3575 | (finish_fixed_point_type): Use them. Add parameters. |
| 3576 | (GNAT_FIXED_POINT_SUFFIX): New define. |
| 3577 | (gnat_encoded_fixed_point_type_info): New function. |
| 3578 | (read_base_type): Handle gnat encodings. |
| 3579 | |
| 3580 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
| 3581 | |
| 3582 | * ada-lang.c (ada_fold_name, ada_variant_discrim_name) |
| 3583 | (ada_enum_name, scan_discrim_bound, to_fixed_range_type): Use |
| 3584 | std::string. |
| 3585 | (GROW_VECT): Remove. |
| 3586 | (grow_vect): Remove. |
| 3587 | |
| 3588 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
| 3589 | |
| 3590 | * ada-lang.h (ada_lookup_symbol_list): Return a vector. |
| 3591 | * ada-lang.c (resolve_subexp): Update. |
| 3592 | (ada_resolve_function): Accept a vector. |
| 3593 | (is_nonfunction, add_defn_to_vec) |
| 3594 | (add_symbols_from_enclosing_procs): Likewise. |
| 3595 | (num_defns_collected, defns_collected): Remove. |
| 3596 | (remove_extra_symbols): Return a vector. |
| 3597 | (remove_irrelevant_renamings): Return void. |
| 3598 | (ada_add_local_symbols): Accept a vector. |
| 3599 | (struct match_data) <obstackp>: Remove. |
| 3600 | <resultp>: New member. |
| 3601 | (aux_add_nonlocal_symbols): Update. |
| 3602 | (ada_add_block_renamings, add_nonlocal_symbols) |
| 3603 | (ada_add_all_symbols): Accept a vector. |
| 3604 | (ada_lookup_symbol_list_worker, ada_lookup_symbol_list): Return a |
| 3605 | vector. |
| 3606 | (ada_lookup_symbol): Update. |
| 3607 | (ada_add_block_symbols): Accept a vector. |
| 3608 | (get_var_value, iterate_over_symbols): Update. |
| 3609 | * ada-exp.y (block_lookup, write_var_or_type, write_name_assoc): |
| 3610 | Update. |
| 3611 | |
| 3612 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
| 3613 | |
| 3614 | * ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom. |
| 3615 | |
| 3616 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
| 3617 | |
| 3618 | * ada-lang.c (struct ada_symbol_cache) <cache_space>: Now an |
| 3619 | auto_obstack. |
| 3620 | <root>: Initialize. |
| 3621 | (ada_pspace_data): Remove destructor. |
| 3622 | <sym_cache>: Now a unique_ptr. |
| 3623 | (ada_init_symbol_cache, ada_free_symbol_cache): Remove. |
| 3624 | (ada_get_symbol_cache): Use 'new'. |
| 3625 | (ada_clear_symbol_cache): Rewrite. |
| 3626 | |
| 3627 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
| 3628 | |
| 3629 | * ada-lang.c (add_nonlocal_symbols): Handle case where objfile->sf |
| 3630 | is null. |
| 3631 | |
| 3632 | 2021-02-27 Lancelot Six <lsix@lancelotsix.com> |
| 3633 | |
| 3634 | PR gdb/27393 |
| 3635 | * source.c (add_path): Skip empty dirnames. |
| 3636 | |
| 3637 | 2021-02-25 Kevin Buettner <kevinb@redhat.com> |
| 3638 | |
| 3639 | * nat/aarch64-sve-linux-ptrace.h: Add comment regarding |
| 3640 | include order for <sys/ptrace.h> and <asm/ptrace.h>. |
| 3641 | |
| 3642 | 2021-02-25 Simon Marchi <simon.marchi@polymtl.ca> |
| 3643 | |
| 3644 | PR gdb/26861 |
| 3645 | * target.c (target_mourn_inferior): Only compare pids in |
| 3646 | target_mourn_inferior. |
| 3647 | |
| 3648 | 2021-02-25 Jan Matyas <jmatyas@codasip.com> |
| 3649 | |
| 3650 | PR gdb/26819 |
| 3651 | * remote.c (remote_target::start_remote): Ensure the single |
| 3652 | thread, automatically added for remote targets without the |
| 3653 | concept of threading, is initially in set to the "resumed" |
| 3654 | state. |
| 3655 | * remote.c (remote_target::add_current_inferior_and_thread): |
| 3656 | Add return value - return the main thread. |
| 3657 | |
| 3658 | 2021-02-25 Jan Vrany <jan.vrany@labware.com> |
| 3659 | |
| 3660 | * gdb/mi/mi-interp.c (mi_traceframe_changed): Remove trailing \n from output. |
| 3661 | (mi_tsv_created): Likewise. |
| 3662 | (mi_tsv_deleted): Likewise. |
| 3663 | |
| 3664 | 2021-02-25 Tom de Vries <tdevries@suse.de> |
| 3665 | |
| 3666 | PR symtab/27354 |
| 3667 | * dwarf2/read.c (open_and_init_dwo_file): Use rcuh_kind::COMPILE as |
| 3668 | section_kind for &dwo_file->sections.info. |
| 3669 | |
| 3670 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3671 | |
| 3672 | PR fortran/26155 |
| 3673 | * f-lang.c (fortran_argument_convert): Delete declaration. |
| 3674 | (fortran_prepare_argument): New function. |
| 3675 | (evaluate_subexp_f): Move logic to new function |
| 3676 | fortran_prepare_argument. |
| 3677 | |
| 3678 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3679 | |
| 3680 | * f-exp.y (f77_keywords): Add 'associated'. |
| 3681 | * f-lang.c (fortran_associated): New function. |
| 3682 | (evaluate_subexp_f): Handle FORTRAN_ASSOCIATED. |
| 3683 | (operator_length_f): Likewise. |
| 3684 | (print_unop_or_binop_subexp_f): New function. |
| 3685 | (print_subexp_f): Make use of print_unop_or_binop_subexp_f for |
| 3686 | FORTRAN_ASSOCIATED, FORTRAN_LBOUND, and FORTRAN_UBOUND. |
| 3687 | (dump_subexp_body_f): Handle FORTRAN_ASSOCIATED. |
| 3688 | (operator_check_f): Likewise. |
| 3689 | * std-operator.def: Add FORTRAN_ASSOCIATED. |
| 3690 | |
| 3691 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3692 | |
| 3693 | * f-exp.y (fortran_operators): Add ".xor.". |
| 3694 | |
| 3695 | 2021-02-24 Tom de Vries <tdevries@suse.de> |
| 3696 | |
| 3697 | PR symtab/27336 |
| 3698 | * dwarf2/attribute.c (attribute::form_is_signed): New function |
| 3699 | factored out of ... |
| 3700 | * dwarf2/attribute.h (attribute::as_signed): ... here. |
| 3701 | (attribute::is_nonnegative, attribute::as_nonnegative): New function. |
| 3702 | (attribute::form_is_signed): Declare. |
| 3703 | * dwarf2/read.c (new_symbol): Use is_nonnegative and as_nonnegative |
| 3704 | for DW_AT_decl_file. |
| 3705 | |
| 3706 | 2021-02-24 Kevin Buettner <kevinb@redhat.com> |
| 3707 | |
| 3708 | * nat/aarch64-linux-hw-point.c: Add comment regarding include |
| 3709 | order for <sys/ptrace.h> and <asm/ptrace.h>. |
| 3710 | |
| 3711 | 2021-02-24 Kevin Buettner <kevinb@redhat.com> |
| 3712 | |
| 3713 | * nat/aarch64-linux-hw-point.c: Include <asm/ptrace.h> after |
| 3714 | <sys/ptrace.h>. |
| 3715 | |
| 3716 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3717 | |
| 3718 | * exec.c (set_section_command): Move variable declarations into |
| 3719 | the function body, and use std::string instead of a fixed size |
| 3720 | buffer. |
| 3721 | |
| 3722 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3723 | |
| 3724 | * exec.c (exec_target::get_section_table): Delete member function. |
| 3725 | (section_table_read_available_memory): Use current_top_target, not |
| 3726 | just the exec_ops target. |
| 3727 | * target-delegates.c: Regenerate. |
| 3728 | * target.c (default_get_section_table): New function. |
| 3729 | * target.h (target_ops::get_section_table): Change default |
| 3730 | behaviour to call default_get_section_table. |
| 3731 | (default_get_section_table): Declare. |
| 3732 | |
| 3733 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3734 | |
| 3735 | * exec.c (exec_target::close): Call new clear_target_sections |
| 3736 | function. |
| 3737 | (program_space::add_target_sections): Update name of member |
| 3738 | variable. |
| 3739 | (program_space::add_target_sections): Update name of member |
| 3740 | variable. |
| 3741 | (program_space::remove_target_sections): Likewise. |
| 3742 | (exec_one_fork): Use new target_sections member function. |
| 3743 | (exec_target::get_section_table): Likewise. |
| 3744 | (exec_target::files_info): Likewise. |
| 3745 | (set_section_command): Likewise. |
| 3746 | (exec_set_section_address): Likewise. |
| 3747 | (exec_target::has_memory): Use new target_sections member |
| 3748 | function. |
| 3749 | * progspace.h (program_space::clear_target_sections): New member |
| 3750 | function. |
| 3751 | (program_space::target_sections): Rename member variable to |
| 3752 | m_target_sections, replace with a new member function. |
| 3753 | (program_space::m_target_sections): New member variable. |
| 3754 | * solib-dsbt.c (scan_dyntag): Use new member function. |
| 3755 | * solib-svr4.c (scan_dyntag): Likewise. |
| 3756 | |
| 3757 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3758 | |
| 3759 | * gdb/bfd-target.c (class target_bfd) <get_section_table>: Make |
| 3760 | return type const. |
| 3761 | * gdb/exec.c (struct exec_target) <get_section_table>: Likewise. |
| 3762 | (section_table_read_available_memory): Make local const. |
| 3763 | (exec_target::xfer_partial): Make local const. |
| 3764 | (print_section_info): Make parameter const. |
| 3765 | * gdb/exec.h (print_section_info): Likewise. |
| 3766 | * gdb/ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Make local |
| 3767 | const. |
| 3768 | * gdb/record-btrace.c (record_btrace_target::xfer_partial): |
| 3769 | Likewise. |
| 3770 | * gdb/remote.c (remote_target::remote_xfer_live_readonly_partial): |
| 3771 | Likewise. |
| 3772 | * gdb/s390-tdep.c (s390_load): Likewise. |
| 3773 | * gdb/solib-dsbt.c (scan_dyntag): Likewise. |
| 3774 | * gdb/solib-svr4.c (scan_dyntag): Likewise. |
| 3775 | * gdb/target-debug.h (target_debug_print_target_section_table_p): |
| 3776 | Rename to... |
| 3777 | (target_debug_print_const_target_section_table_p): ...this. |
| 3778 | * gdb/target-delegates.c: Regenerate. |
| 3779 | * gdb/target.c (target_get_section_table): Make return type const. |
| 3780 | (target_section_by_addr): Likewise. Also make some locals const. |
| 3781 | (memory_xfer_partial_1): Make some locals const. |
| 3782 | * gdb/target.h (struct target_ops) <get_section_table>: Make |
| 3783 | return type const. |
| 3784 | (target_section_by_addr): Likewise. |
| 3785 | (target_get_section_table): Likewise. |
| 3786 | |
| 3787 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3788 | |
| 3789 | * NEWS: Mention new 'maint info target-sections' command. |
| 3790 | * maint.c (maintenance_info_target_sections): New function. |
| 3791 | (_initialize_maint_cmds): Register new command. |
| 3792 | |
| 3793 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3794 | |
| 3795 | * riscv-tdep.c (riscv_features_from_gdbarch_info): Rename to... |
| 3796 | (riscv_features_from_bfd): ...this. Change parameter type to |
| 3797 | 'bfd*', and update as required. |
| 3798 | (riscv_find_default_target_description): Update call to |
| 3799 | riscv_features_from_bfd. Select a default xlen based on |
| 3800 | info.bfd_arch_info. |
| 3801 | (riscv_gdbarch_init): Update call to riscv_features_from_bfd. |
| 3802 | |
| 3803 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3804 | |
| 3805 | * eval.c (evaluate_subexp_standard): Call value_ind for points to |
| 3806 | dynamic types in UNOP_IND. |
| 3807 | |
| 3808 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> |
| 3809 | |
| 3810 | PR gdb/26828 |
| 3811 | * dwarf2/read.c (dwarf2_queue_guard) <dwarf2_queue_guard>: |
| 3812 | Instantiate queue. |
| 3813 | (~dwarf2_queue_guard): Clear queue. |
| 3814 | (queue_comp_unit): Assert that queue is |
| 3815 | instantiated. |
| 3816 | (process_queue): Adjust. |
| 3817 | * dwarf2/read.h (struct dwarf2_per_bfd) <queue>: Make optional. |
| 3818 | |
| 3819 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> |
| 3820 | |
| 3821 | PR gdb/26828 |
| 3822 | * dwarf2/read.c (maybe_queue_comp_unit): Check if CU is expanded |
| 3823 | to decide whether or not to enqueue it for expansion. |
| 3824 | (follow_die_offset, follow_die_sig_1): Ensure we load the DIEs |
| 3825 | after calling maybe_queue_comp_unit. |
| 3826 | |
| 3827 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> |
| 3828 | |
| 3829 | * linux-nat.c (linux_nat_filter_event): Return void. |
| 3830 | |
| 3831 | 2021-02-22 Tom Tromey <tromey@adacore.com> |
| 3832 | |
| 3833 | * solib-svr4.c (enable_break): Update. |
| 3834 | * bfd-target.c (class target_bfd) <target_bfd>: Change parameter |
| 3835 | type. |
| 3836 | (target_bfd_reopen): Change parameter type. |
| 3837 | * bfd-target.h (target_bfd_reopen): Change parameter type. |
| 3838 | |
| 3839 | 2021-02-22 Simon Marchi <simon.marchi@polymtl.ca> |
| 3840 | |
| 3841 | * thread.c (add_thread_silent): Add assert. |
| 3842 | (find_thread_ptid): Add assert. |
| 3843 | |
| 3844 | 2021-02-22 Simon Marchi <simon.marchi@polymtl.ca> |
| 3845 | |
| 3846 | PR gdb/27435 |
| 3847 | * inf-ptrace.c (struct target_unpusher): Move to target.h. |
| 3848 | (target_unpush_up): Likewise. |
| 3849 | * procfs.c (procfs_target::attach): Push target early. Use |
| 3850 | target_unpush_up to unpush target in case of error. |
| 3851 | * target.h (struct target_unpusher): Move here. |
| 3852 | (target_unpush_up): Likewise. |
| 3853 | |
| 3854 | 2021-02-19 Kevin Buettner <kevinb@redhat.com> |
| 3855 | |
| 3856 | * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h" |
| 3857 | (which in turn includes <gnulib/config.h>) before include |
| 3858 | of <signal.h>. |
| 3859 | |
| 3860 | 2021-02-19 Nelson Chu <nelson.chu@sifive.com> |
| 3861 | |
| 3862 | PR 27158 |
| 3863 | * riscv-tdep.c (decode_ci_type_insn): Updated encoding macros. |
| 3864 | (decode_j_type_insn): Likewise. |
| 3865 | (decode_cj_type_insn): Likewise. |
| 3866 | (decode_b_type_insn): Likewise. |
| 3867 | (decode): Likewise. |
| 3868 | |
| 3869 | 2021-02-18 Tom Tromey <tom@tromey.com> |
| 3870 | |
| 3871 | * expression.h (struct expression) <evaluate>: Declare method. |
| 3872 | * eval.c (evaluate_subexp): Simplify. |
| 3873 | (expression::evaluate): New method. |
| 3874 | (evaluate_expression, evaluate_type): Use expression::evaluate. |
| 3875 | |
| 3876 | 2021-02-17 Kevin Buettner <kevinb@redhat.com> |
| 3877 | |
| 3878 | * ada-lang.c (ada_fold_name): Check for non-empty string prior |
| 3879 | to accessing it. |
| 3880 | (ada_lookup_name_info): Likewise. |
| 3881 | |
| 3882 | 2021-02-13 Mike Frysinger <vapier@gentoo.org> |
| 3883 | |
| 3884 | * aclocal.m4: Regenerate. |
| 3885 | |
| 3886 | 2021-02-12 Tom de Vries <tdevries@suse.de> |
| 3887 | |
| 3888 | PR threads/26228 |
| 3889 | * linux-nat.c (lin_thread_get_thread_signals): Remove. |
| 3890 | (lin_thread_signals): New static var. |
| 3891 | (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal): |
| 3892 | New function. |
| 3893 | * linux-nat.h (lin_thread_get_thread_signals): Remove. |
| 3894 | (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal): |
| 3895 | Declare. |
| 3896 | * linux-thread-db.c (check_thread_signals): Use |
| 3897 | lin_thread_get_thread_signal_num and lin_thread_get_thread_signal. |
| 3898 | |
| 3899 | 2021-02-12 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3900 | |
| 3901 | * f-exp.y (f77_keywords): Add allocated. |
| 3902 | * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED. |
| 3903 | (operator_length_f): Likewise. |
| 3904 | (print_subexp_f): Likewise. |
| 3905 | (dump_subexp_body_f): Likewise. |
| 3906 | (operator_check_f): Likewise. |
| 3907 | * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator. |
| 3908 | |
| 3909 | 2021-02-11 Tom de Vries <tdevries@suse.de> |
| 3910 | |
| 3911 | PR symtab/27353 |
| 3912 | * dwarf2/attribute.c (attribute::form_requires_reprocessing): |
| 3913 | Return true for DW_FORM_strx. |
| 3914 | |
| 3915 | 2021-02-11 Tom Tromey <tromey@adacore.com> |
| 3916 | |
| 3917 | PR gdb/27383: |
| 3918 | * parse.c (write_exp_symbol_reference): Write sym.block. |
| 3919 | |
| 3920 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3921 | |
| 3922 | * NEWS: Mention changes to 'maint info sections'. |
| 3923 | * maint.c (match_substring): Return a bool, fix whitespace issue. |
| 3924 | (struct single_bfd_flag_info): New struct. |
| 3925 | (bfd_flag_info): New static global. |
| 3926 | (match_bfd_flags): Return a bool, use bfd_flag_info. |
| 3927 | (print_bfd_flags): Use bfd_flag_info. |
| 3928 | (maint_print_section_info): Delete trailing whitespace. |
| 3929 | (struct maint_info_sections_opts): New struct. |
| 3930 | (maint_info_sections_option_defs): New static global. |
| 3931 | (maint_info_sections_completer): New function. |
| 3932 | (maintenance_info_sections): Use option parsing mechanism. |
| 3933 | (_initialize_maint_cmds): Update command help text for 'maint info |
| 3934 | sections' and register a command completer. |
| 3935 | |
| 3936 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3937 | |
| 3938 | * maint.c (print_bfd_section_info_maybe_relocated): Delete, |
| 3939 | functionality merged into... |
| 3940 | (maint_print_all_sections): ...this new function. |
| 3941 | (maintenance_info_sections): Make use of maint_print_all_sections, |
| 3942 | allow all objects to be printed even where there's no executable. |
| 3943 | |
| 3944 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3945 | |
| 3946 | * breakpoint.c (resolve_sal_pc): Make use of |
| 3947 | bound_minimal_symbol::obj_section. |
| 3948 | * maint.c (maintenance_translate_address): Likewise. |
| 3949 | * minsyms.c (minimal_symbol_upper_bound): Likewise. |
| 3950 | * minsyms.h (struct bound_minimal_symbol) <obj_section>: New |
| 3951 | member function. |
| 3952 | * printcmd.c (info_address_command): Make use of |
| 3953 | bound_minimal_symbol::obj_section. |
| 3954 | |
| 3955 | 2021-02-11 Alan Modra <amodra@gmail.com> |
| 3956 | |
| 3957 | * arm-symbian-tdep.c: Delete. |
| 3958 | * NEWS: Mention arm-symbian removal. |
| 3959 | * Makefile.in: Remove arm-symbian-tdep entries. |
| 3960 | * configure.tgt: Remove arm*-*-symbianelf*. |
| 3961 | * doc/gdb.texinfo: Remove mention of SymbianOS. |
| 3962 | * osabi.c (gdb_osabi_names): Remove "Symbian". |
| 3963 | * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN. |
| 3964 | * testsuite/gdb.base/ending-run.exp: Remove E32Main handling. |
| 3965 | * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf* |
| 3966 | handling. |
| 3967 | * testsuite/gdb.base/dup-sect.exp: Likewise. |
| 3968 | * testsuite/gdb.base/long_long.exp: Likewise. |
| 3969 | * testsuite/gdb.base/solib-weak.exp: Likewise. |
| 3970 | * testsuite/gdb.guile/scm-section-script.exp: Likewise. |
| 3971 | * testsuite/gdb.python/py-section-script.exp: Likewise. |
| 3972 | * testsuite/lib/dwarf.exp: Likewise. |
| 3973 | * testsuite/lib/gdb.exp: Likewise. |
| 3974 | |
| 3975 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3976 | |
| 3977 | * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token. |
| 3978 | (exp): New pattern using UNOP_OR_BINOP_INTRINSIC. |
| 3979 | (one_or_two_args): New pattern. |
| 3980 | (f77_keywords): Add lbound and ubound. |
| 3981 | * f-lang.c (fortran_bounds_all_dims): New function. |
| 3982 | (fortran_bounds_for_dimension): New function. |
| 3983 | (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND. |
| 3984 | (operator_length_f): Likewise. |
| 3985 | (print_subexp_f): Likewise. |
| 3986 | (dump_subexp_body_f): Likewise. |
| 3987 | (operator_check_f): Likewise. |
| 3988 | * std-operator.def (FORTRAN_LBOUND): Define. |
| 3989 | (FORTRAN_UBOUND): Define. |
| 3990 | |
| 3991 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3992 | |
| 3993 | * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index |
| 3994 | and set_section_index member functions where appropriate. |
| 3995 | * coffread.c (coff_symtab_read): Likewise. |
| 3996 | (process_coff_symbol): Likewise. |
| 3997 | * ctfread.c (set_symbol_address): Likewise. |
| 3998 | * dwarf2/read.c (add_partial_symbol): Likewise. |
| 3999 | (var_decode_location): Likewise. |
| 4000 | * language.c: Likewise. |
| 4001 | * minsyms.c (minimal_symbol_reader::record_full): Likewise. |
| 4002 | (compact_minimal_symbols): Likewise. |
| 4003 | (minimal_symbol_upper_bound): Likewise. |
| 4004 | * objfiles.c (relocate_one_symbol): Likewise. |
| 4005 | * psympriv.h (partial_symbol::obj_section): Likewise. |
| 4006 | (partial_symbol::address): Likewise. |
| 4007 | * psymtab.c (partial_symtab::add_psymbol): Likewise. |
| 4008 | * stabsread.c (scan_file_globals): Likewise. |
| 4009 | * symmisc.c (dump_msymbols): Likewise. |
| 4010 | * symtab.c (general_symbol_info::obj_section): Likewise. |
| 4011 | (fixup_section): Likewise. |
| 4012 | (get_msymbol_address): Likewise. |
| 4013 | * symtab.h (general_symbol_info::section): Rename to... |
| 4014 | (general_symbol_info::m_section): ...this. |
| 4015 | (general_symbol_info::set_section_index): New member function. |
| 4016 | (general_symbol_info::section_index): Likewise. |
| 4017 | (SYMBOL_SECTION): Delete. |
| 4018 | (MSYMBOL_VALUE_ADDRESS): Make use of section_index and |
| 4019 | set_section_index member functions where appropriate. |
| 4020 | (MSYMBOL_SECTION): Delete. |
| 4021 | (symbol::symbol): Update to initialize 'm_section'. |
| 4022 | * xcoffread.c (read_xcoff_symtab): Make use of set_section_index. |
| 4023 | (process_xcoff_symbol): Likewise. |
| 4024 | |
| 4025 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4026 | |
| 4027 | * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and |
| 4028 | MSYMBOL_OBJ_SECTION. |
| 4029 | * findvar.c (language_defn::read_var_value): Likewise. |
| 4030 | * infcmd.c (jump_command): Likewise. |
| 4031 | * linespec.c (minsym_found): Likewise. |
| 4032 | * maint.c (maintenance_translate_address): Likewise. |
| 4033 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise. |
| 4034 | (minimal_symbol_upper_bound): Likewise. |
| 4035 | * parse.c (find_minsym_type_and_address): Likewise. |
| 4036 | (operator_check_standard): Likewise. |
| 4037 | * printcmd.c (info_address_command): Likewise. |
| 4038 | * symmisc.c (dump_msymbols): Likewise. |
| 4039 | (print_symbol): Likewise. |
| 4040 | * symtab.c (general_symbol_info::obj_section): Define new |
| 4041 | function. |
| 4042 | (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION. |
| 4043 | (find_pc_sect_compunit_symtab): Likewise. |
| 4044 | (find_function_start_sal): Likewise. |
| 4045 | (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and |
| 4046 | MSYMBOL_OBJ_SECTION. |
| 4047 | * symtab.h (struct general_symbol_info) <obj_section>: Declare new |
| 4048 | function. |
| 4049 | (SYMBOL_OBJ_SECTION): Delete. |
| 4050 | (MSYMBOL_OBJ_SECTION): Delete. |
| 4051 | |
| 4052 | 2021-02-09 Tom Tromey <tom@tromey.com> |
| 4053 | |
| 4054 | * stap-probe.c (stap_parse_argument_conditionally): Fix typo. |
| 4055 | |
| 4056 | 2021-02-09 Tom de Vries <tdevries@suse.de> |
| 4057 | |
| 4058 | PR symtab/27341 |
| 4059 | * dwarf2/read.c (read_array_type): Return NULL when not being able to |
| 4060 | construct an array type. Add assert to ensure that element_type is |
| 4061 | not being modified. |
| 4062 | |
| 4063 | 2021-02-09 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4064 | |
| 4065 | * gcore.c (struct gcore_collect_regset_section_cb_data): Delete. |
| 4066 | (gcore_collect_regset_section_cb): Delete. |
| 4067 | (gcore_collect_thread_registers): Delete. |
| 4068 | (gcore_build_thread_register_notes): Delete. |
| 4069 | (gcore_find_signalled_thread): Delete. |
| 4070 | * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete |
| 4071 | 'gdbarch' and 'thread_info' declarations. |
| 4072 | (gcore_build_thread_register_notes): Delete declaration. |
| 4073 | (gcore_find_signalled_thread): Likewise. |
| 4074 | * fbsd-tdep.c: Remove 'gcore.h' include. |
| 4075 | (struct fbsd_collect_regset_section_cb_data): New struct. |
| 4076 | (fbsd_collect_regset_section_cb): New function. |
| 4077 | (fbsd_collect_thread_registers): New function. |
| 4078 | (struct fbsd_corefile_thread_data): New struct. |
| 4079 | (fbsd_corefile_thread): New function. |
| 4080 | (fbsd_make_corefile_notes): Call FreeBSD specific code. |
| 4081 | * linux-tdep.c: Remove 'gcore.h' include. |
| 4082 | (struct linux_collect_regset_section_cb_data): New struct. |
| 4083 | (linux_collect_regset_section_cb): New function. |
| 4084 | (linux_collect_thread_registers): New function. |
| 4085 | (linux_corefile_thread): Call Linux specific code. |
| 4086 | (find_signalled_thread): New function. |
| 4087 | (linux_make_corefile_notes): Call find_signalled_thread. |
| 4088 | |
| 4089 | 2021-02-09 Tom Tromey <tromey@adacore.com> |
| 4090 | |
| 4091 | * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy |
| 4092 | not_lval value. |
| 4093 | * value.c (value_contents_copy_raw): Now static. |
| 4094 | * value.h (value_contents_copy_raw): Don't declare. |
| 4095 | |
| 4096 | 2021-02-09 Tom Tromey <tromey@adacore.com> |
| 4097 | |
| 4098 | * gdbtypes.c (resolve_dynamic_struct): Handle structure with no |
| 4099 | fields. |
| 4100 | |
| 4101 | 2021-02-08 Shahab Vahedi <shahab@synopsys.com> |
| 4102 | |
| 4103 | PR tdep/27369 |
| 4104 | * arc-linux-tdep.c (handle_atomic_sequence): New. |
| 4105 | (arc_linux_software_single_step): Call handle_atomic_sequence(). |
| 4106 | |
| 4107 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4108 | |
| 4109 | * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member |
| 4110 | function. |
| 4111 | (REQUIRE_WINDOW): Call is_valid member function. |
| 4112 | (REQUIRE_WINDOW_FOR_SETTER): New define. |
| 4113 | (gdbpy_tui_is_valid): Call is_valid member function. |
| 4114 | (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead. |
| 4115 | * tui/tui-data.h (struct tui_win_info) <is_visible>: Check |
| 4116 | tui_active too. |
| 4117 | * tui/tui-layout.c (tui_apply_current_layout): Add an assert. |
| 4118 | * tui/tui.c (tui_enable): Move setting of tui_active earlier in |
| 4119 | the function. |
| 4120 | |
| 4121 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4122 | |
| 4123 | * python/py-tui.c (gdbpy_tui_set_title): Check that the new value |
| 4124 | for the title is not nullptr. |
| 4125 | |
| 4126 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4127 | |
| 4128 | * tui-layout.c (saved_tui_windows): Delete. |
| 4129 | (tui_apply_current_layout): Don't make use of saved_tui_windows, |
| 4130 | call new get_windows member function instead. |
| 4131 | (tui_get_window_by_name): Check in tui_windows. |
| 4132 | (tui_layout_window::apply): Don't add to tui_windows. |
| 4133 | * tui-layout.h (tui_layout_base::get_windows): New member function. |
| 4134 | (tui_layout_window::get_windows): Likewise. |
| 4135 | (tui_layout_split::get_windows): Likewise. |
| 4136 | |
| 4137 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4138 | |
| 4139 | * tui/tui-layout.c (tui_apply_current_layout): Restore the delete |
| 4140 | of the window objects. |
| 4141 | |
| 4142 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4143 | |
| 4144 | * python/python.c (gdbpy_print_stack): Reformat an error message. |
| 4145 | |
| 4146 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4147 | |
| 4148 | * tui/tui-interp.c (tui_command_line_handler): New function. |
| 4149 | (tui_interp::resume): Register tui_command_line_handler as the |
| 4150 | input_handler. |
| 4151 | * tui/tui-io.c (tui_inject_newline_into_command_window): New |
| 4152 | function. |
| 4153 | (tui_getc_1): Delete handling of '\n' and '\r'. |
| 4154 | * tui-io.h (tui_inject_newline_into_command_window): Declare. |
| 4155 | |
| 4156 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> |
| 4157 | |
| 4158 | * tui/tui-regs.c (tui_data_window::display_registers_from): |
| 4159 | Mark invisible register sub windows. |
| 4160 | (tui_data_window::check_register_values): Ignore invisible |
| 4161 | register sub windows. |
| 4162 | |
| 4163 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> |
| 4164 | |
| 4165 | * tui/tui-regs.c (tui_data_item_window::rerender): Don't call |
| 4166 | n_spaces with a negative value. |
| 4167 | |
| 4168 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> |
| 4169 | |
| 4170 | * tui/tui-regs.c (tui_data_window::display_registers_from): |
| 4171 | Add refresh_window call. |
| 4172 | |
| 4173 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> |
| 4174 | |
| 4175 | * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next. |
| 4176 | |
| 4177 | 2021-02-05 Simon Marchi <simon.marchi@polymtl.ca> |
| 4178 | |
| 4179 | * symmisc.c (std_in, std_out, std_err): Remove. |
| 4180 | (_initialize_symmisc): Don't set std_in, std_out and std_err. |
| 4181 | |
| 4182 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
| 4183 | |
| 4184 | PR breakpoints/27330 |
| 4185 | * breakpoint.c (create_exception_master_breakpoint): Handle case that |
| 4186 | glibc object file has debug info. |
| 4187 | |
| 4188 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
| 4189 | |
| 4190 | PR symtab/27333 |
| 4191 | * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit. |
| 4192 | |
| 4193 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
| 4194 | |
| 4195 | PR breakpoints/27313 |
| 4196 | * break-catch-syscall.c (catch_syscall_split_args): Reject negative |
| 4197 | syscall numbers. |
| 4198 | |
| 4199 | 2021-02-05 Tom Tromey <tom@tromey.com> |
| 4200 | |
| 4201 | * compile/compile-c-support.c (get_compile_context) |
| 4202 | (c_get_compile_context, cplus_get_compile_context): Change return |
| 4203 | type. |
| 4204 | * language.c (language_defn::get_compile_instance): New method. |
| 4205 | * language.h (language_defn::get_compile_instance): Change return |
| 4206 | type. No longer inline. |
| 4207 | * c-lang.c (c_language::get_compile_instance): Change return type. |
| 4208 | (cplus_language::get_compile_instance): Change return type. |
| 4209 | * c-lang.h (c_get_compile_context, cplus_get_compile_context): |
| 4210 | Change return type. |
| 4211 | * compile/compile.c (compile_to_object): Update. |
| 4212 | |
| 4213 | 2021-02-05 Tom Tromey <tom@tromey.com> |
| 4214 | |
| 4215 | * parser-defs.h (write_exp_symbol_reference): Declare. |
| 4216 | * parse.c (write_exp_symbol_reference): New function. |
| 4217 | * p-exp.y (variable): Use write_exp_symbol_reference. |
| 4218 | * m2-exp.y (variable): Use write_exp_symbol_reference. |
| 4219 | * f-exp.y (variable): Use write_exp_symbol_reference. |
| 4220 | * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference. |
| 4221 | * c-exp.y (variable): Use write_exp_symbol_reference. |
| 4222 | |
| 4223 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
| 4224 | |
| 4225 | PR exp/27265 |
| 4226 | * valarith.c (complex_binop): Throw an error if complex type can't |
| 4227 | be created. |
| 4228 | |
| 4229 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
| 4230 | |
| 4231 | PR symtab/27307 |
| 4232 | * dwarf2/read.c (create_cus_from_debug_names_list): Add missing |
| 4233 | return. |
| 4234 | |
| 4235 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
| 4236 | |
| 4237 | * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation. |
| 4238 | |
| 4239 | 2021-02-04 Mike Frysinger <vapier@gentoo.org> |
| 4240 | |
| 4241 | * configure.tgt (riscv*-*-*): Set gdb_sim. |
| 4242 | |
| 4243 | 2021-02-04 Simon Marchi <simon.marchi@polymtl.ca> |
| 4244 | |
| 4245 | * target.c (target_is_non_stop_p): Return bool. |
| 4246 | * target.h (target_is_non_stop_p): Return bool. |
| 4247 | |
| 4248 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> |
| 4249 | |
| 4250 | * record-full.c (record_full_async_inferior_event_handler): |
| 4251 | Don't clear async event handler. |
| 4252 | (record_full_base_target::wait): Clear async event handler at |
| 4253 | beginning. |
| 4254 | |
| 4255 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> |
| 4256 | |
| 4257 | * record-btrace.c (record_btrace_handle_async_inferior_event): |
| 4258 | Don't clear async event handler. |
| 4259 | (record_btrace_target::wait): Clear async event handler at |
| 4260 | beginning. |
| 4261 | |
| 4262 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> |
| 4263 | |
| 4264 | * remote.c (remote_target::wait): Clear async event handler at |
| 4265 | beginning, mark if needed at the end. |
| 4266 | (remote_async_inferior_event_handler): Don't set or clear async |
| 4267 | event handler. |
| 4268 | |
| 4269 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> |
| 4270 | |
| 4271 | * async-event.h (async_event_handler_func): Add documentation. |
| 4272 | * async-event.c (check_async_event_handlers): Don't clear |
| 4273 | async_event_handler ready flag. |
| 4274 | * infrun.c (infrun_async_inferior_event_handler): Clear ready |
| 4275 | flag. |
| 4276 | * record-btrace.c (record_btrace_handle_async_inferior_event): |
| 4277 | Likewise. |
| 4278 | * record-full.c (record_full_async_inferior_event_handler): |
| 4279 | Likewise. |
| 4280 | * remote-notif.c (remote_async_get_pending_events_handler): |
| 4281 | Likewise. |
| 4282 | * remote.c (remote_async_inferior_event_handler): Likewise. |
| 4283 | |
| 4284 | 2021-02-03 Simon Marchi <simon.marchi@polymtl.ca> |
| 4285 | |
| 4286 | * infrun.c (handle_inferior_event): Move stop_soon variable to |
| 4287 | inner scope. |
| 4288 | |
| 4289 | 2021-02-03 Pedro Alves <pedro@palves.net> |
| 4290 | |
| 4291 | * infcmd.c (detach_command): Hold strong reference to target, and |
| 4292 | if all-stop on entry, restart threads on exit. |
| 4293 | * infrun.c (switch_back_to_stepped_thread): Factor out bits to ... |
| 4294 | (restart_stepped_thread): ... this new function. Also handle |
| 4295 | trap_expected. |
| 4296 | (restart_after_all_stop_detach): New function. |
| 4297 | * infrun.h (restart_after_all_stop_detach): Declare. |
| 4298 | |
| 4299 | 2021-02-03 Pedro Alves <pedro@palves.net> |
| 4300 | |
| 4301 | * infrun.c (struct step_over_info): Initialize fields. |
| 4302 | (prepare_for_detach): Handle ongoing in-line step over. |
| 4303 | |
| 4304 | 2021-02-03 Pedro Alves <pedro@palves.net> |
| 4305 | |
| 4306 | * linux-nat.c (linux_nat_target::detach): Remove breakpoints |
| 4307 | here... |
| 4308 | * remote.c (remote_target::remote_detach_1): ... and here ... |
| 4309 | * target.c (target_detach): ... instead of here. |
| 4310 | * target.h (target_ops::detach): Add comment. |
| 4311 | |
| 4312 | 2021-02-03 Pedro Alves <pedro@palves.net> |
| 4313 | |
| 4314 | * infrun.c (struct wait_one_event): Move higher up. |
| 4315 | (prepare_for_detach): Abort in-progress displaced steps instead of |
| 4316 | letting them complete. |
| 4317 | (handle_one): If the inferior is detaching, don't add the thread |
| 4318 | back to the global step-over chain. |
| 4319 | (restart_threads): Don't restart threads if detaching. |
| 4320 | (handle_signal_stop): Remove inferior::detaching reference. |
| 4321 | |
| 4322 | 2021-02-03 Pedro Alves <pedro@palves.net> |
| 4323 | |
| 4324 | * infrun.c (prepare_for_detach): Don't release scoped_restore |
| 4325 | before returning. |
| 4326 | |
| 4327 | 2021-02-03 Pedro Alves <pedro@palves.net> |
| 4328 | |
| 4329 | * infrun.c (handle_one): New function, factored out from ... |
| 4330 | (stop_all_threads): ... here. |
| 4331 | |
| 4332 | 2021-02-03 Pedro Alves <pedro@palves.net> |
| 4333 | |
| 4334 | * remote.c (remote_notif_stop_ack): Don't error out on |
| 4335 | TARGET_WAITKIND_IGNORE; instead, just ignore the notification. |
| 4336 | (remote_target::discard_pending_stop_replies): Don't delete |
| 4337 | in-flight notification; instead, clear its contents. |
| 4338 | |
| 4339 | 2021-02-03 Pedro Alves <pedro@palves.net> |
| 4340 | |
| 4341 | * remote.c (extended_remote_target::attach): Set target async in |
| 4342 | the target-non-stop path too. |
| 4343 | |
| 4344 | 2021-02-03 Pedro Alves <pedro@palves.net> |
| 4345 | |
| 4346 | PR gdb/27055 |
| 4347 | * infrun.c (handle_signal_stop): Move main context_switch call |
| 4348 | earlier, before STOP_QUIETLY_NO_SIGSTOP. |
| 4349 | |
| 4350 | 2021-02-02 Lancelot SIX <lsix@lancelotsix.com> |
| 4351 | |
| 4352 | * NEWS (Changed commands): Add entry for the behavior change of |
| 4353 | the inferior command. |
| 4354 | * inferior.c (inferior_command): When no argument is given to the |
| 4355 | inferior command, display info about the currently selected |
| 4356 | inferior. |
| 4357 | |
| 4358 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
| 4359 | |
| 4360 | * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return |
| 4361 | a sect_offset. |
| 4362 | (read_attribute_reprocess): Adjust. |
| 4363 | |
| 4364 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
| 4365 | |
| 4366 | * dwarf2/die.h (struct die_info) <ranges_base>: Split in... |
| 4367 | <gnu_ranges_base>: ... this... |
| 4368 | <rnglists_base>: ... and this. |
| 4369 | * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in... |
| 4370 | <gnu_ranges_base>: ... this... |
| 4371 | <rnglists_base>: ... and this. |
| 4372 | (read_cutu_die_from_dwo): Adjust |
| 4373 | (dwarf2_get_pc_bounds): Adjust |
| 4374 | (dwarf2_record_block_ranges): Adjust. |
| 4375 | (read_full_die_1): Adjust |
| 4376 | (partial_die_info::read): Adjust. |
| 4377 | (read_rnglist_index): Adjust. |
| 4378 | |
| 4379 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
| 4380 | |
| 4381 | PR gdb/26813 |
| 4382 | * dwarf2/read.c (read_loclists_rnglists_header): Add |
| 4383 | header_offset parameter and use it. |
| 4384 | (read_loclist_index): Read header of the current contribution, |
| 4385 | not the one at the beginning of the section. |
| 4386 | (read_rnglist_index): Likewise. |
| 4387 | |
| 4388 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
| 4389 | |
| 4390 | PR gdb/26813 |
| 4391 | * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear |
| 4392 | requires_reprocessing flag. |
| 4393 | * dwarf2/attribute.c (attribute::form_is_unsigned): Handle |
| 4394 | DW_FORM_loclistx. |
| 4395 | (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx |
| 4396 | and DW_FORM_loclistx. |
| 4397 | * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned |
| 4398 | instead of set_address for DW_FORM_loclistx and |
| 4399 | DW_FORM_rnglistx. |
| 4400 | |
| 4401 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
| 4402 | |
| 4403 | * dwarf2/read.c (read_loclist_index): Remove bound check for |
| 4404 | start of offset. |
| 4405 | (read_rnglist_index): Likewise. |
| 4406 | |
| 4407 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
| 4408 | |
| 4409 | * dwarf2/read.c (read_loclist_index): Add bound check for the end |
| 4410 | of the offset. |
| 4411 | |
| 4412 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
| 4413 | |
| 4414 | * dwarf2/read.c (read_rnglist_index): Fix bound check. |
| 4415 | |
| 4416 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
| 4417 | |
| 4418 | * dwarf2/read.c (read_loclist_index): Change complaints into |
| 4419 | errors. |
| 4420 | |
| 4421 | 2021-02-02 Tom de Vries <tdevries@suse.de> |
| 4422 | |
| 4423 | PR symtab/24620 |
| 4424 | * dwarf2/index-write.c (write_one_signatured_type): Skip if |
| 4425 | psymtab == nullptr. |
| 4426 | |
| 4427 | 2021-02-01 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4428 | |
| 4429 | * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h. |
| 4430 | * gcore.c (struct gcore_collect_regset_section_cb_data): Moved |
| 4431 | here from linux-tdep.c and given a new name. Minor cleanups. |
| 4432 | (gcore_collect_regset_section_cb): Likewise. |
| 4433 | (gcore_collect_thread_registers): Likewise. |
| 4434 | (gcore_build_thread_register_notes): Likewise. |
| 4435 | (gcore_find_signalled_thread): Likewise. |
| 4436 | * gcore.h (gcore_build_thread_register_notes): Declare. |
| 4437 | (gcore_find_signalled_thread): Declare. |
| 4438 | * fbsd-tdep.c: Add 'gcore.h' include. |
| 4439 | (struct fbsd_collect_regset_section_cb_data): Delete. |
| 4440 | (fbsd_collect_regset_section_cb): Delete. |
| 4441 | (fbsd_collect_thread_registers): Delete. |
| 4442 | (struct fbsd_corefile_thread_data): Delete. |
| 4443 | (fbsd_corefile_thread): Delete. |
| 4444 | (fbsd_make_corefile_notes): Call |
| 4445 | gcore_build_thread_register_notes instead of the now deleted |
| 4446 | FreeBSD code. |
| 4447 | * linux-tdep.c: Add 'gcore.h' include. |
| 4448 | (struct linux_collect_regset_section_cb_data): Delete. |
| 4449 | (linux_collect_regset_section_cb): Delete. |
| 4450 | (linux_collect_thread_registers): Delete. |
| 4451 | (linux_corefile_thread): Call |
| 4452 | gcore_build_thread_register_notes. |
| 4453 | (find_signalled_thread): Delete. |
| 4454 | (linux_make_corefile_notes): Call gcore_find_signalled_thread. |
| 4455 | |
| 4456 | 2021-01-29 Tom de Vries <tdevries@suse.de> |
| 4457 | |
| 4458 | PR breakpoints/26063 |
| 4459 | * infrun.c (process_event_stop_test): Reset |
| 4460 | ecs->event_thread->current_line to 0 if is-stmt=n and frame has |
| 4461 | changed. |
| 4462 | |
| 4463 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4464 | |
| 4465 | * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an |
| 4466 | assert. Extend the header comment. |
| 4467 | |
| 4468 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4469 | |
| 4470 | * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c. |
| 4471 | (HFILES_NO_SRCDIR): Add tui/tui-location.h. |
| 4472 | * tui/tui-data.h (TUI_STATUS_WIN): Define. |
| 4473 | (tui_locator_win_info_ptr): Delete declaration. |
| 4474 | * tui/tui-disasm.c: Add 'tui/tui-location.h' include. |
| 4475 | (tui_disasm_window::set_contents): Fetch state from tui_location |
| 4476 | global. |
| 4477 | (tui_get_begin_asm_address): Likewise. |
| 4478 | * tui/tui-layout.c (tui_apply_current_layout): Remove special case |
| 4479 | for locator window. |
| 4480 | (get_locator_window): Delete. |
| 4481 | (initialize_known_windows): Treat locator window just like all the |
| 4482 | rest. |
| 4483 | * tui/tui-source.c: Add 'tui/tui-location.h' include. |
| 4484 | (tui_source_window::set_contents): Fetch state from tui_location |
| 4485 | global. |
| 4486 | (tui_source_window::showing_source_p): Likewise. |
| 4487 | * tui/tui-stack.c: Add 'tui/tui-location.h' include. |
| 4488 | (_locator): Delete. |
| 4489 | (tui_locator_win_info_ptr): Delete. |
| 4490 | (tui_locator_window::make_status_line): Fetch state from |
| 4491 | tui_location global. |
| 4492 | (tui_locator_window::rerender): Remove check of 'handle', |
| 4493 | reindent function body. |
| 4494 | (tui_locator_window::set_locator_fullname): Delete. |
| 4495 | (tui_locator_window::set_locator_info): Delete. |
| 4496 | (tui_update_locator_fullname): Delete. |
| 4497 | (tui_show_frame_info): Likewise. |
| 4498 | (tui_show_locator_content): Access window through TUI_STATUS_WIN. |
| 4499 | * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to |
| 4500 | tui/tui-location.h and renamed to |
| 4501 | tui_location_tracker::set_location. |
| 4502 | (tui_locator_window::set_locator_fullname): Moved to |
| 4503 | tui/tui-location.h and renamed to |
| 4504 | tui_location_tracker::set_fullname. |
| 4505 | (tui_locator_window::full_name): Delete. |
| 4506 | (tui_locator_window::proc_name): Delete. |
| 4507 | (tui_locator_window::line_no): Delete. |
| 4508 | (tui_locator_window::addr): Delete. |
| 4509 | (tui_locator_window::gdbarch): Delete. |
| 4510 | (tui_update_locator_fullname): Delete declaration. |
| 4511 | * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling |
| 4512 | for locator window. |
| 4513 | * tui/tui-winsource.c: Add 'tui/tui-location.h' include. |
| 4514 | (tui_display_main): Call function on tui_location directly. |
| 4515 | * tui/tui.h (enum tui_win_type): Add STATUS_WIN. |
| 4516 | * tui/tui-location.c: New file. |
| 4517 | * tui/tui-location.h: New file. |
| 4518 | |
| 4519 | 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca> |
| 4520 | |
| 4521 | * gdbtypes.h (get_type_arch): Rename to... |
| 4522 | (struct type) <arch>: ... this, update all users. |
| 4523 | |
| 4524 | 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca> |
| 4525 | |
| 4526 | * gdbtypes.h (struct type) <arch>: Rename to... |
| 4527 | <arch_owner>: ... this, update all users. |
| 4528 | <objfile>: Rename to... |
| 4529 | <objfile_owner>: ... this, update all users. |
| 4530 | |
| 4531 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4532 | |
| 4533 | * gdbcmd.h (execute_command_to_string): Update comment. |
| 4534 | * top.c (execute_command_to_string): Update header comment. |
| 4535 | |
| 4536 | 2021-01-28 Tom de Vries <tdevries@suse.de> |
| 4537 | |
| 4538 | PR breakpoints/27205 |
| 4539 | * breakpoint.c (create_longjmp_master_breakpoint_probe) |
| 4540 | (create_longjmp_master_breakpoint_names): New function, factored out |
| 4541 | of ... |
| 4542 | (create_longjmp_master_breakpoint): ... here. Only try to install |
| 4543 | longjmp_names breakpoints in libc.so/libc.so.debug if installing probe |
| 4544 | breakpoint in libc.so failed. |
| 4545 | |
| 4546 | 2021-01-27 Lancelot SIX <lsix@lancelotsix.com> |
| 4547 | |
| 4548 | PR gdb/27133 |
| 4549 | * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the |
| 4550 | unique_ptr is released when the wrapped pointer is kept for later |
| 4551 | use. |
| 4552 | |
| 4553 | 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com> |
| 4554 | |
| 4555 | * aarch64-tdep.c (aarch64_displaced_step_others): Account for |
| 4556 | BLR and BR instructions. |
| 4557 | * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode. |
| 4558 | (enum aarch64_masks): New. |
| 4559 | |
| 4560 | 2021-01-26 Tom Tromey <tromey@adacore.com> |
| 4561 | |
| 4562 | * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM) |
| 4563 | (DEBUG_EXCEPT): Use debug_prefixed_printf_cond. |
| 4564 | (windows_init_thread_list, windows_nat::handle_load_dll) |
| 4565 | (windows_nat::handle_unload_dll, windows_nat_target::resume) |
| 4566 | (windows_nat_target::resume) |
| 4567 | (windows_nat_target::get_windows_debug_event) |
| 4568 | (windows_nat_target::interrupt, windows_xfer_memory) |
| 4569 | (windows_nat_target::close): Update. |
| 4570 | * nat/windows-nat.c (DEBUG_EVENTS): Use |
| 4571 | debug_prefixed_printf_cond. |
| 4572 | (matching_pending_stop, fetch_pending_stop) |
| 4573 | (continue_last_debug_event): Update. |
| 4574 | |
| 4575 | 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com> |
| 4576 | |
| 4577 | * linux-tdep.c (linux_make_mappings_corefile_notes): Start using |
| 4578 | elfcore_write_file_note. |
| 4579 | |
| 4580 | 2021-01-26 Shahab Vahedi <shahab@synopsys.com> |
| 4581 | |
| 4582 | * arc-tdep.c (arc_add_reggroups): New function. |
| 4583 | (arc_gdbarch_init): Call arc_add_reggroups. |
| 4584 | |
| 4585 | 2021-01-26 Anton Kolesov <anton.kolesov@synopsys.com> |
| 4586 | |
| 4587 | * arc-tdep.c (arc_skip_prologue): Log "pc" address. |
| 4588 | |
| 4589 | 2021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de> |
| 4590 | Simon Marchi <simon.marchi@polymtl.ca> |
| 4591 | Tom de Vries <tdevries@suse.de> |
| 4592 | |
| 4593 | * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for |
| 4594 | DW_AT_ranges. |
| 4595 | |
| 4596 | 2021-01-25 Tom Tromey <tromey@adacore.com> |
| 4597 | |
| 4598 | * dwarf2/read.c (get_mpz): New function. |
| 4599 | (get_dwarf2_rational_constant): Use it. |
| 4600 | |
| 4601 | 2021-01-25 Tom Tromey <tromey@adacore.com> |
| 4602 | |
| 4603 | * ada-lang.c (resolve_subexp): Handle array context. |
| 4604 | |
| 4605 | 2021-01-23 Tom Tromey <tom@tromey.com> |
| 4606 | |
| 4607 | PR compile/25575 |
| 4608 | * compile/compile-loc2c.c (note_register): New function. |
| 4609 | (pushf_register_address, pushf_register): Use it. |
| 4610 | |
| 4611 | 2021-01-23 Tom Tromey <tom@tromey.com> |
| 4612 | |
| 4613 | * symtab.h (struct symbol_computed_ops) <generate_c_location>: |
| 4614 | Change type of "registers_used". |
| 4615 | * dwarf2/loc.h (dwarf2_compile_property_to_c): Update. |
| 4616 | * dwarf2/loc.c (dwarf2_compile_property_to_c) |
| 4617 | (locexpr_generate_c_location, loclist_generate_c_location): Change |
| 4618 | type of "registers_used". |
| 4619 | * compile/compile.h (compile_dwarf_expr_to_c) |
| 4620 | (compile_dwarf_bounds_to_c): Update. |
| 4621 | * compile/compile-loc2c.c (pushf_register_address) |
| 4622 | (pushf_register, do_compile_dwarf_expr_to_c) |
| 4623 | (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type |
| 4624 | of "registers_used". |
| 4625 | * compile/compile-c.h (generate_c_for_variable_locations): |
| 4626 | Update. |
| 4627 | * compile/compile-c-symbols.c (generate_vla_size) |
| 4628 | (generate_c_for_for_one_variable): Change type of |
| 4629 | "registers_used". |
| 4630 | (generate_c_for_variable_locations): Return std::vector. |
| 4631 | * compile/compile-c-support.c (generate_register_struct): Change |
| 4632 | type of "registers_used". |
| 4633 | (compute): Update. |
| 4634 | |
| 4635 | 2021-01-23 Tom Tromey <tom@tromey.com> |
| 4636 | |
| 4637 | * compile/compile-internal.h (class compile_instance) |
| 4638 | <set_arguments>: Change return type. |
| 4639 | * compile/compile.c (compile_to_object): Remove call to reset. |
| 4640 | (compile_instance::set_arguments): Change return type. |
| 4641 | |
| 4642 | 2021-01-23 Simon Marchi <simon.marchi@polymtl.ca> |
| 4643 | |
| 4644 | * gdbtypes.c (copy_type_recursive): Use get_type_arch. |
| 4645 | * gdbtypes.h (struct type) <set_owner>: Add asserts. |
| 4646 | |
| 4647 | 2021-01-23 Lancelot SIX <lsix@lancelotsix.com> |
| 4648 | |
| 4649 | * Makefile.in (SELFTESTS_SRCS): Add |
| 4650 | unittests/gdb_tilde_expand-selftests.c. |
| 4651 | * unittests/gdb_tilde_expand-selftests.c: New file. |
| 4652 | |
| 4653 | 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4654 | |
| 4655 | PR cli/25956 |
| 4656 | * NEWS: Mention new command. |
| 4657 | * cli/cli-style.c: Add 'cli/cli-setshow.h' include. |
| 4658 | (version_style): Define. |
| 4659 | (cli_style_option::cli_style_option): Add intensity parameter, and |
| 4660 | use as appropriate. |
| 4661 | (_initialize_cli_style): Register version style set/show commands. |
| 4662 | * cli/cli-style.h (cli_style_option): Add intensity parameter. |
| 4663 | (version_style): Declare. |
| 4664 | * top.c (print_gdb_version): Use version_stype, and styled_string |
| 4665 | to print the GDB version string. |
| 4666 | |
| 4667 | 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4668 | |
| 4669 | * utils.c (emit_style_escape): Only emit an escape sequence if the |
| 4670 | requested style is different than the current applied style. |
| 4671 | (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and |
| 4672 | current applied_style. |
| 4673 | (fputs_styled): Remove is_default check. |
| 4674 | (fputs_styled_unfiltered): Likewise. |
| 4675 | (vfprintf_styled_no_gdbfmt): Likewise. |
| 4676 | |
| 4677 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
| 4678 | |
| 4679 | * remote.h (remote_debug_printf): New. |
| 4680 | (remote_debug_printf_nofunc): New. |
| 4681 | (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New. |
| 4682 | * remote.c: Use above macros throughout file. |
| 4683 | |
| 4684 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
| 4685 | |
| 4686 | * remote.h (remote_debug): Change to bool. |
| 4687 | * remote.c (remote_debug): Change to bool. |
| 4688 | (_initialize_remote): Adjust. |
| 4689 | |
| 4690 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
| 4691 | |
| 4692 | * target.h (remote_debug): Move to... |
| 4693 | * remote.h (remote_debug): ... here. |
| 4694 | * top.c (remote_debug): Move to... |
| 4695 | * remote.c (remote_debug): ... here. |
| 4696 | * remote-sim.c: Include remote.h. |
| 4697 | |
| 4698 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
| 4699 | |
| 4700 | * cli/cli-cmds.c (show_remote_debug): Remove. |
| 4701 | (show_remote_timeout): Remove. |
| 4702 | (_initialize_cli_cmds): Don't register commands. |
| 4703 | * remote.c (show_remote_debug): Move here. |
| 4704 | (show_remote_timeout): Move here. |
| 4705 | (_initialize_remote): Register commands. |
| 4706 | |
| 4707 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
| 4708 | |
| 4709 | * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the |
| 4710 | type::objfile method instead. |
| 4711 | |
| 4712 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
| 4713 | |
| 4714 | * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to |
| 4715 | use the type::is_objfile_owned method. |
| 4716 | |
| 4717 | 2021-01-22 Simon Marchi <simon.marchi@efficios.com> |
| 4718 | |
| 4719 | * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust. |
| 4720 | (TYPE_OWNER): Remove. |
| 4721 | (TYPE_OBJFILE): Adjust. |
| 4722 | (struct main_type) <flag_objfile_owned>: Rename to... |
| 4723 | <m_flag_objfile_owned>: ... this. |
| 4724 | <owner>: Rename to... |
| 4725 | <m_owner>: ... this. |
| 4726 | (struct type) <is_objfile_owned, set_owner, objfile, arch>: New |
| 4727 | methods. |
| 4728 | (TYPE_ALLOC): Adjust. |
| 4729 | * gdbtypes.c (alloc_type): Adjust. |
| 4730 | (alloc_type_arch): Adjust. |
| 4731 | (alloc_type_copy): Adjust. |
| 4732 | (get_type_arch): Adjust. |
| 4733 | (smash_type): Adjust. |
| 4734 | (lookup_array_range_type): Adjust. |
| 4735 | (recursive_dump_type): Adjust. |
| 4736 | (copy_type_recursive): Adjust. |
| 4737 | * compile/compile-c-types.c (convert_func): Adjust. |
| 4738 | (convert_type_basic): Adjust. |
| 4739 | * compile/compile-cplus-types.c (compile_cplus_convert_func): |
| 4740 | Adjust. |
| 4741 | * language.c |
| 4742 | (language_arch_info::type_and_symbol::alloc_type_symbol): |
| 4743 | Adjust. |
| 4744 | |
| 4745 | 2021-01-21 Luis Machado <luis.machado@linaro.org> |
| 4746 | |
| 4747 | * coffread.c (enter_linenos): Passing string to complaint. |
| 4748 | * valops.c (value_assign): Make array view. |
| 4749 | |
| 4750 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> |
| 4751 | |
| 4752 | * auto-load.h (debug_auto_load): Move here. |
| 4753 | (auto_load_debug_printf): New. |
| 4754 | * auto-load.c: Use auto_load_debug_printf. |
| 4755 | (debug_auto_load): Move to header. |
| 4756 | * linux-thread-db.c (try_thread_db_load): Use |
| 4757 | auto_load_debug_printf. |
| 4758 | * main.c (captured_main_1): Likewise. |
| 4759 | |
| 4760 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> |
| 4761 | |
| 4762 | * f-valprint.c (f77_array_offset_tbl): Remove. |
| 4763 | |
| 4764 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> |
| 4765 | |
| 4766 | * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file. |
| 4767 | |
| 4768 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> |
| 4769 | |
| 4770 | * ser-tcp.c (wait_for_connect): Use interruptible_select instead |
| 4771 | of gdb_select. |
| 4772 | |
| 4773 | 2021-01-21 Hannes Domani <ssbssa@yahoo.de> |
| 4774 | |
| 4775 | PR python/19151 |
| 4776 | * python/py-breakpoint.c (bppy_get_location): Handle |
| 4777 | bp_hardware_breakpoint. |
| 4778 | (bppy_init): Likewise. |
| 4779 | (gdbpy_breakpoint_created): Likewise. |
| 4780 | |
| 4781 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> |
| 4782 | |
| 4783 | * arm-tdep.c (arm_debug_printf): Add and use throughout file. |
| 4784 | |
| 4785 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
| 4786 | |
| 4787 | * gdb_bfd.c (debug_bfd_cache): Change type to bool. |
| 4788 | (_initialize_gdb_bfd): Adjust. |
| 4789 | |
| 4790 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
| 4791 | |
| 4792 | PR gdb/26828 |
| 4793 | * dwarf2/read.c (maybe_queue_comp_unit): Add assertion. |
| 4794 | |
| 4795 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
| 4796 | |
| 4797 | * dwarf2/read.c (follow_die_offset): Add logging. |
| 4798 | (dwarf2_per_objfile::age_comp_units): Add logging. |
| 4799 | |
| 4800 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
| 4801 | |
| 4802 | * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static. |
| 4803 | * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind, |
| 4804 | aarch64_stub_unwind, aarch64_normal_base, ): Make static. |
| 4805 | * arm-linux-tdep.c (arm_prologue_unwind): Make static. |
| 4806 | * arm-tdep.c (struct frame_unwind): Make static. |
| 4807 | * auto-load.c (auto_load_safe_path_vec): Make static. |
| 4808 | * csky-tdep.c (csky_stub_unwind): Make static. |
| 4809 | * gdbarch.c (gdbarch_data_registry): Make static. |
| 4810 | * gnu-v2-abi.c (gnu_v2_abi_ops): Make static. |
| 4811 | * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static. |
| 4812 | * i386-tdep.c (i386_frame_setup_skip_insns, |
| 4813 | i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns): |
| 4814 | Make static. |
| 4815 | * infrun.c (observer_mode): Make static. |
| 4816 | * linux-nat.c (sigchld_action): Make static. |
| 4817 | * linux-thread-db.c (thread_db_list): Make static. |
| 4818 | * maint-test-options.c (maintenance_test_options_list): |
| 4819 | * mep-tdep.c (mep_csr_registers): Make static. |
| 4820 | * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name. |
| 4821 | (stats): Make static. |
| 4822 | * nat/linux-osdata.c (struct osdata_type): Make static. |
| 4823 | * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static. |
| 4824 | * progspace.c (last_program_space_num): Make static. |
| 4825 | * python/py-param.c (struct parm_constant): Remove struct type |
| 4826 | name. |
| 4827 | (parm_constants): Make static. |
| 4828 | * python/py-record-btrace.c (btpy_list_methods): Make static. |
| 4829 | * python/py-record.c (recpy_gap_type): Make static. |
| 4830 | * record.c (record_goto_cmdlist): Make static. |
| 4831 | * regcache.c (regcache_descr_handle): Make static. |
| 4832 | * registry.h (DEFINE_REGISTRY): Make definition static. |
| 4833 | * symmisc.c (std_in, std_out, std_err): Make static. |
| 4834 | * top.c (previous_saved_command_line): Make static. |
| 4835 | * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make |
| 4836 | static. |
| 4837 | * unittests/command-def-selftests.c (nr_duplicates, |
| 4838 | nr_invalid_prefixcmd, lists): Make static. |
| 4839 | * unittests/observable-selftests.c (test_notification): Make |
| 4840 | static. |
| 4841 | * unittests/optional/assignment/1.cc (counter): Make static. |
| 4842 | * unittests/optional/assignment/2.cc (counter): Make static. |
| 4843 | * unittests/optional/assignment/3.cc (counter): Make static. |
| 4844 | * unittests/optional/assignment/4.cc (counter): Make static. |
| 4845 | * unittests/optional/assignment/5.cc (counter): Make static. |
| 4846 | * unittests/optional/assignment/6.cc (counter): Make static. |
| 4847 | |
| 4848 | 2021-01-20 Joel Sherrill <joel@rtems.org> |
| 4849 | |
| 4850 | PR gdb/27219 |
| 4851 | * remote.c (struct remote_thread_info) <resume_state>: Rename |
| 4852 | to... |
| 4853 | <get_resume_state>: ... this. |
| 4854 | (remote_target::resume): Adjust. |
| 4855 | (remote_target::commit_resume): Adjust. |
| 4856 | (remote_target::select_thread_for_ambiguous_stop_reply): Adjust. |
| 4857 | |
| 4858 | 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net> |
| 4859 | Tom Tromey <tom@tromey.com> |
| 4860 | |
| 4861 | * stap-probe.c (stap_parse_single_operand): Handle '!' |
| 4862 | operator. |
| 4863 | (stap_parse_argument_conditionally): Likewise. |
| 4864 | Skip spaces after processing open-parenthesis sub-expression. |
| 4865 | (stap_parse_argument_1): Skip spaces after call to |
| 4866 | stap_parse_argument_conditionally. |
| 4867 | Handle case when right-side expression is a parenthesized |
| 4868 | sub-expression. |
| 4869 | Skip spaces after call to stap_parse_argument_1. |
| 4870 | |
| 4871 | 2021-01-19 Lancelot SIX <lsix@lancelotsix.com> |
| 4872 | |
| 4873 | * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN. |
| 4874 | |
| 4875 | 2021-01-19 Luis Machado <luis.machado@linaro.org> |
| 4876 | |
| 4877 | * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate |
| 4878 | memory and save data. |
| 4879 | (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr) |
| 4880 | (trad_frame_set_unknown, trad_frame_set_value_bytes) |
| 4881 | (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p) |
| 4882 | (trad_frame_value_bytes_p): Remove. |
| 4883 | (trad_frame_reset_saved_regs): Adjust documentation. |
| 4884 | * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a |
| 4885 | constructor and reset the state of the registers. |
| 4886 | (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p) |
| 4887 | (trad_frame_value_bytes_p, trad_frame_set_value) |
| 4888 | (trad_frame_set_realreg, trad_frame_set_addr) |
| 4889 | (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove. |
| 4890 | (trad_frame_set_reg_realreg): Update to call member function. |
| 4891 | (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise. |
| 4892 | (trad_frame_get_prev_register): Likewise. |
| 4893 | |
| 4894 | * aarch64-tdep.c (aarch64_analyze_prologue) |
| 4895 | (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1) |
| 4896 | (aarch64_prologue_prev_register): Update to use member functions. |
| 4897 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise. |
| 4898 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise. |
| 4899 | * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise. |
| 4900 | * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache) |
| 4901 | (arm_make_epilogue_frame_cache): Likewise. |
| 4902 | * avr-tdep.c (avr_frame_unwind_cache) |
| 4903 | (avr_frame_prev_register): Likewise. |
| 4904 | * cris-tdep.c (cris_scan_prologue): Likewise. |
| 4905 | * csky-tdep.c (csky_frame_unwind_cache): Likewise. |
| 4906 | * frv-tdep.c (frv_analyze_prologue): Likewise. |
| 4907 | * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise. |
| 4908 | * lm32-tdep.c (lm32_frame_cache): Likewise. |
| 4909 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. |
| 4910 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. |
| 4911 | * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache) |
| 4912 | (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise. |
| 4913 | (reset_saved_regs): Adjust to set realreg. |
| 4914 | * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to |
| 4915 | call member functions. |
| 4916 | * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache) |
| 4917 | * s390-tdep.c (s390_prologue_frame_unwind_cache) |
| 4918 | (s390_backchain_frame_unwind_cache): Likewise. |
| 4919 | * score-tdep.c (score7_analyze_prologue) |
| 4920 | (score3_analyze_prologue, score_make_prologue_cache): Likewise. |
| 4921 | * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise. |
| 4922 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise. |
| 4923 | * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise. |
| 4924 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise. |
| 4925 | * tilegx-tdep.c (tilegx_analyze_prologue) |
| 4926 | (tilegx_frame_cache): Likewise. |
| 4927 | * v850-tdep.c (v850_frame_cache): Likewise. |
| 4928 | * vax-tdep.c (vax_frame_cache): Likewise. |
| 4929 | |
| 4930 | 2021-01-19 Luis Machado <luis.machado@linaro.org> |
| 4931 | |
| 4932 | * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead |
| 4933 | of buffer + length. |
| 4934 | (put_frame_register_bytes): Likewise. |
| 4935 | Adjust documentation. |
| 4936 | (get_frame_memory): Pass a gdb::array_view instead of buffer + length. |
| 4937 | (safe_frame_unwind_memory): Likewise. |
| 4938 | * frame.c (get_frame_register_bytes, put_frame_register_bytes) |
| 4939 | (get_frame_memory, safe_frame_unwind_memory): Adjust to use |
| 4940 | gdb::array_view. |
| 4941 | * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise. |
| 4942 | * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise. |
| 4943 | * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise. |
| 4944 | * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise. |
| 4945 | * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise. |
| 4946 | * dwarf2/loc.c (rw_pieced_value): Likewise. |
| 4947 | * hppa-tdep.c (hppa_frame_cache): Likewise. |
| 4948 | * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise. |
| 4949 | * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise. |
| 4950 | * i386-linux-tdep.c (i386_linux_sigtramp_start) |
| 4951 | (i386_linux_rt_sigtramp_start): Likewise. |
| 4952 | * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise. |
| 4953 | * i386-tdep.c (i386_register_to_value): Likewise. |
| 4954 | * i387-tdep.c (i387_register_to_value): Likewise. |
| 4955 | * ia64-tdep.c (ia64_register_to_value): Likewise. |
| 4956 | * m32r-linux-tdep.c (m32r_linux_sigtramp_start) |
| 4957 | (m32r_linux_rt_sigtramp_start): Likewise. |
| 4958 | * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise. |
| 4959 | * m68k-tdep.c (m68k_register_to_value): Likewise. |
| 4960 | * mips-tdep.c (mips_register_to_value) |
| 4961 | (mips_value_to_register): Likewise. |
| 4962 | * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer) |
| 4963 | (ppcfbsd_sigtramp_frame_cache): Likewise. |
| 4964 | * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer) |
| 4965 | (ppcobsd_sigtramp_frame_cache): Likewise. |
| 4966 | * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p) |
| 4967 | (rs6000_register_to_value): Likewise. |
| 4968 | * tilegx-tdep.c (tilegx_analyze_prologue): Likewise. |
| 4969 | * tramp-frame.c (tramp_frame_start): Likewise. |
| 4970 | * valops.c (value_assign): Likewise. |
| 4971 | |
| 4972 | 2021-01-19 Luis Machado <luis.machado@linaro.org> |
| 4973 | |
| 4974 | * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an |
| 4975 | array_view. |
| 4976 | * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view |
| 4977 | instead of buffer and size. |
| 4978 | (trad_frame_set_reg_value_bytes): Likewise. |
| 4979 | * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise. |
| 4980 | (trad_frame_set_value_bytes): Likewise. |
| 4981 | |
| 4982 | 2021-01-18 Mike Frysinger <vapier@gentoo.org> |
| 4983 | |
| 4984 | * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s. |
| 4985 | |
| 4986 | 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com> |
| 4987 | |
| 4988 | * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete. |
| 4989 | (riscv_fbsd_gregset): Use riscv_supply_regset. |
| 4990 | (riscv_fbsd_fpregset): Likewise. |
| 4991 | * riscv-linux-tdep.c (riscv_linux_gregset): Likewise. |
| 4992 | (riscv_linux_fregset): Likewise. |
| 4993 | * riscv-tdep.c (riscv_supply_regset): Define new function. |
| 4994 | * riscv-tdep.h (riscv_supply_regset): Declare new function. |
| 4995 | |
| 4996 | 2021-01-18 Tom de Vries <tdevries@suse.de> |
| 4997 | |
| 4998 | PR tdep/27172 |
| 4999 | * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR): |
| 5000 | New macro. |
| 5001 | (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper |
| 5002 | for SEGV_BNDERR. |
| 5003 | |
| 5004 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> |
| 5005 | |
| 5006 | * remote.c (class remote_target) <remote_hostio_send_command, |
| 5007 | remote_hostio_parse_result>: Constify parameter. |
| 5008 | (remote_hostio_parse_result): Likewise. |
| 5009 | (remote_target::remote_hostio_send_command): Adjust. |
| 5010 | (remote_target::remote_hostio_pread_vFile): Adjust. |
| 5011 | (remote_target::fileio_readlink): Adjust. |
| 5012 | (remote_target::fileio_fstat): Adjust. |
| 5013 | |
| 5014 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> |
| 5015 | |
| 5016 | * remote.c (remote_target::start_remote): Move wait_status to |
| 5017 | narrower scope. |
| 5018 | |
| 5019 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> |
| 5020 | |
| 5021 | * remote.c (class remote_target): |
| 5022 | <add_current_inferior_and_thread>: Constify parameter. |
| 5023 | (stop_reply_extract_thread): Likewise. |
| 5024 | (remote_target::get_current_thread): Likewise. |
| 5025 | (remote_target::add_current_inferior_and_thread): Likewise. |
| 5026 | |
| 5027 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> |
| 5028 | |
| 5029 | * remote.c (class remote_target) |
| 5030 | <remote_unpack_thread_info_response, |
| 5031 | parse_threadlist_response>: Constify parameter and/or return |
| 5032 | value and or local variable. |
| 5033 | (stub_unpack_int): Likewise. |
| 5034 | (unpack_nibble): Likewise. |
| 5035 | (unpack_byte): Likewise. |
| 5036 | (unpack_int): Likewise. |
| 5037 | (unpack_string): Likewise. |
| 5038 | (unpack_threadid): Likewise. |
| 5039 | (remote_target::remote_unpack_thread_info_response): Likewise. |
| 5040 | (remote_target::parse_threadlist_response): Likewise. |
| 5041 | |
| 5042 | 2021-01-15 Andrew Burgess <andrew.burgess@embecosm.com> |
| 5043 | |
| 5044 | * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0. |
| 5045 | |
| 5046 | 2021-01-14 Lancelot Six <lsix@lancelotsix.com> |
| 5047 | |
| 5048 | * MAINTAINERS (Write After Approval): Add myself. |
| 5049 | |
| 5050 | 2021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de> |
| 5051 | |
| 5052 | * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error |
| 5053 | because is_trivially_default_constructible was first implemented with |
| 5054 | gcc-5. |
| 5055 | |
| 5056 | 2021-01-14 Tom de Vries <tdevries@suse.de> |
| 5057 | |
| 5058 | PR breakpoints/27151 |
| 5059 | * objfiles.h (in_plt_section): Handle .plt.sec. |
| 5060 | |
| 5061 | 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com> |
| 5062 | |
| 5063 | PR gdb/26819 |
| 5064 | * remote.c |
| 5065 | (remote_target::select_thread_for_ambiguous_stop_reply): New |
| 5066 | member function. |
| 5067 | (remote_target::process_stop_reply): Call |
| 5068 | select_thread_for_ambiguous_stop_reply. |
| 5069 | |
| 5070 | 2021-01-13 Simon Marchi <simon.marchi@efficios.com> |
| 5071 | |
| 5072 | * record-btrace.c (class record_btrace_target): Remove. |
| 5073 | (record_btrace_target::commit_resume): Remove. |
| 5074 | * record-full.c (class record_full_target): Remove. |
| 5075 | (record_full_target::commit_resume): Remove. |
| 5076 | |
| 5077 | 2021-01-13 Simon Marchi <simon.marchi@efficios.com> |
| 5078 | |
| 5079 | * remote.c (enum class resume_state): New. |
| 5080 | (struct resumed_pending_vcont_info): New. |
| 5081 | (struct remote_thread_info) <resume_state, set_not_resumed, |
| 5082 | set_resumed_pending_vcont, resumed_pending_vcont_info, |
| 5083 | set_resumed, m_resume_state, m_resumed_pending_vcont_info>: |
| 5084 | New. |
| 5085 | <last_resume_step, last_resume_sig, vcont_resumed>: Remove. |
| 5086 | (remote_target::remote_add_thread): Adjust. |
| 5087 | (remote_target::process_initial_stop_replies): Adjust. |
| 5088 | (remote_target::resume): Adjust. |
| 5089 | (remote_target::commit_resume): Rely on state in |
| 5090 | remote_thread_info and not on tp->executing. |
| 5091 | (remote_target::process_stop_reply): Adjust. |
| 5092 | |
| 5093 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
| 5094 | |
| 5095 | * arc-tdep.h (arc_debug_printf): New. |
| 5096 | * arc-tdep.c: Use arc_debug_printf. |
| 5097 | * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use. |
| 5098 | * arc-linux-tdep.c (arc_linux_debug_printf): Add and use. |
| 5099 | * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use. |
| 5100 | |
| 5101 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
| 5102 | |
| 5103 | * arc-tdep.h (arc_debug): Change type to bool. |
| 5104 | * arc-tdep.c (arc_debug): Change type to bool. |
| 5105 | (arc_analyze_prologue): Adjust. |
| 5106 | (_initialize_arc_tdep): Use add_setshow_boolean_cmd. |
| 5107 | * arc-linux-nat.c (ps_get_thread_area): Adjust. |
| 5108 | |
| 5109 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
| 5110 | |
| 5111 | * auto-load.c (auto_load_objfile_script_1): Use bool. |
| 5112 | (execute_script_contents): Use bool. |
| 5113 | |
| 5114 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
| 5115 | |
| 5116 | * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move |
| 5117 | comment here. |
| 5118 | * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move |
| 5119 | comment to header. |
| 5120 | * extension-priv.h (struct extension_language_script_ops) |
| 5121 | <auto_load_enabled>: Return bool. |
| 5122 | * extension.h (ext_lang_auto_load_enabled): Return bool, move |
| 5123 | comment here. |
| 5124 | * extension.c (ext_lang_auto_load_enabled): Return bool, move |
| 5125 | comment to header. |
| 5126 | * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool, |
| 5127 | move comment here. |
| 5128 | * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool, |
| 5129 | move comment to header. |
| 5130 | * python/python-header.h (gdbpy_auto_load_enabled): Return bool, |
| 5131 | move comment here. |
| 5132 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool, |
| 5133 | move comment to header. |
| 5134 | |
| 5135 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
| 5136 | |
| 5137 | * auto-load.h (file_is_auto_load_safe): Change return type to |
| 5138 | bool, move comment here. |
| 5139 | * auto-load.c (file_is_auto_load_safe): Change return type and |
| 5140 | advice_printed to bool. Move comment to header. |
| 5141 | |
| 5142 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
| 5143 | |
| 5144 | * jit.c (jit_debug_printf): New, use throughout file. |
| 5145 | |
| 5146 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> |
| 5147 | |
| 5148 | * infrun.c (normal_stop): Fix indentation. |
| 5149 | |
| 5150 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> |
| 5151 | |
| 5152 | * top.h (readnow_symbol_files, readnever_symbol_files): Move |
| 5153 | declarations to ... |
| 5154 | * symfile.h: ... here. |
| 5155 | * symfile.c: Update doc. |
| 5156 | |
| 5157 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> |
| 5158 | |
| 5159 | * target.h (baud_rate, serial_parity): Move declarations... |
| 5160 | * serial.h: ... here. |
| 5161 | * main.c: Include serial.h. |
| 5162 | * serial.c (baud_rate, serial_parity): Update doc. |
| 5163 | |
| 5164 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> |
| 5165 | |
| 5166 | * top.c (pre_init_ui_hook): Remove. |
| 5167 | |
| 5168 | 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com> |
| 5169 | |
| 5170 | * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers. |
| 5171 | (aarch64_vnv_type): Add "bf" type in h field of v registers. |
| 5172 | * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated. |
| 5173 | * features/aarch64-fpu.xml: Add bfloat16 type. |
| 5174 | |
| 5175 | 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com> |
| 5176 | |
| 5177 | * expprint.c (dump_subexp_body_standard): Handle OP_BOOL. |
| 5178 | |
| 5179 | 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com> |
| 5180 | |
| 5181 | * f-exp.y (dot_ops): Rename to... |
| 5182 | (fortran_operators): ...this. Add a header comment. Add symbol |
| 5183 | based operators. |
| 5184 | (yylex): Update to use fortran_operators not dot_ops. Remove |
| 5185 | special handling for '**', this is now included in |
| 5186 | fortran_operators. |
| 5187 | |
| 5188 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> |
| 5189 | |
| 5190 | * arch/aarch64-insn.h (aarch64_debug_printf): New. |
| 5191 | * arch/aarch64-insn.c: Use aarch64_debug_printf. |
| 5192 | * aarch64-tdep.c: Use aarch64_debug_printf. |
| 5193 | |
| 5194 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> |
| 5195 | |
| 5196 | * solib-aix.c (solib_aix_debug_printf): New, use throughout |
| 5197 | file. |
| 5198 | |
| 5199 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> |
| 5200 | |
| 5201 | * jit.c (jit_debug): Change type to bool. |
| 5202 | (_initialize_jit): Adjust. |
| 5203 | |
| 5204 | 2021-01-09 Tom Tromey <tom@tromey.com> |
| 5205 | |
| 5206 | PR compile/23672 |
| 5207 | * compile/compile.c (compile_to_object): Avoid crash when |
| 5208 | osabi_triplet_regexp returns NULL. |
| 5209 | |
| 5210 | 2021-01-09 Tom Tromey <tom@tromey.com> |
| 5211 | |
| 5212 | * tracepoint.h (class collection_list) <append_exp>: Take a |
| 5213 | std::string. |
| 5214 | * tracepoint.c (collection_list::append_exp): Take a std::string. |
| 5215 | (encode_actions_1): Update. |
| 5216 | |
| 5217 | 2021-01-08 Tom Tromey <tromey@adacore.com> |
| 5218 | |
| 5219 | * parse.c (parse_expression): Add void_context_p parameter. Use |
| 5220 | parse_exp_in_context. |
| 5221 | * printcmd.c (print_command_1): Change voidprint to bool. Pass to |
| 5222 | parse_expression. |
| 5223 | (print_command, call_command): Update. |
| 5224 | * expression.h (parse_expression): Add void_context_p parameter. |
| 5225 | |
| 5226 | 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 5227 | |
| 5228 | * value.c (set_value_component_location): Adjust the VALUE_LVAL |
| 5229 | for internalvar components that have a dynamic location. |
| 5230 | |
| 5231 | 2021-01-08 Tom de Vries <tdevries@suse.de> |
| 5232 | |
| 5233 | PR gdb/26881 |
| 5234 | * breakpoint.c (create_exception_master_breakpoint_probe) |
| 5235 | (create_exception_master_breakpoint_hook): Factor out |
| 5236 | of ... |
| 5237 | (create_exception_master_breakpoint): ... here. Only try to install |
| 5238 | the master exception breakpoint in objfile.debug using the |
| 5239 | _Unwind_DebugHook method, if the install using probes in objfile |
| 5240 | failed. |
| 5241 | |
| 5242 | 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 5243 | |
| 5244 | * f-lang.c (fortran_value_subarray): Call value_from_component. |
| 5245 | |
| 5246 | 2021-01-07 Mike Frysinger <vapier@gentoo.org> |
| 5247 | |
| 5248 | * remote-sim.c: Include memory-map.h. |
| 5249 | (gdbsim_target): Define memory_map override. |
| 5250 | (gdbsim_target::memory_map): Define. |
| 5251 | |
| 5252 | 2021-01-07 Tom Tromey <tromey@adacore.com> |
| 5253 | |
| 5254 | * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix. |
| 5255 | |
| 5256 | 2021-01-07 Tom Tromey <tromey@adacore.com> |
| 5257 | |
| 5258 | * ada-lang.c (add_component_interval): Start loop using vector's |
| 5259 | updated size. |
| 5260 | |
| 5261 | 2021-01-06 Tom Tromey <tromey@adacore.com> |
| 5262 | |
| 5263 | * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>: |
| 5264 | Do not cast result. |
| 5265 | * valarith.c (fixed_point_binop): Handle multiplication |
| 5266 | and division specially. |
| 5267 | * valops.c (value_to_gdb_mpq): New function. |
| 5268 | (value_cast_to_fixed_point): Use it. |
| 5269 | |
| 5270 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> |
| 5271 | |
| 5272 | * tui/tui-winsource.c (tui_source_window_base::refresh_window): |
| 5273 | Call wnoutrefresh instead of tui_win_info::refresh_window. |
| 5274 | |
| 5275 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> |
| 5276 | |
| 5277 | * tui/tui-source.c (tui_source_window::show_line_number): |
| 5278 | Redraw second space after line number. |
| 5279 | |
| 5280 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> |
| 5281 | |
| 5282 | PR tui/26927 |
| 5283 | * tui/tui-winsource.c (tui_source_window_base::refresh_window): |
| 5284 | Fix source pad size in prefresh. |
| 5285 | (tui_source_window_base::show_source_content): Grow source pad |
| 5286 | if necessary. |
| 5287 | |
| 5288 | 2021-01-04 Mike Frysinger <vapier@gentoo.org> |
| 5289 | |
| 5290 | * bfin-tdep.c (bfin_push_dummy_call): Use align_up. |
| 5291 | (bfin_frame_align): Use align_down. |
| 5292 | |
| 5293 | 2021-01-04 Tom de Vries <tdevries@suse.de> |
| 5294 | |
| 5295 | * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq |
| 5296 | terminators that do not terminate anything. |
| 5297 | |
| 5298 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> |
| 5299 | |
| 5300 | * debug.c (debug_print_depth): New. |
| 5301 | * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New. |
| 5302 | (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New. |
| 5303 | * infrun.c (start_step_over): Use |
| 5304 | INFRUN_SCOPED_DEBUG_ENTER_EXIT. |
| 5305 | (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and |
| 5306 | INFRUN_SCOPED_DEBUG_START_END. |
| 5307 | (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT. |
| 5308 | |
| 5309 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> |
| 5310 | |
| 5311 | * infrun.c (print_target_wait_results): Use infrun_debug_printf. |
| 5312 | |
| 5313 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> |
| 5314 | |
| 5315 | * utils.c (vfprintf_unfiltered): Print timestamp only when |
| 5316 | previous debug output ended with a newline. |
| 5317 | |
| 5318 | 2021-01-04 Luis Machado <luis.machado@linaro.org> |
| 5319 | |
| 5320 | Update all users of trad_frame_saved_reg to use the new member |
| 5321 | functions. |
| 5322 | |
| 5323 | Remote all struct keywords from declarations of trad_frame_saved_reg |
| 5324 | types, except on forward declarations. |
| 5325 | |
| 5326 | * aarch64-tdep.c: Update. |
| 5327 | * alpha-mdebug-tdep.c: Update. |
| 5328 | * alpha-tdep.c: Update. |
| 5329 | * arc-tdep.c: Update. |
| 5330 | * arm-tdep.c: Update. |
| 5331 | * avr-tdep.c: Update. |
| 5332 | * cris-tdep.c: Update. |
| 5333 | * csky-tdep.c: Update. |
| 5334 | * frv-tdep.c: Update. |
| 5335 | * hppa-linux-tdep.c: Update. |
| 5336 | * hppa-tdep.c: Update. |
| 5337 | * hppa-tdep.h: Update. |
| 5338 | * lm32-tdep.c: Update. |
| 5339 | * m32r-linux-tdep.c: Update. |
| 5340 | * m32r-tdep.c: Update. |
| 5341 | * m68hc11-tdep.c: Update. |
| 5342 | * mips-tdep.c: Update. |
| 5343 | * moxie-tdep.c: Update. |
| 5344 | * riscv-tdep.c: Update. |
| 5345 | * rs6000-tdep.c: Update. |
| 5346 | * s390-linux-tdep.c: Update. |
| 5347 | * s390-tdep.c: Update. |
| 5348 | * score-tdep.c: Update. |
| 5349 | * sparc-netbsd-tdep.c: Update. |
| 5350 | * sparc-sol2-tdep.c: Update. |
| 5351 | * sparc64-fbsd-tdep.c: Update. |
| 5352 | * sparc64-netbsd-tdep.c: Update. |
| 5353 | * sparc64-obsd-tdep.c: Update. |
| 5354 | * sparc64-sol2-tdep.c: Update. |
| 5355 | * tilegx-tdep.c: Update. |
| 5356 | * v850-tdep.c: Update. |
| 5357 | * vax-tdep.c: Update. |
| 5358 | |
| 5359 | * frame-unwind.c (frame_unwind_got_bytes): Make parameter const. |
| 5360 | * frame-unwind.h (frame_unwind_got_bytes): Likewise. |
| 5361 | |
| 5362 | * trad-frame.c: Update. |
| 5363 | Remove TF_REG_* enum. |
| 5364 | (trad_frame_alloc_saved_regs): Add a static assertion to check for |
| 5365 | a trivially-constructible struct. |
| 5366 | (trad_frame_reset_saved_regs): Adjust to use member function. |
| 5367 | (trad_frame_value_p): Likewise. |
| 5368 | (trad_frame_addr_p): Likewise. |
| 5369 | (trad_frame_realreg_p): Likewise. |
| 5370 | (trad_frame_value_bytes_p): Likewise. |
| 5371 | (trad_frame_set_value): Likewise. |
| 5372 | (trad_frame_set_realreg): Likewise. |
| 5373 | (trad_frame_set_addr): Likewise. |
| 5374 | (trad_frame_set_unknown): Likewise. |
| 5375 | (trad_frame_set_value_bytes): Likewise. |
| 5376 | (trad_frame_get_prev_register): Likewise. |
| 5377 | * trad-frame.h: Update. |
| 5378 | (trad_frame_saved_reg_kind): New enum. |
| 5379 | (struct trad_frame_saved_reg) <addr, realreg, data>: Remove. |
| 5380 | <m_kind, m_reg>: New member fields. |
| 5381 | <set_value, set_realreg, set_addr, set_unknown, set_value_bytes> |
| 5382 | <kind, value, realreg, addr, value_bytes, is_value, is_realreg> |
| 5383 | <is_addr, is_unknown, is_value_bytes>: New member functions. |
| 5384 | |
| 5385 | 2021-01-02 Simon Marchi <simon.marchi@polymtl.ca> |
| 5386 | |
| 5387 | * target-float.c: Fix typos. |
| 5388 | |
| 5389 | 2021-01-02 Hannes Domani <ssbssa@yahoo.de> |
| 5390 | |
| 5391 | * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer. |
| 5392 | |
| 5393 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> |
| 5394 | |
| 5395 | * gdbarch.sh: Update copyright year range. |
| 5396 | |
| 5397 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> |
| 5398 | |
| 5399 | Update copyright year range in copyright header of all GDB files. |
| 5400 | |
| 5401 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> |
| 5402 | |
| 5403 | * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport" |
| 5404 | to the list of directories to update. |
| 5405 | |
| 5406 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> |
| 5407 | |
| 5408 | * top.c (print_gdb_version): Update copyright year. |
| 5409 | |
| 5410 | 2021-01-01, 21 Joel Brobecker <brobecker@adacore.com> |
| 5411 | |
| 5412 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020. |
| 5413 | |
| 5414 | For older changes see ChangeLog-2020. |
| 5415 | \f |
| 5416 | Local Variables: |
| 5417 | mode: change-log |
| 5418 | left-margin: 8 |
| 5419 | fill-column: 74 |
| 5420 | version-control: never |
| 5421 | coding: utf-8 |
| 5422 | End: |