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