1 2021-02-04 Mike Frysinger <vapier@gentoo.org>
3 * configure.tgt (riscv*-*-*): Set gdb_sim.
5 2021-02-04 Simon Marchi <simon.marchi@polymtl.ca>
7 * target.c (target_is_non_stop_p): Return bool.
8 * target.h (target_is_non_stop_p): Return bool.
10 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
12 * record-full.c (record_full_async_inferior_event_handler):
13 Don't clear async event handler.
14 (record_full_base_target::wait): Clear async event handler at
17 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
19 * record-btrace.c (record_btrace_handle_async_inferior_event):
20 Don't clear async event handler.
21 (record_btrace_target::wait): Clear async event handler at
24 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
26 * remote.c (remote_target::wait): Clear async event handler at
27 beginning, mark if needed at the end.
28 (remote_async_inferior_event_handler): Don't set or clear async
31 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
33 * async-event.h (async_event_handler_func): Add documentation.
34 * async-event.c (check_async_event_handlers): Don't clear
35 async_event_handler ready flag.
36 * infrun.c (infrun_async_inferior_event_handler): Clear ready
38 * record-btrace.c (record_btrace_handle_async_inferior_event):
40 * record-full.c (record_full_async_inferior_event_handler):
42 * remote-notif.c (remote_async_get_pending_events_handler):
44 * remote.c (remote_async_inferior_event_handler): Likewise.
46 2021-02-03 Simon Marchi <simon.marchi@polymtl.ca>
48 * infrun.c (handle_inferior_event): Move stop_soon variable to
51 2021-02-03 Pedro Alves <pedro@palves.net>
53 * infcmd.c (detach_command): Hold strong reference to target, and
54 if all-stop on entry, restart threads on exit.
55 * infrun.c (switch_back_to_stepped_thread): Factor out bits to ...
56 (restart_stepped_thread): ... this new function. Also handle
58 (restart_after_all_stop_detach): New function.
59 * infrun.h (restart_after_all_stop_detach): Declare.
61 2021-02-03 Pedro Alves <pedro@palves.net>
63 * infrun.c (struct step_over_info): Initialize fields.
64 (prepare_for_detach): Handle ongoing in-line step over.
66 2021-02-03 Pedro Alves <pedro@palves.net>
68 * linux-nat.c (linux_nat_target::detach): Remove breakpoints
70 * remote.c (remote_target::remote_detach_1): ... and here ...
71 * target.c (target_detach): ... instead of here.
72 * target.h (target_ops::detach): Add comment.
74 2021-02-03 Pedro Alves <pedro@palves.net>
76 * infrun.c (struct wait_one_event): Move higher up.
77 (prepare_for_detach): Abort in-progress displaced steps instead of
78 letting them complete.
79 (handle_one): If the inferior is detaching, don't add the thread
80 back to the global step-over chain.
81 (restart_threads): Don't restart threads if detaching.
82 (handle_signal_stop): Remove inferior::detaching reference.
84 2021-02-03 Pedro Alves <pedro@palves.net>
86 * infrun.c (prepare_for_detach): Don't release scoped_restore
89 2021-02-03 Pedro Alves <pedro@palves.net>
91 * infrun.c (handle_one): New function, factored out from ...
92 (stop_all_threads): ... here.
94 2021-02-03 Pedro Alves <pedro@palves.net>
96 * remote.c (remote_notif_stop_ack): Don't error out on
97 TARGET_WAITKIND_IGNORE; instead, just ignore the notification.
98 (remote_target::discard_pending_stop_replies): Don't delete
99 in-flight notification; instead, clear its contents.
101 2021-02-03 Pedro Alves <pedro@palves.net>
103 * remote.c (extended_remote_target::attach): Set target async in
104 the target-non-stop path too.
106 2021-02-03 Pedro Alves <pedro@palves.net>
109 * infrun.c (handle_signal_stop): Move main context_switch call
110 earlier, before STOP_QUIETLY_NO_SIGSTOP.
112 2021-02-02 Lancelot SIX <lsix@lancelotsix.com>
114 * NEWS (Changed commands): Add entry for the behavior change of
115 the inferior command.
116 * inferior.c (inferior_command): When no argument is given to the
117 inferior command, display info about the currently selected
120 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
122 * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return
124 (read_attribute_reprocess): Adjust.
126 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
128 * dwarf2/die.h (struct die_info) <ranges_base>: Split in...
129 <gnu_ranges_base>: ... this...
130 <rnglists_base>: ... and this.
131 * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in...
132 <gnu_ranges_base>: ... this...
133 <rnglists_base>: ... and this.
134 (read_cutu_die_from_dwo): Adjust
135 (dwarf2_get_pc_bounds): Adjust
136 (dwarf2_record_block_ranges): Adjust.
137 (read_full_die_1): Adjust
138 (partial_die_info::read): Adjust.
139 (read_rnglist_index): Adjust.
141 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
144 * dwarf2/read.c (read_loclists_rnglists_header): Add
145 header_offset parameter and use it.
146 (read_loclist_index): Read header of the current contribution,
147 not the one at the beginning of the section.
148 (read_rnglist_index): Likewise.
150 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
153 * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear
154 requires_reprocessing flag.
155 * dwarf2/attribute.c (attribute::form_is_unsigned): Handle
157 (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx
158 and DW_FORM_loclistx.
159 * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned
160 instead of set_address for DW_FORM_loclistx and
163 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
165 * dwarf2/read.c (read_loclist_index): Remove bound check for
167 (read_rnglist_index): Likewise.
169 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
171 * dwarf2/read.c (read_loclist_index): Add bound check for the end
174 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
176 * dwarf2/read.c (read_rnglist_index): Fix bound check.
178 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
180 * dwarf2/read.c (read_loclist_index): Change complaints into
183 2021-02-02 Tom de Vries <tdevries@suse.de>
186 * dwarf2/index-write.c (write_one_signatured_type): Skip if
189 2021-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
191 * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h.
192 * gcore.c (struct gcore_collect_regset_section_cb_data): Moved
193 here from linux-tdep.c and given a new name. Minor cleanups.
194 (gcore_collect_regset_section_cb): Likewise.
195 (gcore_collect_thread_registers): Likewise.
196 (gcore_build_thread_register_notes): Likewise.
197 (gcore_find_signalled_thread): Likewise.
198 * gcore.h (gcore_build_thread_register_notes): Declare.
199 (gcore_find_signalled_thread): Declare.
200 * fbsd-tdep.c: Add 'gcore.h' include.
201 (struct fbsd_collect_regset_section_cb_data): Delete.
202 (fbsd_collect_regset_section_cb): Delete.
203 (fbsd_collect_thread_registers): Delete.
204 (struct fbsd_corefile_thread_data): Delete.
205 (fbsd_corefile_thread): Delete.
206 (fbsd_make_corefile_notes): Call
207 gcore_build_thread_register_notes instead of the now deleted
209 * linux-tdep.c: Add 'gcore.h' include.
210 (struct linux_collect_regset_section_cb_data): Delete.
211 (linux_collect_regset_section_cb): Delete.
212 (linux_collect_thread_registers): Delete.
213 (linux_corefile_thread): Call
214 gcore_build_thread_register_notes.
215 (find_signalled_thread): Delete.
216 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
218 2021-01-29 Tom de Vries <tdevries@suse.de>
221 * infrun.c (process_event_stop_test): Reset
222 ecs->event_thread->current_line to 0 if is-stmt=n and frame has
225 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
227 * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an
228 assert. Extend the header comment.
230 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
232 * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c.
233 (HFILES_NO_SRCDIR): Add tui/tui-location.h.
234 * tui/tui-data.h (TUI_STATUS_WIN): Define.
235 (tui_locator_win_info_ptr): Delete declaration.
236 * tui/tui-disasm.c: Add 'tui/tui-location.h' include.
237 (tui_disasm_window::set_contents): Fetch state from tui_location
239 (tui_get_begin_asm_address): Likewise.
240 * tui/tui-layout.c (tui_apply_current_layout): Remove special case
242 (get_locator_window): Delete.
243 (initialize_known_windows): Treat locator window just like all the
245 * tui/tui-source.c: Add 'tui/tui-location.h' include.
246 (tui_source_window::set_contents): Fetch state from tui_location
248 (tui_source_window::showing_source_p): Likewise.
249 * tui/tui-stack.c: Add 'tui/tui-location.h' include.
251 (tui_locator_win_info_ptr): Delete.
252 (tui_locator_window::make_status_line): Fetch state from
254 (tui_locator_window::rerender): Remove check of 'handle',
255 reindent function body.
256 (tui_locator_window::set_locator_fullname): Delete.
257 (tui_locator_window::set_locator_info): Delete.
258 (tui_update_locator_fullname): Delete.
259 (tui_show_frame_info): Likewise.
260 (tui_show_locator_content): Access window through TUI_STATUS_WIN.
261 * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to
262 tui/tui-location.h and renamed to
263 tui_location_tracker::set_location.
264 (tui_locator_window::set_locator_fullname): Moved to
265 tui/tui-location.h and renamed to
266 tui_location_tracker::set_fullname.
267 (tui_locator_window::full_name): Delete.
268 (tui_locator_window::proc_name): Delete.
269 (tui_locator_window::line_no): Delete.
270 (tui_locator_window::addr): Delete.
271 (tui_locator_window::gdbarch): Delete.
272 (tui_update_locator_fullname): Delete declaration.
273 * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling
275 * tui/tui-winsource.c: Add 'tui/tui-location.h' include.
276 (tui_display_main): Call function on tui_location directly.
277 * tui/tui.h (enum tui_win_type): Add STATUS_WIN.
278 * tui/tui-location.c: New file.
279 * tui/tui-location.h: New file.
281 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
283 * gdbtypes.h (get_type_arch): Rename to...
284 (struct type) <arch>: ... this, update all users.
286 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
288 * gdbtypes.h (struct type) <arch>: Rename to...
289 <arch_owner>: ... this, update all users.
290 <objfile>: Rename to...
291 <objfile_owner>: ... this, update all users.
293 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
295 * gdbcmd.h (execute_command_to_string): Update comment.
296 * top.c (execute_command_to_string): Update header comment.
298 2021-01-28 Tom de Vries <tdevries@suse.de>
301 * breakpoint.c (create_longjmp_master_breakpoint_probe)
302 (create_longjmp_master_breakpoint_names): New function, factored out
304 (create_longjmp_master_breakpoint): ... here. Only try to install
305 longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
306 breakpoint in libc.so failed.
308 2021-01-27 Lancelot SIX <lsix@lancelotsix.com>
311 * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
312 unique_ptr is released when the wrapped pointer is kept for later
315 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
317 * aarch64-tdep.c (aarch64_displaced_step_others): Account for
318 BLR and BR instructions.
319 * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
320 (enum aarch64_masks): New.
322 2021-01-26 Tom Tromey <tromey@adacore.com>
324 * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
325 (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
326 (windows_init_thread_list, windows_nat::handle_load_dll)
327 (windows_nat::handle_unload_dll, windows_nat_target::resume)
328 (windows_nat_target::resume)
329 (windows_nat_target::get_windows_debug_event)
330 (windows_nat_target::interrupt, windows_xfer_memory)
331 (windows_nat_target::close): Update.
332 * nat/windows-nat.c (DEBUG_EVENTS): Use
333 debug_prefixed_printf_cond.
334 (matching_pending_stop, fetch_pending_stop)
335 (continue_last_debug_event): Update.
337 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
339 * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
340 elfcore_write_file_note.
342 2021-01-26 Shahab Vahedi <shahab@synopsys.com>
344 * arc-tdep.c (arc_add_reggroups): New function.
345 (arc_gdbarch_init): Call arc_add_reggroups.
347 2021-01-26 Anton Kolesov <anton.kolesov@synopsys.com>
349 * arc-tdep.c (arc_skip_prologue): Log "pc" address.
351 2021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
352 Simon Marchi <simon.marchi@polymtl.ca>
353 Tom de Vries <tdevries@suse.de>
355 * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
358 2021-01-25 Tom Tromey <tromey@adacore.com>
360 * dwarf2/read.c (get_mpz): New function.
361 (get_dwarf2_rational_constant): Use it.
363 2021-01-25 Tom Tromey <tromey@adacore.com>
365 * ada-lang.c (resolve_subexp): Handle array context.
367 2021-01-23 Tom Tromey <tom@tromey.com>
370 * compile/compile-loc2c.c (note_register): New function.
371 (pushf_register_address, pushf_register): Use it.
373 2021-01-23 Tom Tromey <tom@tromey.com>
375 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
376 Change type of "registers_used".
377 * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
378 * dwarf2/loc.c (dwarf2_compile_property_to_c)
379 (locexpr_generate_c_location, loclist_generate_c_location): Change
380 type of "registers_used".
381 * compile/compile.h (compile_dwarf_expr_to_c)
382 (compile_dwarf_bounds_to_c): Update.
383 * compile/compile-loc2c.c (pushf_register_address)
384 (pushf_register, do_compile_dwarf_expr_to_c)
385 (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
387 * compile/compile-c.h (generate_c_for_variable_locations):
389 * compile/compile-c-symbols.c (generate_vla_size)
390 (generate_c_for_for_one_variable): Change type of
392 (generate_c_for_variable_locations): Return std::vector.
393 * compile/compile-c-support.c (generate_register_struct): Change
394 type of "registers_used".
397 2021-01-23 Tom Tromey <tom@tromey.com>
399 * compile/compile-internal.h (class compile_instance)
400 <set_arguments>: Change return type.
401 * compile/compile.c (compile_to_object): Remove call to reset.
402 (compile_instance::set_arguments): Change return type.
404 2021-01-23 Simon Marchi <simon.marchi@polymtl.ca>
406 * gdbtypes.c (copy_type_recursive): Use get_type_arch.
407 * gdbtypes.h (struct type) <set_owner>: Add asserts.
409 2021-01-23 Lancelot SIX <lsix@lancelotsix.com>
411 * Makefile.in (SELFTESTS_SRCS): Add
412 unittests/gdb_tilde_expand-selftests.c.
413 * unittests/gdb_tilde_expand-selftests.c: New file.
415 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
418 * NEWS: Mention new command.
419 * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
420 (version_style): Define.
421 (cli_style_option::cli_style_option): Add intensity parameter, and
423 (_initialize_cli_style): Register version style set/show commands.
424 * cli/cli-style.h (cli_style_option): Add intensity parameter.
425 (version_style): Declare.
426 * top.c (print_gdb_version): Use version_stype, and styled_string
427 to print the GDB version string.
429 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
431 * utils.c (emit_style_escape): Only emit an escape sequence if the
432 requested style is different than the current applied style.
433 (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
434 current applied_style.
435 (fputs_styled): Remove is_default check.
436 (fputs_styled_unfiltered): Likewise.
437 (vfprintf_styled_no_gdbfmt): Likewise.
439 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
441 * remote.h (remote_debug_printf): New.
442 (remote_debug_printf_nofunc): New.
443 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
444 * remote.c: Use above macros throughout file.
446 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
448 * remote.h (remote_debug): Change to bool.
449 * remote.c (remote_debug): Change to bool.
450 (_initialize_remote): Adjust.
452 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
454 * target.h (remote_debug): Move to...
455 * remote.h (remote_debug): ... here.
456 * top.c (remote_debug): Move to...
457 * remote.c (remote_debug): ... here.
458 * remote-sim.c: Include remote.h.
460 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
462 * cli/cli-cmds.c (show_remote_debug): Remove.
463 (show_remote_timeout): Remove.
464 (_initialize_cli_cmds): Don't register commands.
465 * remote.c (show_remote_debug): Move here.
466 (show_remote_timeout): Move here.
467 (_initialize_remote): Register commands.
469 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
471 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
472 type::objfile method instead.
474 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
476 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
477 use the type::is_objfile_owned method.
479 2021-01-22 Simon Marchi <simon.marchi@efficios.com>
481 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
482 (TYPE_OWNER): Remove.
483 (TYPE_OBJFILE): Adjust.
484 (struct main_type) <flag_objfile_owned>: Rename to...
485 <m_flag_objfile_owned>: ... this.
486 <owner>: Rename to...
488 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
490 (TYPE_ALLOC): Adjust.
491 * gdbtypes.c (alloc_type): Adjust.
492 (alloc_type_arch): Adjust.
493 (alloc_type_copy): Adjust.
494 (get_type_arch): Adjust.
495 (smash_type): Adjust.
496 (lookup_array_range_type): Adjust.
497 (recursive_dump_type): Adjust.
498 (copy_type_recursive): Adjust.
499 * compile/compile-c-types.c (convert_func): Adjust.
500 (convert_type_basic): Adjust.
501 * compile/compile-cplus-types.c (compile_cplus_convert_func):
504 (language_arch_info::type_and_symbol::alloc_type_symbol):
507 2021-01-21 Luis Machado <luis.machado@linaro.org>
509 * coffread.c (enter_linenos): Passing string to complaint.
510 * valops.c (value_assign): Make array view.
512 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
514 * auto-load.h (debug_auto_load): Move here.
515 (auto_load_debug_printf): New.
516 * auto-load.c: Use auto_load_debug_printf.
517 (debug_auto_load): Move to header.
518 * linux-thread-db.c (try_thread_db_load): Use
519 auto_load_debug_printf.
520 * main.c (captured_main_1): Likewise.
522 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
524 * f-valprint.c (f77_array_offset_tbl): Remove.
526 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
528 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
530 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
532 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
535 2021-01-21 Hannes Domani <ssbssa@yahoo.de>
538 * python/py-breakpoint.c (bppy_get_location): Handle
539 bp_hardware_breakpoint.
540 (bppy_init): Likewise.
541 (gdbpy_breakpoint_created): Likewise.
543 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
545 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
547 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
549 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
550 (_initialize_gdb_bfd): Adjust.
552 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
555 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
557 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
559 * dwarf2/read.c (follow_die_offset): Add logging.
560 (dwarf2_per_objfile::age_comp_units): Add logging.
562 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
564 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
565 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
566 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
567 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
568 * arm-tdep.c (struct frame_unwind): Make static.
569 * auto-load.c (auto_load_safe_path_vec): Make static.
570 * csky-tdep.c (csky_stub_unwind): Make static.
571 * gdbarch.c (gdbarch_data_registry): Make static.
572 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
573 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
574 * i386-tdep.c (i386_frame_setup_skip_insns,
575 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
577 * infrun.c (observer_mode): Make static.
578 * linux-nat.c (sigchld_action): Make static.
579 * linux-thread-db.c (thread_db_list): Make static.
580 * maint-test-options.c (maintenance_test_options_list):
581 * mep-tdep.c (mep_csr_registers): Make static.
582 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
583 (stats): Make static.
584 * nat/linux-osdata.c (struct osdata_type): Make static.
585 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
586 * progspace.c (last_program_space_num): Make static.
587 * python/py-param.c (struct parm_constant): Remove struct type
589 (parm_constants): Make static.
590 * python/py-record-btrace.c (btpy_list_methods): Make static.
591 * python/py-record.c (recpy_gap_type): Make static.
592 * record.c (record_goto_cmdlist): Make static.
593 * regcache.c (regcache_descr_handle): Make static.
594 * registry.h (DEFINE_REGISTRY): Make definition static.
595 * symmisc.c (std_in, std_out, std_err): Make static.
596 * top.c (previous_saved_command_line): Make static.
597 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
599 * unittests/command-def-selftests.c (nr_duplicates,
600 nr_invalid_prefixcmd, lists): Make static.
601 * unittests/observable-selftests.c (test_notification): Make
603 * unittests/optional/assignment/1.cc (counter): Make static.
604 * unittests/optional/assignment/2.cc (counter): Make static.
605 * unittests/optional/assignment/3.cc (counter): Make static.
606 * unittests/optional/assignment/4.cc (counter): Make static.
607 * unittests/optional/assignment/5.cc (counter): Make static.
608 * unittests/optional/assignment/6.cc (counter): Make static.
610 2021-01-20 Joel Sherrill <joel@rtems.org>
613 * remote.c (struct remote_thread_info) <resume_state>: Rename
615 <get_resume_state>: ... this.
616 (remote_target::resume): Adjust.
617 (remote_target::commit_resume): Adjust.
618 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
620 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
621 Tom Tromey <tom@tromey.com>
623 * stap-probe.c (stap_parse_single_operand): Handle '!'
625 (stap_parse_argument_conditionally): Likewise.
626 Skip spaces after processing open-parenthesis sub-expression.
627 (stap_parse_argument_1): Skip spaces after call to
628 stap_parse_argument_conditionally.
629 Handle case when right-side expression is a parenthesized
631 Skip spaces after call to stap_parse_argument_1.
633 2021-01-19 Lancelot SIX <lsix@lancelotsix.com>
635 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
637 2021-01-19 Luis Machado <luis.machado@linaro.org>
639 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
640 memory and save data.
641 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
642 (trad_frame_set_unknown, trad_frame_set_value_bytes)
643 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
644 (trad_frame_value_bytes_p): Remove.
645 (trad_frame_reset_saved_regs): Adjust documentation.
646 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
647 constructor and reset the state of the registers.
648 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
649 (trad_frame_value_bytes_p, trad_frame_set_value)
650 (trad_frame_set_realreg, trad_frame_set_addr)
651 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
652 (trad_frame_set_reg_realreg): Update to call member function.
653 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
654 (trad_frame_get_prev_register): Likewise.
656 * aarch64-tdep.c (aarch64_analyze_prologue)
657 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
658 (aarch64_prologue_prev_register): Update to use member functions.
659 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
660 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
661 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
662 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
663 (arm_make_epilogue_frame_cache): Likewise.
664 * avr-tdep.c (avr_frame_unwind_cache)
665 (avr_frame_prev_register): Likewise.
666 * cris-tdep.c (cris_scan_prologue): Likewise.
667 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
668 * frv-tdep.c (frv_analyze_prologue): Likewise.
669 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
670 * lm32-tdep.c (lm32_frame_cache): Likewise.
671 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
672 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
673 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
674 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
675 (reset_saved_regs): Adjust to set realreg.
676 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
677 call member functions.
678 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
679 * s390-tdep.c (s390_prologue_frame_unwind_cache)
680 (s390_backchain_frame_unwind_cache): Likewise.
681 * score-tdep.c (score7_analyze_prologue)
682 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
683 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
684 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
685 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
686 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
687 * tilegx-tdep.c (tilegx_analyze_prologue)
688 (tilegx_frame_cache): Likewise.
689 * v850-tdep.c (v850_frame_cache): Likewise.
690 * vax-tdep.c (vax_frame_cache): Likewise.
692 2021-01-19 Luis Machado <luis.machado@linaro.org>
694 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
696 (put_frame_register_bytes): Likewise.
697 Adjust documentation.
698 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
699 (safe_frame_unwind_memory): Likewise.
700 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
701 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
703 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
704 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
705 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
706 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
707 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
708 * dwarf2/loc.c (rw_pieced_value): Likewise.
709 * hppa-tdep.c (hppa_frame_cache): Likewise.
710 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
711 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
712 * i386-linux-tdep.c (i386_linux_sigtramp_start)
713 (i386_linux_rt_sigtramp_start): Likewise.
714 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
715 * i386-tdep.c (i386_register_to_value): Likewise.
716 * i387-tdep.c (i387_register_to_value): Likewise.
717 * ia64-tdep.c (ia64_register_to_value): Likewise.
718 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
719 (m32r_linux_rt_sigtramp_start): Likewise.
720 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
721 * m68k-tdep.c (m68k_register_to_value): Likewise.
722 * mips-tdep.c (mips_register_to_value)
723 (mips_value_to_register): Likewise.
724 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
725 (ppcfbsd_sigtramp_frame_cache): Likewise.
726 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
727 (ppcobsd_sigtramp_frame_cache): Likewise.
728 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
729 (rs6000_register_to_value): Likewise.
730 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
731 * tramp-frame.c (tramp_frame_start): Likewise.
732 * valops.c (value_assign): Likewise.
734 2021-01-19 Luis Machado <luis.machado@linaro.org>
736 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
738 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
739 instead of buffer and size.
740 (trad_frame_set_reg_value_bytes): Likewise.
741 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
742 (trad_frame_set_value_bytes): Likewise.
744 2021-01-18 Mike Frysinger <vapier@gentoo.org>
746 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
748 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
750 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
751 (riscv_fbsd_gregset): Use riscv_supply_regset.
752 (riscv_fbsd_fpregset): Likewise.
753 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
754 (riscv_linux_fregset): Likewise.
755 * riscv-tdep.c (riscv_supply_regset): Define new function.
756 * riscv-tdep.h (riscv_supply_regset): Declare new function.
758 2021-01-18 Tom de Vries <tdevries@suse.de>
761 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
763 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
766 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
768 * remote.c (class remote_target) <remote_hostio_send_command,
769 remote_hostio_parse_result>: Constify parameter.
770 (remote_hostio_parse_result): Likewise.
771 (remote_target::remote_hostio_send_command): Adjust.
772 (remote_target::remote_hostio_pread_vFile): Adjust.
773 (remote_target::fileio_readlink): Adjust.
774 (remote_target::fileio_fstat): Adjust.
776 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
778 * remote.c (remote_target::start_remote): Move wait_status to
781 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
783 * remote.c (class remote_target):
784 <add_current_inferior_and_thread>: Constify parameter.
785 (stop_reply_extract_thread): Likewise.
786 (remote_target::get_current_thread): Likewise.
787 (remote_target::add_current_inferior_and_thread): Likewise.
789 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
791 * remote.c (class remote_target)
792 <remote_unpack_thread_info_response,
793 parse_threadlist_response>: Constify parameter and/or return
794 value and or local variable.
795 (stub_unpack_int): Likewise.
796 (unpack_nibble): Likewise.
797 (unpack_byte): Likewise.
798 (unpack_int): Likewise.
799 (unpack_string): Likewise.
800 (unpack_threadid): Likewise.
801 (remote_target::remote_unpack_thread_info_response): Likewise.
802 (remote_target::parse_threadlist_response): Likewise.
804 2021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
806 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
808 2021-01-14 Lancelot Six <lsix@lancelotsix.com>
810 * MAINTAINERS (Write After Approval): Add myself.
812 2021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
814 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
815 because is_trivially_default_constructible was first implemented with
818 2021-01-14 Tom de Vries <tdevries@suse.de>
821 * objfiles.h (in_plt_section): Handle .plt.sec.
823 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
827 (remote_target::select_thread_for_ambiguous_stop_reply): New
829 (remote_target::process_stop_reply): Call
830 select_thread_for_ambiguous_stop_reply.
832 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
834 * record-btrace.c (class record_btrace_target): Remove.
835 (record_btrace_target::commit_resume): Remove.
836 * record-full.c (class record_full_target): Remove.
837 (record_full_target::commit_resume): Remove.
839 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
841 * remote.c (enum class resume_state): New.
842 (struct resumed_pending_vcont_info): New.
843 (struct remote_thread_info) <resume_state, set_not_resumed,
844 set_resumed_pending_vcont, resumed_pending_vcont_info,
845 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
847 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
848 (remote_target::remote_add_thread): Adjust.
849 (remote_target::process_initial_stop_replies): Adjust.
850 (remote_target::resume): Adjust.
851 (remote_target::commit_resume): Rely on state in
852 remote_thread_info and not on tp->executing.
853 (remote_target::process_stop_reply): Adjust.
855 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
857 * arc-tdep.h (arc_debug_printf): New.
858 * arc-tdep.c: Use arc_debug_printf.
859 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
860 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
861 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
863 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
865 * arc-tdep.h (arc_debug): Change type to bool.
866 * arc-tdep.c (arc_debug): Change type to bool.
867 (arc_analyze_prologue): Adjust.
868 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
869 * arc-linux-nat.c (ps_get_thread_area): Adjust.
871 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
873 * auto-load.c (auto_load_objfile_script_1): Use bool.
874 (execute_script_contents): Use bool.
876 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
878 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
880 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
882 * extension-priv.h (struct extension_language_script_ops)
883 <auto_load_enabled>: Return bool.
884 * extension.h (ext_lang_auto_load_enabled): Return bool, move
886 * extension.c (ext_lang_auto_load_enabled): Return bool, move
888 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
890 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
891 move comment to header.
892 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
894 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
895 move comment to header.
897 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
899 * auto-load.h (file_is_auto_load_safe): Change return type to
900 bool, move comment here.
901 * auto-load.c (file_is_auto_load_safe): Change return type and
902 advice_printed to bool. Move comment to header.
904 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
906 * jit.c (jit_debug_printf): New, use throughout file.
908 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
910 * infrun.c (normal_stop): Fix indentation.
912 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
914 * top.h (readnow_symbol_files, readnever_symbol_files): Move
916 * symfile.h: ... here.
917 * symfile.c: Update doc.
919 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
921 * target.h (baud_rate, serial_parity): Move declarations...
922 * serial.h: ... here.
923 * main.c: Include serial.h.
924 * serial.c (baud_rate, serial_parity): Update doc.
926 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
928 * top.c (pre_init_ui_hook): Remove.
930 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
932 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
933 (aarch64_vnv_type): Add "bf" type in h field of v registers.
934 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
935 * features/aarch64-fpu.xml: Add bfloat16 type.
937 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
939 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
941 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
943 * f-exp.y (dot_ops): Rename to...
944 (fortran_operators): ...this. Add a header comment. Add symbol
946 (yylex): Update to use fortran_operators not dot_ops. Remove
947 special handling for '**', this is now included in
950 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
952 * arch/aarch64-insn.h (aarch64_debug_printf): New.
953 * arch/aarch64-insn.c: Use aarch64_debug_printf.
954 * aarch64-tdep.c: Use aarch64_debug_printf.
956 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
958 * solib-aix.c (solib_aix_debug_printf): New, use throughout
961 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
963 * jit.c (jit_debug): Change type to bool.
964 (_initialize_jit): Adjust.
966 2021-01-09 Tom Tromey <tom@tromey.com>
969 * compile/compile.c (compile_to_object): Avoid crash when
970 osabi_triplet_regexp returns NULL.
972 2021-01-09 Tom Tromey <tom@tromey.com>
974 * tracepoint.h (class collection_list) <append_exp>: Take a
976 * tracepoint.c (collection_list::append_exp): Take a std::string.
977 (encode_actions_1): Update.
979 2021-01-08 Tom Tromey <tromey@adacore.com>
981 * parse.c (parse_expression): Add void_context_p parameter. Use
982 parse_exp_in_context.
983 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
985 (print_command, call_command): Update.
986 * expression.h (parse_expression): Add void_context_p parameter.
988 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
990 * value.c (set_value_component_location): Adjust the VALUE_LVAL
991 for internalvar components that have a dynamic location.
993 2021-01-08 Tom de Vries <tdevries@suse.de>
996 * breakpoint.c (create_exception_master_breakpoint_probe)
997 (create_exception_master_breakpoint_hook): Factor out
999 (create_exception_master_breakpoint): ... here. Only try to install
1000 the master exception breakpoint in objfile.debug using the
1001 _Unwind_DebugHook method, if the install using probes in objfile
1004 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1006 * f-lang.c (fortran_value_subarray): Call value_from_component.
1008 2021-01-07 Mike Frysinger <vapier@gentoo.org>
1010 * remote-sim.c: Include memory-map.h.
1011 (gdbsim_target): Define memory_map override.
1012 (gdbsim_target::memory_map): Define.
1014 2021-01-07 Tom Tromey <tromey@adacore.com>
1016 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
1018 2021-01-07 Tom Tromey <tromey@adacore.com>
1020 * ada-lang.c (add_component_interval): Start loop using vector's
1023 2021-01-06 Tom Tromey <tromey@adacore.com>
1025 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
1027 * valarith.c (fixed_point_binop): Handle multiplication
1028 and division specially.
1029 * valops.c (value_to_gdb_mpq): New function.
1030 (value_cast_to_fixed_point): Use it.
1032 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1034 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1035 Call wnoutrefresh instead of tui_win_info::refresh_window.
1037 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1039 * tui/tui-source.c (tui_source_window::show_line_number):
1040 Redraw second space after line number.
1042 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1045 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1046 Fix source pad size in prefresh.
1047 (tui_source_window_base::show_source_content): Grow source pad
1050 2021-01-04 Mike Frysinger <vapier@gentoo.org>
1052 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
1053 (bfin_frame_align): Use align_down.
1055 2021-01-04 Tom de Vries <tdevries@suse.de>
1057 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
1058 terminators that do not terminate anything.
1060 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1062 * debug.c (debug_print_depth): New.
1063 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
1064 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
1065 * infrun.c (start_step_over): Use
1066 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1067 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
1068 INFRUN_SCOPED_DEBUG_START_END.
1069 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1071 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1073 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
1075 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1077 * utils.c (vfprintf_unfiltered): Print timestamp only when
1078 previous debug output ended with a newline.
1080 2021-01-04 Luis Machado <luis.machado@linaro.org>
1082 Update all users of trad_frame_saved_reg to use the new member
1085 Remote all struct keywords from declarations of trad_frame_saved_reg
1086 types, except on forward declarations.
1088 * aarch64-tdep.c: Update.
1089 * alpha-mdebug-tdep.c: Update.
1090 * alpha-tdep.c: Update.
1091 * arc-tdep.c: Update.
1092 * arm-tdep.c: Update.
1093 * avr-tdep.c: Update.
1094 * cris-tdep.c: Update.
1095 * csky-tdep.c: Update.
1096 * frv-tdep.c: Update.
1097 * hppa-linux-tdep.c: Update.
1098 * hppa-tdep.c: Update.
1099 * hppa-tdep.h: Update.
1100 * lm32-tdep.c: Update.
1101 * m32r-linux-tdep.c: Update.
1102 * m32r-tdep.c: Update.
1103 * m68hc11-tdep.c: Update.
1104 * mips-tdep.c: Update.
1105 * moxie-tdep.c: Update.
1106 * riscv-tdep.c: Update.
1107 * rs6000-tdep.c: Update.
1108 * s390-linux-tdep.c: Update.
1109 * s390-tdep.c: Update.
1110 * score-tdep.c: Update.
1111 * sparc-netbsd-tdep.c: Update.
1112 * sparc-sol2-tdep.c: Update.
1113 * sparc64-fbsd-tdep.c: Update.
1114 * sparc64-netbsd-tdep.c: Update.
1115 * sparc64-obsd-tdep.c: Update.
1116 * sparc64-sol2-tdep.c: Update.
1117 * tilegx-tdep.c: Update.
1118 * v850-tdep.c: Update.
1119 * vax-tdep.c: Update.
1121 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
1122 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
1124 * trad-frame.c: Update.
1125 Remove TF_REG_* enum.
1126 (trad_frame_alloc_saved_regs): Add a static assertion to check for
1127 a trivially-constructible struct.
1128 (trad_frame_reset_saved_regs): Adjust to use member function.
1129 (trad_frame_value_p): Likewise.
1130 (trad_frame_addr_p): Likewise.
1131 (trad_frame_realreg_p): Likewise.
1132 (trad_frame_value_bytes_p): Likewise.
1133 (trad_frame_set_value): Likewise.
1134 (trad_frame_set_realreg): Likewise.
1135 (trad_frame_set_addr): Likewise.
1136 (trad_frame_set_unknown): Likewise.
1137 (trad_frame_set_value_bytes): Likewise.
1138 (trad_frame_get_prev_register): Likewise.
1139 * trad-frame.h: Update.
1140 (trad_frame_saved_reg_kind): New enum.
1141 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
1142 <m_kind, m_reg>: New member fields.
1143 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
1144 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
1145 <is_addr, is_unknown, is_value_bytes>: New member functions.
1147 2021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
1149 * target-float.c: Fix typos.
1151 2021-01-02 Hannes Domani <ssbssa@yahoo.de>
1153 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
1155 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1157 * gdbarch.sh: Update copyright year range.
1159 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1161 Update copyright year range in copyright header of all GDB files.
1163 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1165 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
1166 to the list of directories to update.
1168 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1170 * top.c (print_gdb_version): Update copyright year.
1172 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1174 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
1176 For older changes see ChangeLog-2020.
1182 version-control: never