1 2021-02-05 Simon Marchi <simon.marchi@polymtl.ca>
3 * symmisc.c (std_in, std_out, std_err): Remove.
4 (_initialize_symmisc): Don't set std_in, std_out and std_err.
6 2021-02-05 Tom de Vries <tdevries@suse.de>
9 * breakpoint.c (create_exception_master_breakpoint): Handle case that
10 glibc object file has debug info.
12 2021-02-05 Tom de Vries <tdevries@suse.de>
15 * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit.
17 2021-02-05 Tom de Vries <tdevries@suse.de>
20 * break-catch-syscall.c (catch_syscall_split_args): Reject negative
23 2021-02-05 Tom Tromey <tom@tromey.com>
25 * compile/compile-c-support.c (get_compile_context)
26 (c_get_compile_context, cplus_get_compile_context): Change return
28 * language.c (language_defn::get_compile_instance): New method.
29 * language.h (language_defn::get_compile_instance): Change return
30 type. No longer inline.
31 * c-lang.c (c_language::get_compile_instance): Change return type.
32 (cplus_language::get_compile_instance): Change return type.
33 * c-lang.h (c_get_compile_context, cplus_get_compile_context):
35 * compile/compile.c (compile_to_object): Update.
37 2021-02-05 Tom Tromey <tom@tromey.com>
39 * parser-defs.h (write_exp_symbol_reference): Declare.
40 * parse.c (write_exp_symbol_reference): New function.
41 * p-exp.y (variable): Use write_exp_symbol_reference.
42 * m2-exp.y (variable): Use write_exp_symbol_reference.
43 * f-exp.y (variable): Use write_exp_symbol_reference.
44 * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference.
45 * c-exp.y (variable): Use write_exp_symbol_reference.
47 2021-02-05 Tom de Vries <tdevries@suse.de>
50 * valarith.c (complex_binop): Throw an error if complex type can't
53 2021-02-05 Tom de Vries <tdevries@suse.de>
56 * dwarf2/read.c (create_cus_from_debug_names_list): Add missing
59 2021-02-05 Tom de Vries <tdevries@suse.de>
61 * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
63 2021-02-04 Mike Frysinger <vapier@gentoo.org>
65 * configure.tgt (riscv*-*-*): Set gdb_sim.
67 2021-02-04 Simon Marchi <simon.marchi@polymtl.ca>
69 * target.c (target_is_non_stop_p): Return bool.
70 * target.h (target_is_non_stop_p): Return bool.
72 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
74 * record-full.c (record_full_async_inferior_event_handler):
75 Don't clear async event handler.
76 (record_full_base_target::wait): Clear async event handler at
79 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
81 * record-btrace.c (record_btrace_handle_async_inferior_event):
82 Don't clear async event handler.
83 (record_btrace_target::wait): Clear async event handler at
86 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
88 * remote.c (remote_target::wait): Clear async event handler at
89 beginning, mark if needed at the end.
90 (remote_async_inferior_event_handler): Don't set or clear async
93 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
95 * async-event.h (async_event_handler_func): Add documentation.
96 * async-event.c (check_async_event_handlers): Don't clear
97 async_event_handler ready flag.
98 * infrun.c (infrun_async_inferior_event_handler): Clear ready
100 * record-btrace.c (record_btrace_handle_async_inferior_event):
102 * record-full.c (record_full_async_inferior_event_handler):
104 * remote-notif.c (remote_async_get_pending_events_handler):
106 * remote.c (remote_async_inferior_event_handler): Likewise.
108 2021-02-03 Simon Marchi <simon.marchi@polymtl.ca>
110 * infrun.c (handle_inferior_event): Move stop_soon variable to
113 2021-02-03 Pedro Alves <pedro@palves.net>
115 * infcmd.c (detach_command): Hold strong reference to target, and
116 if all-stop on entry, restart threads on exit.
117 * infrun.c (switch_back_to_stepped_thread): Factor out bits to ...
118 (restart_stepped_thread): ... this new function. Also handle
120 (restart_after_all_stop_detach): New function.
121 * infrun.h (restart_after_all_stop_detach): Declare.
123 2021-02-03 Pedro Alves <pedro@palves.net>
125 * infrun.c (struct step_over_info): Initialize fields.
126 (prepare_for_detach): Handle ongoing in-line step over.
128 2021-02-03 Pedro Alves <pedro@palves.net>
130 * linux-nat.c (linux_nat_target::detach): Remove breakpoints
132 * remote.c (remote_target::remote_detach_1): ... and here ...
133 * target.c (target_detach): ... instead of here.
134 * target.h (target_ops::detach): Add comment.
136 2021-02-03 Pedro Alves <pedro@palves.net>
138 * infrun.c (struct wait_one_event): Move higher up.
139 (prepare_for_detach): Abort in-progress displaced steps instead of
140 letting them complete.
141 (handle_one): If the inferior is detaching, don't add the thread
142 back to the global step-over chain.
143 (restart_threads): Don't restart threads if detaching.
144 (handle_signal_stop): Remove inferior::detaching reference.
146 2021-02-03 Pedro Alves <pedro@palves.net>
148 * infrun.c (prepare_for_detach): Don't release scoped_restore
151 2021-02-03 Pedro Alves <pedro@palves.net>
153 * infrun.c (handle_one): New function, factored out from ...
154 (stop_all_threads): ... here.
156 2021-02-03 Pedro Alves <pedro@palves.net>
158 * remote.c (remote_notif_stop_ack): Don't error out on
159 TARGET_WAITKIND_IGNORE; instead, just ignore the notification.
160 (remote_target::discard_pending_stop_replies): Don't delete
161 in-flight notification; instead, clear its contents.
163 2021-02-03 Pedro Alves <pedro@palves.net>
165 * remote.c (extended_remote_target::attach): Set target async in
166 the target-non-stop path too.
168 2021-02-03 Pedro Alves <pedro@palves.net>
171 * infrun.c (handle_signal_stop): Move main context_switch call
172 earlier, before STOP_QUIETLY_NO_SIGSTOP.
174 2021-02-02 Lancelot SIX <lsix@lancelotsix.com>
176 * NEWS (Changed commands): Add entry for the behavior change of
177 the inferior command.
178 * inferior.c (inferior_command): When no argument is given to the
179 inferior command, display info about the currently selected
182 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
184 * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return
186 (read_attribute_reprocess): Adjust.
188 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
190 * dwarf2/die.h (struct die_info) <ranges_base>: Split in...
191 <gnu_ranges_base>: ... this...
192 <rnglists_base>: ... and this.
193 * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in...
194 <gnu_ranges_base>: ... this...
195 <rnglists_base>: ... and this.
196 (read_cutu_die_from_dwo): Adjust
197 (dwarf2_get_pc_bounds): Adjust
198 (dwarf2_record_block_ranges): Adjust.
199 (read_full_die_1): Adjust
200 (partial_die_info::read): Adjust.
201 (read_rnglist_index): Adjust.
203 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
206 * dwarf2/read.c (read_loclists_rnglists_header): Add
207 header_offset parameter and use it.
208 (read_loclist_index): Read header of the current contribution,
209 not the one at the beginning of the section.
210 (read_rnglist_index): Likewise.
212 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
215 * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear
216 requires_reprocessing flag.
217 * dwarf2/attribute.c (attribute::form_is_unsigned): Handle
219 (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx
220 and DW_FORM_loclistx.
221 * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned
222 instead of set_address for DW_FORM_loclistx and
225 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
227 * dwarf2/read.c (read_loclist_index): Remove bound check for
229 (read_rnglist_index): Likewise.
231 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
233 * dwarf2/read.c (read_loclist_index): Add bound check for the end
236 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
238 * dwarf2/read.c (read_rnglist_index): Fix bound check.
240 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
242 * dwarf2/read.c (read_loclist_index): Change complaints into
245 2021-02-02 Tom de Vries <tdevries@suse.de>
248 * dwarf2/index-write.c (write_one_signatured_type): Skip if
251 2021-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
253 * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h.
254 * gcore.c (struct gcore_collect_regset_section_cb_data): Moved
255 here from linux-tdep.c and given a new name. Minor cleanups.
256 (gcore_collect_regset_section_cb): Likewise.
257 (gcore_collect_thread_registers): Likewise.
258 (gcore_build_thread_register_notes): Likewise.
259 (gcore_find_signalled_thread): Likewise.
260 * gcore.h (gcore_build_thread_register_notes): Declare.
261 (gcore_find_signalled_thread): Declare.
262 * fbsd-tdep.c: Add 'gcore.h' include.
263 (struct fbsd_collect_regset_section_cb_data): Delete.
264 (fbsd_collect_regset_section_cb): Delete.
265 (fbsd_collect_thread_registers): Delete.
266 (struct fbsd_corefile_thread_data): Delete.
267 (fbsd_corefile_thread): Delete.
268 (fbsd_make_corefile_notes): Call
269 gcore_build_thread_register_notes instead of the now deleted
271 * linux-tdep.c: Add 'gcore.h' include.
272 (struct linux_collect_regset_section_cb_data): Delete.
273 (linux_collect_regset_section_cb): Delete.
274 (linux_collect_thread_registers): Delete.
275 (linux_corefile_thread): Call
276 gcore_build_thread_register_notes.
277 (find_signalled_thread): Delete.
278 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
280 2021-01-29 Tom de Vries <tdevries@suse.de>
283 * infrun.c (process_event_stop_test): Reset
284 ecs->event_thread->current_line to 0 if is-stmt=n and frame has
287 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
289 * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an
290 assert. Extend the header comment.
292 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
294 * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c.
295 (HFILES_NO_SRCDIR): Add tui/tui-location.h.
296 * tui/tui-data.h (TUI_STATUS_WIN): Define.
297 (tui_locator_win_info_ptr): Delete declaration.
298 * tui/tui-disasm.c: Add 'tui/tui-location.h' include.
299 (tui_disasm_window::set_contents): Fetch state from tui_location
301 (tui_get_begin_asm_address): Likewise.
302 * tui/tui-layout.c (tui_apply_current_layout): Remove special case
304 (get_locator_window): Delete.
305 (initialize_known_windows): Treat locator window just like all the
307 * tui/tui-source.c: Add 'tui/tui-location.h' include.
308 (tui_source_window::set_contents): Fetch state from tui_location
310 (tui_source_window::showing_source_p): Likewise.
311 * tui/tui-stack.c: Add 'tui/tui-location.h' include.
313 (tui_locator_win_info_ptr): Delete.
314 (tui_locator_window::make_status_line): Fetch state from
316 (tui_locator_window::rerender): Remove check of 'handle',
317 reindent function body.
318 (tui_locator_window::set_locator_fullname): Delete.
319 (tui_locator_window::set_locator_info): Delete.
320 (tui_update_locator_fullname): Delete.
321 (tui_show_frame_info): Likewise.
322 (tui_show_locator_content): Access window through TUI_STATUS_WIN.
323 * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to
324 tui/tui-location.h and renamed to
325 tui_location_tracker::set_location.
326 (tui_locator_window::set_locator_fullname): Moved to
327 tui/tui-location.h and renamed to
328 tui_location_tracker::set_fullname.
329 (tui_locator_window::full_name): Delete.
330 (tui_locator_window::proc_name): Delete.
331 (tui_locator_window::line_no): Delete.
332 (tui_locator_window::addr): Delete.
333 (tui_locator_window::gdbarch): Delete.
334 (tui_update_locator_fullname): Delete declaration.
335 * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling
337 * tui/tui-winsource.c: Add 'tui/tui-location.h' include.
338 (tui_display_main): Call function on tui_location directly.
339 * tui/tui.h (enum tui_win_type): Add STATUS_WIN.
340 * tui/tui-location.c: New file.
341 * tui/tui-location.h: New file.
343 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
345 * gdbtypes.h (get_type_arch): Rename to...
346 (struct type) <arch>: ... this, update all users.
348 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
350 * gdbtypes.h (struct type) <arch>: Rename to...
351 <arch_owner>: ... this, update all users.
352 <objfile>: Rename to...
353 <objfile_owner>: ... this, update all users.
355 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
357 * gdbcmd.h (execute_command_to_string): Update comment.
358 * top.c (execute_command_to_string): Update header comment.
360 2021-01-28 Tom de Vries <tdevries@suse.de>
363 * breakpoint.c (create_longjmp_master_breakpoint_probe)
364 (create_longjmp_master_breakpoint_names): New function, factored out
366 (create_longjmp_master_breakpoint): ... here. Only try to install
367 longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
368 breakpoint in libc.so failed.
370 2021-01-27 Lancelot SIX <lsix@lancelotsix.com>
373 * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
374 unique_ptr is released when the wrapped pointer is kept for later
377 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
379 * aarch64-tdep.c (aarch64_displaced_step_others): Account for
380 BLR and BR instructions.
381 * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
382 (enum aarch64_masks): New.
384 2021-01-26 Tom Tromey <tromey@adacore.com>
386 * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
387 (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
388 (windows_init_thread_list, windows_nat::handle_load_dll)
389 (windows_nat::handle_unload_dll, windows_nat_target::resume)
390 (windows_nat_target::resume)
391 (windows_nat_target::get_windows_debug_event)
392 (windows_nat_target::interrupt, windows_xfer_memory)
393 (windows_nat_target::close): Update.
394 * nat/windows-nat.c (DEBUG_EVENTS): Use
395 debug_prefixed_printf_cond.
396 (matching_pending_stop, fetch_pending_stop)
397 (continue_last_debug_event): Update.
399 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
401 * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
402 elfcore_write_file_note.
404 2021-01-26 Shahab Vahedi <shahab@synopsys.com>
406 * arc-tdep.c (arc_add_reggroups): New function.
407 (arc_gdbarch_init): Call arc_add_reggroups.
409 2021-01-26 Anton Kolesov <anton.kolesov@synopsys.com>
411 * arc-tdep.c (arc_skip_prologue): Log "pc" address.
413 2021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
414 Simon Marchi <simon.marchi@polymtl.ca>
415 Tom de Vries <tdevries@suse.de>
417 * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
420 2021-01-25 Tom Tromey <tromey@adacore.com>
422 * dwarf2/read.c (get_mpz): New function.
423 (get_dwarf2_rational_constant): Use it.
425 2021-01-25 Tom Tromey <tromey@adacore.com>
427 * ada-lang.c (resolve_subexp): Handle array context.
429 2021-01-23 Tom Tromey <tom@tromey.com>
432 * compile/compile-loc2c.c (note_register): New function.
433 (pushf_register_address, pushf_register): Use it.
435 2021-01-23 Tom Tromey <tom@tromey.com>
437 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
438 Change type of "registers_used".
439 * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
440 * dwarf2/loc.c (dwarf2_compile_property_to_c)
441 (locexpr_generate_c_location, loclist_generate_c_location): Change
442 type of "registers_used".
443 * compile/compile.h (compile_dwarf_expr_to_c)
444 (compile_dwarf_bounds_to_c): Update.
445 * compile/compile-loc2c.c (pushf_register_address)
446 (pushf_register, do_compile_dwarf_expr_to_c)
447 (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
449 * compile/compile-c.h (generate_c_for_variable_locations):
451 * compile/compile-c-symbols.c (generate_vla_size)
452 (generate_c_for_for_one_variable): Change type of
454 (generate_c_for_variable_locations): Return std::vector.
455 * compile/compile-c-support.c (generate_register_struct): Change
456 type of "registers_used".
459 2021-01-23 Tom Tromey <tom@tromey.com>
461 * compile/compile-internal.h (class compile_instance)
462 <set_arguments>: Change return type.
463 * compile/compile.c (compile_to_object): Remove call to reset.
464 (compile_instance::set_arguments): Change return type.
466 2021-01-23 Simon Marchi <simon.marchi@polymtl.ca>
468 * gdbtypes.c (copy_type_recursive): Use get_type_arch.
469 * gdbtypes.h (struct type) <set_owner>: Add asserts.
471 2021-01-23 Lancelot SIX <lsix@lancelotsix.com>
473 * Makefile.in (SELFTESTS_SRCS): Add
474 unittests/gdb_tilde_expand-selftests.c.
475 * unittests/gdb_tilde_expand-selftests.c: New file.
477 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
480 * NEWS: Mention new command.
481 * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
482 (version_style): Define.
483 (cli_style_option::cli_style_option): Add intensity parameter, and
485 (_initialize_cli_style): Register version style set/show commands.
486 * cli/cli-style.h (cli_style_option): Add intensity parameter.
487 (version_style): Declare.
488 * top.c (print_gdb_version): Use version_stype, and styled_string
489 to print the GDB version string.
491 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
493 * utils.c (emit_style_escape): Only emit an escape sequence if the
494 requested style is different than the current applied style.
495 (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
496 current applied_style.
497 (fputs_styled): Remove is_default check.
498 (fputs_styled_unfiltered): Likewise.
499 (vfprintf_styled_no_gdbfmt): Likewise.
501 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
503 * remote.h (remote_debug_printf): New.
504 (remote_debug_printf_nofunc): New.
505 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
506 * remote.c: Use above macros throughout file.
508 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
510 * remote.h (remote_debug): Change to bool.
511 * remote.c (remote_debug): Change to bool.
512 (_initialize_remote): Adjust.
514 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
516 * target.h (remote_debug): Move to...
517 * remote.h (remote_debug): ... here.
518 * top.c (remote_debug): Move to...
519 * remote.c (remote_debug): ... here.
520 * remote-sim.c: Include remote.h.
522 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
524 * cli/cli-cmds.c (show_remote_debug): Remove.
525 (show_remote_timeout): Remove.
526 (_initialize_cli_cmds): Don't register commands.
527 * remote.c (show_remote_debug): Move here.
528 (show_remote_timeout): Move here.
529 (_initialize_remote): Register commands.
531 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
533 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
534 type::objfile method instead.
536 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
538 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
539 use the type::is_objfile_owned method.
541 2021-01-22 Simon Marchi <simon.marchi@efficios.com>
543 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
544 (TYPE_OWNER): Remove.
545 (TYPE_OBJFILE): Adjust.
546 (struct main_type) <flag_objfile_owned>: Rename to...
547 <m_flag_objfile_owned>: ... this.
548 <owner>: Rename to...
550 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
552 (TYPE_ALLOC): Adjust.
553 * gdbtypes.c (alloc_type): Adjust.
554 (alloc_type_arch): Adjust.
555 (alloc_type_copy): Adjust.
556 (get_type_arch): Adjust.
557 (smash_type): Adjust.
558 (lookup_array_range_type): Adjust.
559 (recursive_dump_type): Adjust.
560 (copy_type_recursive): Adjust.
561 * compile/compile-c-types.c (convert_func): Adjust.
562 (convert_type_basic): Adjust.
563 * compile/compile-cplus-types.c (compile_cplus_convert_func):
566 (language_arch_info::type_and_symbol::alloc_type_symbol):
569 2021-01-21 Luis Machado <luis.machado@linaro.org>
571 * coffread.c (enter_linenos): Passing string to complaint.
572 * valops.c (value_assign): Make array view.
574 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
576 * auto-load.h (debug_auto_load): Move here.
577 (auto_load_debug_printf): New.
578 * auto-load.c: Use auto_load_debug_printf.
579 (debug_auto_load): Move to header.
580 * linux-thread-db.c (try_thread_db_load): Use
581 auto_load_debug_printf.
582 * main.c (captured_main_1): Likewise.
584 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
586 * f-valprint.c (f77_array_offset_tbl): Remove.
588 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
590 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
592 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
594 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
597 2021-01-21 Hannes Domani <ssbssa@yahoo.de>
600 * python/py-breakpoint.c (bppy_get_location): Handle
601 bp_hardware_breakpoint.
602 (bppy_init): Likewise.
603 (gdbpy_breakpoint_created): Likewise.
605 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
607 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
609 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
611 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
612 (_initialize_gdb_bfd): Adjust.
614 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
617 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
619 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
621 * dwarf2/read.c (follow_die_offset): Add logging.
622 (dwarf2_per_objfile::age_comp_units): Add logging.
624 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
626 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
627 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
628 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
629 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
630 * arm-tdep.c (struct frame_unwind): Make static.
631 * auto-load.c (auto_load_safe_path_vec): Make static.
632 * csky-tdep.c (csky_stub_unwind): Make static.
633 * gdbarch.c (gdbarch_data_registry): Make static.
634 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
635 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
636 * i386-tdep.c (i386_frame_setup_skip_insns,
637 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
639 * infrun.c (observer_mode): Make static.
640 * linux-nat.c (sigchld_action): Make static.
641 * linux-thread-db.c (thread_db_list): Make static.
642 * maint-test-options.c (maintenance_test_options_list):
643 * mep-tdep.c (mep_csr_registers): Make static.
644 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
645 (stats): Make static.
646 * nat/linux-osdata.c (struct osdata_type): Make static.
647 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
648 * progspace.c (last_program_space_num): Make static.
649 * python/py-param.c (struct parm_constant): Remove struct type
651 (parm_constants): Make static.
652 * python/py-record-btrace.c (btpy_list_methods): Make static.
653 * python/py-record.c (recpy_gap_type): Make static.
654 * record.c (record_goto_cmdlist): Make static.
655 * regcache.c (regcache_descr_handle): Make static.
656 * registry.h (DEFINE_REGISTRY): Make definition static.
657 * symmisc.c (std_in, std_out, std_err): Make static.
658 * top.c (previous_saved_command_line): Make static.
659 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
661 * unittests/command-def-selftests.c (nr_duplicates,
662 nr_invalid_prefixcmd, lists): Make static.
663 * unittests/observable-selftests.c (test_notification): Make
665 * unittests/optional/assignment/1.cc (counter): Make static.
666 * unittests/optional/assignment/2.cc (counter): Make static.
667 * unittests/optional/assignment/3.cc (counter): Make static.
668 * unittests/optional/assignment/4.cc (counter): Make static.
669 * unittests/optional/assignment/5.cc (counter): Make static.
670 * unittests/optional/assignment/6.cc (counter): Make static.
672 2021-01-20 Joel Sherrill <joel@rtems.org>
675 * remote.c (struct remote_thread_info) <resume_state>: Rename
677 <get_resume_state>: ... this.
678 (remote_target::resume): Adjust.
679 (remote_target::commit_resume): Adjust.
680 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
682 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
683 Tom Tromey <tom@tromey.com>
685 * stap-probe.c (stap_parse_single_operand): Handle '!'
687 (stap_parse_argument_conditionally): Likewise.
688 Skip spaces after processing open-parenthesis sub-expression.
689 (stap_parse_argument_1): Skip spaces after call to
690 stap_parse_argument_conditionally.
691 Handle case when right-side expression is a parenthesized
693 Skip spaces after call to stap_parse_argument_1.
695 2021-01-19 Lancelot SIX <lsix@lancelotsix.com>
697 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
699 2021-01-19 Luis Machado <luis.machado@linaro.org>
701 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
702 memory and save data.
703 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
704 (trad_frame_set_unknown, trad_frame_set_value_bytes)
705 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
706 (trad_frame_value_bytes_p): Remove.
707 (trad_frame_reset_saved_regs): Adjust documentation.
708 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
709 constructor and reset the state of the registers.
710 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
711 (trad_frame_value_bytes_p, trad_frame_set_value)
712 (trad_frame_set_realreg, trad_frame_set_addr)
713 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
714 (trad_frame_set_reg_realreg): Update to call member function.
715 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
716 (trad_frame_get_prev_register): Likewise.
718 * aarch64-tdep.c (aarch64_analyze_prologue)
719 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
720 (aarch64_prologue_prev_register): Update to use member functions.
721 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
722 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
723 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
724 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
725 (arm_make_epilogue_frame_cache): Likewise.
726 * avr-tdep.c (avr_frame_unwind_cache)
727 (avr_frame_prev_register): Likewise.
728 * cris-tdep.c (cris_scan_prologue): Likewise.
729 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
730 * frv-tdep.c (frv_analyze_prologue): Likewise.
731 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
732 * lm32-tdep.c (lm32_frame_cache): Likewise.
733 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
734 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
735 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
736 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
737 (reset_saved_regs): Adjust to set realreg.
738 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
739 call member functions.
740 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
741 * s390-tdep.c (s390_prologue_frame_unwind_cache)
742 (s390_backchain_frame_unwind_cache): Likewise.
743 * score-tdep.c (score7_analyze_prologue)
744 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
745 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
746 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
747 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
748 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
749 * tilegx-tdep.c (tilegx_analyze_prologue)
750 (tilegx_frame_cache): Likewise.
751 * v850-tdep.c (v850_frame_cache): Likewise.
752 * vax-tdep.c (vax_frame_cache): Likewise.
754 2021-01-19 Luis Machado <luis.machado@linaro.org>
756 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
758 (put_frame_register_bytes): Likewise.
759 Adjust documentation.
760 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
761 (safe_frame_unwind_memory): Likewise.
762 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
763 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
765 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
766 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
767 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
768 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
769 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
770 * dwarf2/loc.c (rw_pieced_value): Likewise.
771 * hppa-tdep.c (hppa_frame_cache): Likewise.
772 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
773 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
774 * i386-linux-tdep.c (i386_linux_sigtramp_start)
775 (i386_linux_rt_sigtramp_start): Likewise.
776 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
777 * i386-tdep.c (i386_register_to_value): Likewise.
778 * i387-tdep.c (i387_register_to_value): Likewise.
779 * ia64-tdep.c (ia64_register_to_value): Likewise.
780 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
781 (m32r_linux_rt_sigtramp_start): Likewise.
782 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
783 * m68k-tdep.c (m68k_register_to_value): Likewise.
784 * mips-tdep.c (mips_register_to_value)
785 (mips_value_to_register): Likewise.
786 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
787 (ppcfbsd_sigtramp_frame_cache): Likewise.
788 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
789 (ppcobsd_sigtramp_frame_cache): Likewise.
790 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
791 (rs6000_register_to_value): Likewise.
792 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
793 * tramp-frame.c (tramp_frame_start): Likewise.
794 * valops.c (value_assign): Likewise.
796 2021-01-19 Luis Machado <luis.machado@linaro.org>
798 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
800 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
801 instead of buffer and size.
802 (trad_frame_set_reg_value_bytes): Likewise.
803 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
804 (trad_frame_set_value_bytes): Likewise.
806 2021-01-18 Mike Frysinger <vapier@gentoo.org>
808 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
810 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
812 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
813 (riscv_fbsd_gregset): Use riscv_supply_regset.
814 (riscv_fbsd_fpregset): Likewise.
815 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
816 (riscv_linux_fregset): Likewise.
817 * riscv-tdep.c (riscv_supply_regset): Define new function.
818 * riscv-tdep.h (riscv_supply_regset): Declare new function.
820 2021-01-18 Tom de Vries <tdevries@suse.de>
823 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
825 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
828 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
830 * remote.c (class remote_target) <remote_hostio_send_command,
831 remote_hostio_parse_result>: Constify parameter.
832 (remote_hostio_parse_result): Likewise.
833 (remote_target::remote_hostio_send_command): Adjust.
834 (remote_target::remote_hostio_pread_vFile): Adjust.
835 (remote_target::fileio_readlink): Adjust.
836 (remote_target::fileio_fstat): Adjust.
838 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
840 * remote.c (remote_target::start_remote): Move wait_status to
843 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
845 * remote.c (class remote_target):
846 <add_current_inferior_and_thread>: Constify parameter.
847 (stop_reply_extract_thread): Likewise.
848 (remote_target::get_current_thread): Likewise.
849 (remote_target::add_current_inferior_and_thread): Likewise.
851 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
853 * remote.c (class remote_target)
854 <remote_unpack_thread_info_response,
855 parse_threadlist_response>: Constify parameter and/or return
856 value and or local variable.
857 (stub_unpack_int): Likewise.
858 (unpack_nibble): Likewise.
859 (unpack_byte): Likewise.
860 (unpack_int): Likewise.
861 (unpack_string): Likewise.
862 (unpack_threadid): Likewise.
863 (remote_target::remote_unpack_thread_info_response): Likewise.
864 (remote_target::parse_threadlist_response): Likewise.
866 2021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
868 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
870 2021-01-14 Lancelot Six <lsix@lancelotsix.com>
872 * MAINTAINERS (Write After Approval): Add myself.
874 2021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
876 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
877 because is_trivially_default_constructible was first implemented with
880 2021-01-14 Tom de Vries <tdevries@suse.de>
883 * objfiles.h (in_plt_section): Handle .plt.sec.
885 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
889 (remote_target::select_thread_for_ambiguous_stop_reply): New
891 (remote_target::process_stop_reply): Call
892 select_thread_for_ambiguous_stop_reply.
894 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
896 * record-btrace.c (class record_btrace_target): Remove.
897 (record_btrace_target::commit_resume): Remove.
898 * record-full.c (class record_full_target): Remove.
899 (record_full_target::commit_resume): Remove.
901 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
903 * remote.c (enum class resume_state): New.
904 (struct resumed_pending_vcont_info): New.
905 (struct remote_thread_info) <resume_state, set_not_resumed,
906 set_resumed_pending_vcont, resumed_pending_vcont_info,
907 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
909 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
910 (remote_target::remote_add_thread): Adjust.
911 (remote_target::process_initial_stop_replies): Adjust.
912 (remote_target::resume): Adjust.
913 (remote_target::commit_resume): Rely on state in
914 remote_thread_info and not on tp->executing.
915 (remote_target::process_stop_reply): Adjust.
917 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
919 * arc-tdep.h (arc_debug_printf): New.
920 * arc-tdep.c: Use arc_debug_printf.
921 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
922 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
923 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
925 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
927 * arc-tdep.h (arc_debug): Change type to bool.
928 * arc-tdep.c (arc_debug): Change type to bool.
929 (arc_analyze_prologue): Adjust.
930 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
931 * arc-linux-nat.c (ps_get_thread_area): Adjust.
933 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
935 * auto-load.c (auto_load_objfile_script_1): Use bool.
936 (execute_script_contents): Use bool.
938 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
940 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
942 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
944 * extension-priv.h (struct extension_language_script_ops)
945 <auto_load_enabled>: Return bool.
946 * extension.h (ext_lang_auto_load_enabled): Return bool, move
948 * extension.c (ext_lang_auto_load_enabled): Return bool, move
950 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
952 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
953 move comment to header.
954 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
956 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
957 move comment to header.
959 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
961 * auto-load.h (file_is_auto_load_safe): Change return type to
962 bool, move comment here.
963 * auto-load.c (file_is_auto_load_safe): Change return type and
964 advice_printed to bool. Move comment to header.
966 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
968 * jit.c (jit_debug_printf): New, use throughout file.
970 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
972 * infrun.c (normal_stop): Fix indentation.
974 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
976 * top.h (readnow_symbol_files, readnever_symbol_files): Move
978 * symfile.h: ... here.
979 * symfile.c: Update doc.
981 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
983 * target.h (baud_rate, serial_parity): Move declarations...
984 * serial.h: ... here.
985 * main.c: Include serial.h.
986 * serial.c (baud_rate, serial_parity): Update doc.
988 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
990 * top.c (pre_init_ui_hook): Remove.
992 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
994 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
995 (aarch64_vnv_type): Add "bf" type in h field of v registers.
996 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
997 * features/aarch64-fpu.xml: Add bfloat16 type.
999 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1001 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
1003 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1005 * f-exp.y (dot_ops): Rename to...
1006 (fortran_operators): ...this. Add a header comment. Add symbol
1008 (yylex): Update to use fortran_operators not dot_ops. Remove
1009 special handling for '**', this is now included in
1012 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1014 * arch/aarch64-insn.h (aarch64_debug_printf): New.
1015 * arch/aarch64-insn.c: Use aarch64_debug_printf.
1016 * aarch64-tdep.c: Use aarch64_debug_printf.
1018 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1020 * solib-aix.c (solib_aix_debug_printf): New, use throughout
1023 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1025 * jit.c (jit_debug): Change type to bool.
1026 (_initialize_jit): Adjust.
1028 2021-01-09 Tom Tromey <tom@tromey.com>
1031 * compile/compile.c (compile_to_object): Avoid crash when
1032 osabi_triplet_regexp returns NULL.
1034 2021-01-09 Tom Tromey <tom@tromey.com>
1036 * tracepoint.h (class collection_list) <append_exp>: Take a
1038 * tracepoint.c (collection_list::append_exp): Take a std::string.
1039 (encode_actions_1): Update.
1041 2021-01-08 Tom Tromey <tromey@adacore.com>
1043 * parse.c (parse_expression): Add void_context_p parameter. Use
1044 parse_exp_in_context.
1045 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
1047 (print_command, call_command): Update.
1048 * expression.h (parse_expression): Add void_context_p parameter.
1050 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1052 * value.c (set_value_component_location): Adjust the VALUE_LVAL
1053 for internalvar components that have a dynamic location.
1055 2021-01-08 Tom de Vries <tdevries@suse.de>
1058 * breakpoint.c (create_exception_master_breakpoint_probe)
1059 (create_exception_master_breakpoint_hook): Factor out
1061 (create_exception_master_breakpoint): ... here. Only try to install
1062 the master exception breakpoint in objfile.debug using the
1063 _Unwind_DebugHook method, if the install using probes in objfile
1066 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1068 * f-lang.c (fortran_value_subarray): Call value_from_component.
1070 2021-01-07 Mike Frysinger <vapier@gentoo.org>
1072 * remote-sim.c: Include memory-map.h.
1073 (gdbsim_target): Define memory_map override.
1074 (gdbsim_target::memory_map): Define.
1076 2021-01-07 Tom Tromey <tromey@adacore.com>
1078 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
1080 2021-01-07 Tom Tromey <tromey@adacore.com>
1082 * ada-lang.c (add_component_interval): Start loop using vector's
1085 2021-01-06 Tom Tromey <tromey@adacore.com>
1087 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
1089 * valarith.c (fixed_point_binop): Handle multiplication
1090 and division specially.
1091 * valops.c (value_to_gdb_mpq): New function.
1092 (value_cast_to_fixed_point): Use it.
1094 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1096 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1097 Call wnoutrefresh instead of tui_win_info::refresh_window.
1099 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1101 * tui/tui-source.c (tui_source_window::show_line_number):
1102 Redraw second space after line number.
1104 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1107 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1108 Fix source pad size in prefresh.
1109 (tui_source_window_base::show_source_content): Grow source pad
1112 2021-01-04 Mike Frysinger <vapier@gentoo.org>
1114 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
1115 (bfin_frame_align): Use align_down.
1117 2021-01-04 Tom de Vries <tdevries@suse.de>
1119 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
1120 terminators that do not terminate anything.
1122 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1124 * debug.c (debug_print_depth): New.
1125 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
1126 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
1127 * infrun.c (start_step_over): Use
1128 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1129 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
1130 INFRUN_SCOPED_DEBUG_START_END.
1131 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1133 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1135 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
1137 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1139 * utils.c (vfprintf_unfiltered): Print timestamp only when
1140 previous debug output ended with a newline.
1142 2021-01-04 Luis Machado <luis.machado@linaro.org>
1144 Update all users of trad_frame_saved_reg to use the new member
1147 Remote all struct keywords from declarations of trad_frame_saved_reg
1148 types, except on forward declarations.
1150 * aarch64-tdep.c: Update.
1151 * alpha-mdebug-tdep.c: Update.
1152 * alpha-tdep.c: Update.
1153 * arc-tdep.c: Update.
1154 * arm-tdep.c: Update.
1155 * avr-tdep.c: Update.
1156 * cris-tdep.c: Update.
1157 * csky-tdep.c: Update.
1158 * frv-tdep.c: Update.
1159 * hppa-linux-tdep.c: Update.
1160 * hppa-tdep.c: Update.
1161 * hppa-tdep.h: Update.
1162 * lm32-tdep.c: Update.
1163 * m32r-linux-tdep.c: Update.
1164 * m32r-tdep.c: Update.
1165 * m68hc11-tdep.c: Update.
1166 * mips-tdep.c: Update.
1167 * moxie-tdep.c: Update.
1168 * riscv-tdep.c: Update.
1169 * rs6000-tdep.c: Update.
1170 * s390-linux-tdep.c: Update.
1171 * s390-tdep.c: Update.
1172 * score-tdep.c: Update.
1173 * sparc-netbsd-tdep.c: Update.
1174 * sparc-sol2-tdep.c: Update.
1175 * sparc64-fbsd-tdep.c: Update.
1176 * sparc64-netbsd-tdep.c: Update.
1177 * sparc64-obsd-tdep.c: Update.
1178 * sparc64-sol2-tdep.c: Update.
1179 * tilegx-tdep.c: Update.
1180 * v850-tdep.c: Update.
1181 * vax-tdep.c: Update.
1183 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
1184 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
1186 * trad-frame.c: Update.
1187 Remove TF_REG_* enum.
1188 (trad_frame_alloc_saved_regs): Add a static assertion to check for
1189 a trivially-constructible struct.
1190 (trad_frame_reset_saved_regs): Adjust to use member function.
1191 (trad_frame_value_p): Likewise.
1192 (trad_frame_addr_p): Likewise.
1193 (trad_frame_realreg_p): Likewise.
1194 (trad_frame_value_bytes_p): Likewise.
1195 (trad_frame_set_value): Likewise.
1196 (trad_frame_set_realreg): Likewise.
1197 (trad_frame_set_addr): Likewise.
1198 (trad_frame_set_unknown): Likewise.
1199 (trad_frame_set_value_bytes): Likewise.
1200 (trad_frame_get_prev_register): Likewise.
1201 * trad-frame.h: Update.
1202 (trad_frame_saved_reg_kind): New enum.
1203 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
1204 <m_kind, m_reg>: New member fields.
1205 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
1206 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
1207 <is_addr, is_unknown, is_value_bytes>: New member functions.
1209 2021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
1211 * target-float.c: Fix typos.
1213 2021-01-02 Hannes Domani <ssbssa@yahoo.de>
1215 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
1217 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1219 * gdbarch.sh: Update copyright year range.
1221 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1223 Update copyright year range in copyright header of all GDB files.
1225 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1227 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
1228 to the list of directories to update.
1230 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1232 * top.c (print_gdb_version): Update copyright year.
1234 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1236 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
1238 For older changes see ChangeLog-2020.
1244 version-control: never