1 2021-02-09 Andrew Burgess <andrew.burgess@embecosm.com>
3 * gcore.c (struct gcore_collect_regset_section_cb_data): Delete.
4 (gcore_collect_regset_section_cb): Delete.
5 (gcore_collect_thread_registers): Delete.
6 (gcore_build_thread_register_notes): Delete.
7 (gcore_find_signalled_thread): Delete.
8 * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete
9 'gdbarch' and 'thread_info' declarations.
10 (gcore_build_thread_register_notes): Delete declaration.
11 (gcore_find_signalled_thread): Likewise.
12 * fbsd-tdep.c: Remove 'gcore.h' include.
13 (struct fbsd_collect_regset_section_cb_data): New struct.
14 (fbsd_collect_regset_section_cb): New function.
15 (fbsd_collect_thread_registers): New function.
16 (struct fbsd_corefile_thread_data): New struct.
17 (fbsd_corefile_thread): New function.
18 (fbsd_make_corefile_notes): Call FreeBSD specific code.
19 * linux-tdep.c: Remove 'gcore.h' include.
20 (struct linux_collect_regset_section_cb_data): New struct.
21 (linux_collect_regset_section_cb): New function.
22 (linux_collect_thread_registers): New function.
23 (linux_corefile_thread): Call Linux specific code.
24 (find_signalled_thread): New function.
25 (linux_make_corefile_notes): Call find_signalled_thread.
27 2021-02-09 Tom Tromey <tromey@adacore.com>
29 * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy
31 * value.c (value_contents_copy_raw): Now static.
32 * value.h (value_contents_copy_raw): Don't declare.
34 2021-02-09 Tom Tromey <tromey@adacore.com>
36 * gdbtypes.c (resolve_dynamic_struct): Handle structure with no
39 2021-02-08 Shahab Vahedi <shahab@synopsys.com>
42 * arc-linux-tdep.c (handle_atomic_sequence): New.
43 (arc_linux_software_single_step): Call handle_atomic_sequence().
45 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
47 * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member
49 (REQUIRE_WINDOW): Call is_valid member function.
50 (REQUIRE_WINDOW_FOR_SETTER): New define.
51 (gdbpy_tui_is_valid): Call is_valid member function.
52 (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead.
53 * tui/tui-data.h (struct tui_win_info) <is_visible>: Check
55 * tui/tui-layout.c (tui_apply_current_layout): Add an assert.
56 * tui/tui.c (tui_enable): Move setting of tui_active earlier in
59 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
61 * python/py-tui.c (gdbpy_tui_set_title): Check that the new value
62 for the title is not nullptr.
64 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
66 * tui-layout.c (saved_tui_windows): Delete.
67 (tui_apply_current_layout): Don't make use of saved_tui_windows,
68 call new get_windows member function instead.
69 (tui_get_window_by_name): Check in tui_windows.
70 (tui_layout_window::apply): Don't add to tui_windows.
71 * tui-layout.h (tui_layout_base::get_windows): New member function.
72 (tui_layout_window::get_windows): Likewise.
73 (tui_layout_split::get_windows): Likewise.
75 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
77 * tui/tui-layout.c (tui_apply_current_layout): Restore the delete
78 of the window objects.
80 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
82 * python/python.c (gdbpy_print_stack): Reformat an error message.
84 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
86 * tui/tui-interp.c (tui_command_line_handler): New function.
87 (tui_interp::resume): Register tui_command_line_handler as the
89 * tui/tui-io.c (tui_inject_newline_into_command_window): New
91 (tui_getc_1): Delete handling of '\n' and '\r'.
92 * tui-io.h (tui_inject_newline_into_command_window): Declare.
94 2021-02-07 Hannes Domani <ssbssa@yahoo.de>
96 * tui/tui-regs.c (tui_data_window::display_registers_from):
97 Mark invisible register sub windows.
98 (tui_data_window::check_register_values): Ignore invisible
101 2021-02-07 Hannes Domani <ssbssa@yahoo.de>
103 * tui/tui-regs.c (tui_data_item_window::rerender): Don't call
104 n_spaces with a negative value.
106 2021-02-07 Hannes Domani <ssbssa@yahoo.de>
108 * tui/tui-regs.c (tui_data_window::display_registers_from):
109 Add refresh_window call.
111 2021-02-07 Hannes Domani <ssbssa@yahoo.de>
113 * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next.
115 2021-02-05 Simon Marchi <simon.marchi@polymtl.ca>
117 * symmisc.c (std_in, std_out, std_err): Remove.
118 (_initialize_symmisc): Don't set std_in, std_out and std_err.
120 2021-02-05 Tom de Vries <tdevries@suse.de>
123 * breakpoint.c (create_exception_master_breakpoint): Handle case that
124 glibc object file has debug info.
126 2021-02-05 Tom de Vries <tdevries@suse.de>
129 * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit.
131 2021-02-05 Tom de Vries <tdevries@suse.de>
134 * break-catch-syscall.c (catch_syscall_split_args): Reject negative
137 2021-02-05 Tom Tromey <tom@tromey.com>
139 * compile/compile-c-support.c (get_compile_context)
140 (c_get_compile_context, cplus_get_compile_context): Change return
142 * language.c (language_defn::get_compile_instance): New method.
143 * language.h (language_defn::get_compile_instance): Change return
144 type. No longer inline.
145 * c-lang.c (c_language::get_compile_instance): Change return type.
146 (cplus_language::get_compile_instance): Change return type.
147 * c-lang.h (c_get_compile_context, cplus_get_compile_context):
149 * compile/compile.c (compile_to_object): Update.
151 2021-02-05 Tom Tromey <tom@tromey.com>
153 * parser-defs.h (write_exp_symbol_reference): Declare.
154 * parse.c (write_exp_symbol_reference): New function.
155 * p-exp.y (variable): Use write_exp_symbol_reference.
156 * m2-exp.y (variable): Use write_exp_symbol_reference.
157 * f-exp.y (variable): Use write_exp_symbol_reference.
158 * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference.
159 * c-exp.y (variable): Use write_exp_symbol_reference.
161 2021-02-05 Tom de Vries <tdevries@suse.de>
164 * valarith.c (complex_binop): Throw an error if complex type can't
167 2021-02-05 Tom de Vries <tdevries@suse.de>
170 * dwarf2/read.c (create_cus_from_debug_names_list): Add missing
173 2021-02-05 Tom de Vries <tdevries@suse.de>
175 * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
177 2021-02-04 Mike Frysinger <vapier@gentoo.org>
179 * configure.tgt (riscv*-*-*): Set gdb_sim.
181 2021-02-04 Simon Marchi <simon.marchi@polymtl.ca>
183 * target.c (target_is_non_stop_p): Return bool.
184 * target.h (target_is_non_stop_p): Return bool.
186 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
188 * record-full.c (record_full_async_inferior_event_handler):
189 Don't clear async event handler.
190 (record_full_base_target::wait): Clear async event handler at
193 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
195 * record-btrace.c (record_btrace_handle_async_inferior_event):
196 Don't clear async event handler.
197 (record_btrace_target::wait): Clear async event handler at
200 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
202 * remote.c (remote_target::wait): Clear async event handler at
203 beginning, mark if needed at the end.
204 (remote_async_inferior_event_handler): Don't set or clear async
207 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
209 * async-event.h (async_event_handler_func): Add documentation.
210 * async-event.c (check_async_event_handlers): Don't clear
211 async_event_handler ready flag.
212 * infrun.c (infrun_async_inferior_event_handler): Clear ready
214 * record-btrace.c (record_btrace_handle_async_inferior_event):
216 * record-full.c (record_full_async_inferior_event_handler):
218 * remote-notif.c (remote_async_get_pending_events_handler):
220 * remote.c (remote_async_inferior_event_handler): Likewise.
222 2021-02-03 Simon Marchi <simon.marchi@polymtl.ca>
224 * infrun.c (handle_inferior_event): Move stop_soon variable to
227 2021-02-03 Pedro Alves <pedro@palves.net>
229 * infcmd.c (detach_command): Hold strong reference to target, and
230 if all-stop on entry, restart threads on exit.
231 * infrun.c (switch_back_to_stepped_thread): Factor out bits to ...
232 (restart_stepped_thread): ... this new function. Also handle
234 (restart_after_all_stop_detach): New function.
235 * infrun.h (restart_after_all_stop_detach): Declare.
237 2021-02-03 Pedro Alves <pedro@palves.net>
239 * infrun.c (struct step_over_info): Initialize fields.
240 (prepare_for_detach): Handle ongoing in-line step over.
242 2021-02-03 Pedro Alves <pedro@palves.net>
244 * linux-nat.c (linux_nat_target::detach): Remove breakpoints
246 * remote.c (remote_target::remote_detach_1): ... and here ...
247 * target.c (target_detach): ... instead of here.
248 * target.h (target_ops::detach): Add comment.
250 2021-02-03 Pedro Alves <pedro@palves.net>
252 * infrun.c (struct wait_one_event): Move higher up.
253 (prepare_for_detach): Abort in-progress displaced steps instead of
254 letting them complete.
255 (handle_one): If the inferior is detaching, don't add the thread
256 back to the global step-over chain.
257 (restart_threads): Don't restart threads if detaching.
258 (handle_signal_stop): Remove inferior::detaching reference.
260 2021-02-03 Pedro Alves <pedro@palves.net>
262 * infrun.c (prepare_for_detach): Don't release scoped_restore
265 2021-02-03 Pedro Alves <pedro@palves.net>
267 * infrun.c (handle_one): New function, factored out from ...
268 (stop_all_threads): ... here.
270 2021-02-03 Pedro Alves <pedro@palves.net>
272 * remote.c (remote_notif_stop_ack): Don't error out on
273 TARGET_WAITKIND_IGNORE; instead, just ignore the notification.
274 (remote_target::discard_pending_stop_replies): Don't delete
275 in-flight notification; instead, clear its contents.
277 2021-02-03 Pedro Alves <pedro@palves.net>
279 * remote.c (extended_remote_target::attach): Set target async in
280 the target-non-stop path too.
282 2021-02-03 Pedro Alves <pedro@palves.net>
285 * infrun.c (handle_signal_stop): Move main context_switch call
286 earlier, before STOP_QUIETLY_NO_SIGSTOP.
288 2021-02-02 Lancelot SIX <lsix@lancelotsix.com>
290 * NEWS (Changed commands): Add entry for the behavior change of
291 the inferior command.
292 * inferior.c (inferior_command): When no argument is given to the
293 inferior command, display info about the currently selected
296 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
298 * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return
300 (read_attribute_reprocess): Adjust.
302 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
304 * dwarf2/die.h (struct die_info) <ranges_base>: Split in...
305 <gnu_ranges_base>: ... this...
306 <rnglists_base>: ... and this.
307 * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in...
308 <gnu_ranges_base>: ... this...
309 <rnglists_base>: ... and this.
310 (read_cutu_die_from_dwo): Adjust
311 (dwarf2_get_pc_bounds): Adjust
312 (dwarf2_record_block_ranges): Adjust.
313 (read_full_die_1): Adjust
314 (partial_die_info::read): Adjust.
315 (read_rnglist_index): Adjust.
317 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
320 * dwarf2/read.c (read_loclists_rnglists_header): Add
321 header_offset parameter and use it.
322 (read_loclist_index): Read header of the current contribution,
323 not the one at the beginning of the section.
324 (read_rnglist_index): Likewise.
326 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
329 * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear
330 requires_reprocessing flag.
331 * dwarf2/attribute.c (attribute::form_is_unsigned): Handle
333 (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx
334 and DW_FORM_loclistx.
335 * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned
336 instead of set_address for DW_FORM_loclistx and
339 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
341 * dwarf2/read.c (read_loclist_index): Remove bound check for
343 (read_rnglist_index): Likewise.
345 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
347 * dwarf2/read.c (read_loclist_index): Add bound check for the end
350 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
352 * dwarf2/read.c (read_rnglist_index): Fix bound check.
354 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
356 * dwarf2/read.c (read_loclist_index): Change complaints into
359 2021-02-02 Tom de Vries <tdevries@suse.de>
362 * dwarf2/index-write.c (write_one_signatured_type): Skip if
365 2021-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
367 * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h.
368 * gcore.c (struct gcore_collect_regset_section_cb_data): Moved
369 here from linux-tdep.c and given a new name. Minor cleanups.
370 (gcore_collect_regset_section_cb): Likewise.
371 (gcore_collect_thread_registers): Likewise.
372 (gcore_build_thread_register_notes): Likewise.
373 (gcore_find_signalled_thread): Likewise.
374 * gcore.h (gcore_build_thread_register_notes): Declare.
375 (gcore_find_signalled_thread): Declare.
376 * fbsd-tdep.c: Add 'gcore.h' include.
377 (struct fbsd_collect_regset_section_cb_data): Delete.
378 (fbsd_collect_regset_section_cb): Delete.
379 (fbsd_collect_thread_registers): Delete.
380 (struct fbsd_corefile_thread_data): Delete.
381 (fbsd_corefile_thread): Delete.
382 (fbsd_make_corefile_notes): Call
383 gcore_build_thread_register_notes instead of the now deleted
385 * linux-tdep.c: Add 'gcore.h' include.
386 (struct linux_collect_regset_section_cb_data): Delete.
387 (linux_collect_regset_section_cb): Delete.
388 (linux_collect_thread_registers): Delete.
389 (linux_corefile_thread): Call
390 gcore_build_thread_register_notes.
391 (find_signalled_thread): Delete.
392 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
394 2021-01-29 Tom de Vries <tdevries@suse.de>
397 * infrun.c (process_event_stop_test): Reset
398 ecs->event_thread->current_line to 0 if is-stmt=n and frame has
401 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
403 * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an
404 assert. Extend the header comment.
406 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
408 * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c.
409 (HFILES_NO_SRCDIR): Add tui/tui-location.h.
410 * tui/tui-data.h (TUI_STATUS_WIN): Define.
411 (tui_locator_win_info_ptr): Delete declaration.
412 * tui/tui-disasm.c: Add 'tui/tui-location.h' include.
413 (tui_disasm_window::set_contents): Fetch state from tui_location
415 (tui_get_begin_asm_address): Likewise.
416 * tui/tui-layout.c (tui_apply_current_layout): Remove special case
418 (get_locator_window): Delete.
419 (initialize_known_windows): Treat locator window just like all the
421 * tui/tui-source.c: Add 'tui/tui-location.h' include.
422 (tui_source_window::set_contents): Fetch state from tui_location
424 (tui_source_window::showing_source_p): Likewise.
425 * tui/tui-stack.c: Add 'tui/tui-location.h' include.
427 (tui_locator_win_info_ptr): Delete.
428 (tui_locator_window::make_status_line): Fetch state from
430 (tui_locator_window::rerender): Remove check of 'handle',
431 reindent function body.
432 (tui_locator_window::set_locator_fullname): Delete.
433 (tui_locator_window::set_locator_info): Delete.
434 (tui_update_locator_fullname): Delete.
435 (tui_show_frame_info): Likewise.
436 (tui_show_locator_content): Access window through TUI_STATUS_WIN.
437 * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to
438 tui/tui-location.h and renamed to
439 tui_location_tracker::set_location.
440 (tui_locator_window::set_locator_fullname): Moved to
441 tui/tui-location.h and renamed to
442 tui_location_tracker::set_fullname.
443 (tui_locator_window::full_name): Delete.
444 (tui_locator_window::proc_name): Delete.
445 (tui_locator_window::line_no): Delete.
446 (tui_locator_window::addr): Delete.
447 (tui_locator_window::gdbarch): Delete.
448 (tui_update_locator_fullname): Delete declaration.
449 * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling
451 * tui/tui-winsource.c: Add 'tui/tui-location.h' include.
452 (tui_display_main): Call function on tui_location directly.
453 * tui/tui.h (enum tui_win_type): Add STATUS_WIN.
454 * tui/tui-location.c: New file.
455 * tui/tui-location.h: New file.
457 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
459 * gdbtypes.h (get_type_arch): Rename to...
460 (struct type) <arch>: ... this, update all users.
462 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
464 * gdbtypes.h (struct type) <arch>: Rename to...
465 <arch_owner>: ... this, update all users.
466 <objfile>: Rename to...
467 <objfile_owner>: ... this, update all users.
469 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
471 * gdbcmd.h (execute_command_to_string): Update comment.
472 * top.c (execute_command_to_string): Update header comment.
474 2021-01-28 Tom de Vries <tdevries@suse.de>
477 * breakpoint.c (create_longjmp_master_breakpoint_probe)
478 (create_longjmp_master_breakpoint_names): New function, factored out
480 (create_longjmp_master_breakpoint): ... here. Only try to install
481 longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
482 breakpoint in libc.so failed.
484 2021-01-27 Lancelot SIX <lsix@lancelotsix.com>
487 * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
488 unique_ptr is released when the wrapped pointer is kept for later
491 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
493 * aarch64-tdep.c (aarch64_displaced_step_others): Account for
494 BLR and BR instructions.
495 * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
496 (enum aarch64_masks): New.
498 2021-01-26 Tom Tromey <tromey@adacore.com>
500 * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
501 (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
502 (windows_init_thread_list, windows_nat::handle_load_dll)
503 (windows_nat::handle_unload_dll, windows_nat_target::resume)
504 (windows_nat_target::resume)
505 (windows_nat_target::get_windows_debug_event)
506 (windows_nat_target::interrupt, windows_xfer_memory)
507 (windows_nat_target::close): Update.
508 * nat/windows-nat.c (DEBUG_EVENTS): Use
509 debug_prefixed_printf_cond.
510 (matching_pending_stop, fetch_pending_stop)
511 (continue_last_debug_event): Update.
513 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
515 * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
516 elfcore_write_file_note.
518 2021-01-26 Shahab Vahedi <shahab@synopsys.com>
520 * arc-tdep.c (arc_add_reggroups): New function.
521 (arc_gdbarch_init): Call arc_add_reggroups.
523 2021-01-26 Anton Kolesov <anton.kolesov@synopsys.com>
525 * arc-tdep.c (arc_skip_prologue): Log "pc" address.
527 2021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
528 Simon Marchi <simon.marchi@polymtl.ca>
529 Tom de Vries <tdevries@suse.de>
531 * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
534 2021-01-25 Tom Tromey <tromey@adacore.com>
536 * dwarf2/read.c (get_mpz): New function.
537 (get_dwarf2_rational_constant): Use it.
539 2021-01-25 Tom Tromey <tromey@adacore.com>
541 * ada-lang.c (resolve_subexp): Handle array context.
543 2021-01-23 Tom Tromey <tom@tromey.com>
546 * compile/compile-loc2c.c (note_register): New function.
547 (pushf_register_address, pushf_register): Use it.
549 2021-01-23 Tom Tromey <tom@tromey.com>
551 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
552 Change type of "registers_used".
553 * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
554 * dwarf2/loc.c (dwarf2_compile_property_to_c)
555 (locexpr_generate_c_location, loclist_generate_c_location): Change
556 type of "registers_used".
557 * compile/compile.h (compile_dwarf_expr_to_c)
558 (compile_dwarf_bounds_to_c): Update.
559 * compile/compile-loc2c.c (pushf_register_address)
560 (pushf_register, do_compile_dwarf_expr_to_c)
561 (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
563 * compile/compile-c.h (generate_c_for_variable_locations):
565 * compile/compile-c-symbols.c (generate_vla_size)
566 (generate_c_for_for_one_variable): Change type of
568 (generate_c_for_variable_locations): Return std::vector.
569 * compile/compile-c-support.c (generate_register_struct): Change
570 type of "registers_used".
573 2021-01-23 Tom Tromey <tom@tromey.com>
575 * compile/compile-internal.h (class compile_instance)
576 <set_arguments>: Change return type.
577 * compile/compile.c (compile_to_object): Remove call to reset.
578 (compile_instance::set_arguments): Change return type.
580 2021-01-23 Simon Marchi <simon.marchi@polymtl.ca>
582 * gdbtypes.c (copy_type_recursive): Use get_type_arch.
583 * gdbtypes.h (struct type) <set_owner>: Add asserts.
585 2021-01-23 Lancelot SIX <lsix@lancelotsix.com>
587 * Makefile.in (SELFTESTS_SRCS): Add
588 unittests/gdb_tilde_expand-selftests.c.
589 * unittests/gdb_tilde_expand-selftests.c: New file.
591 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
594 * NEWS: Mention new command.
595 * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
596 (version_style): Define.
597 (cli_style_option::cli_style_option): Add intensity parameter, and
599 (_initialize_cli_style): Register version style set/show commands.
600 * cli/cli-style.h (cli_style_option): Add intensity parameter.
601 (version_style): Declare.
602 * top.c (print_gdb_version): Use version_stype, and styled_string
603 to print the GDB version string.
605 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
607 * utils.c (emit_style_escape): Only emit an escape sequence if the
608 requested style is different than the current applied style.
609 (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
610 current applied_style.
611 (fputs_styled): Remove is_default check.
612 (fputs_styled_unfiltered): Likewise.
613 (vfprintf_styled_no_gdbfmt): Likewise.
615 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
617 * remote.h (remote_debug_printf): New.
618 (remote_debug_printf_nofunc): New.
619 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
620 * remote.c: Use above macros throughout file.
622 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
624 * remote.h (remote_debug): Change to bool.
625 * remote.c (remote_debug): Change to bool.
626 (_initialize_remote): Adjust.
628 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
630 * target.h (remote_debug): Move to...
631 * remote.h (remote_debug): ... here.
632 * top.c (remote_debug): Move to...
633 * remote.c (remote_debug): ... here.
634 * remote-sim.c: Include remote.h.
636 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
638 * cli/cli-cmds.c (show_remote_debug): Remove.
639 (show_remote_timeout): Remove.
640 (_initialize_cli_cmds): Don't register commands.
641 * remote.c (show_remote_debug): Move here.
642 (show_remote_timeout): Move here.
643 (_initialize_remote): Register commands.
645 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
647 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
648 type::objfile method instead.
650 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
652 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
653 use the type::is_objfile_owned method.
655 2021-01-22 Simon Marchi <simon.marchi@efficios.com>
657 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
658 (TYPE_OWNER): Remove.
659 (TYPE_OBJFILE): Adjust.
660 (struct main_type) <flag_objfile_owned>: Rename to...
661 <m_flag_objfile_owned>: ... this.
662 <owner>: Rename to...
664 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
666 (TYPE_ALLOC): Adjust.
667 * gdbtypes.c (alloc_type): Adjust.
668 (alloc_type_arch): Adjust.
669 (alloc_type_copy): Adjust.
670 (get_type_arch): Adjust.
671 (smash_type): Adjust.
672 (lookup_array_range_type): Adjust.
673 (recursive_dump_type): Adjust.
674 (copy_type_recursive): Adjust.
675 * compile/compile-c-types.c (convert_func): Adjust.
676 (convert_type_basic): Adjust.
677 * compile/compile-cplus-types.c (compile_cplus_convert_func):
680 (language_arch_info::type_and_symbol::alloc_type_symbol):
683 2021-01-21 Luis Machado <luis.machado@linaro.org>
685 * coffread.c (enter_linenos): Passing string to complaint.
686 * valops.c (value_assign): Make array view.
688 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
690 * auto-load.h (debug_auto_load): Move here.
691 (auto_load_debug_printf): New.
692 * auto-load.c: Use auto_load_debug_printf.
693 (debug_auto_load): Move to header.
694 * linux-thread-db.c (try_thread_db_load): Use
695 auto_load_debug_printf.
696 * main.c (captured_main_1): Likewise.
698 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
700 * f-valprint.c (f77_array_offset_tbl): Remove.
702 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
704 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
706 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
708 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
711 2021-01-21 Hannes Domani <ssbssa@yahoo.de>
714 * python/py-breakpoint.c (bppy_get_location): Handle
715 bp_hardware_breakpoint.
716 (bppy_init): Likewise.
717 (gdbpy_breakpoint_created): Likewise.
719 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
721 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
723 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
725 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
726 (_initialize_gdb_bfd): Adjust.
728 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
731 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
733 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
735 * dwarf2/read.c (follow_die_offset): Add logging.
736 (dwarf2_per_objfile::age_comp_units): Add logging.
738 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
740 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
741 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
742 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
743 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
744 * arm-tdep.c (struct frame_unwind): Make static.
745 * auto-load.c (auto_load_safe_path_vec): Make static.
746 * csky-tdep.c (csky_stub_unwind): Make static.
747 * gdbarch.c (gdbarch_data_registry): Make static.
748 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
749 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
750 * i386-tdep.c (i386_frame_setup_skip_insns,
751 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
753 * infrun.c (observer_mode): Make static.
754 * linux-nat.c (sigchld_action): Make static.
755 * linux-thread-db.c (thread_db_list): Make static.
756 * maint-test-options.c (maintenance_test_options_list):
757 * mep-tdep.c (mep_csr_registers): Make static.
758 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
759 (stats): Make static.
760 * nat/linux-osdata.c (struct osdata_type): Make static.
761 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
762 * progspace.c (last_program_space_num): Make static.
763 * python/py-param.c (struct parm_constant): Remove struct type
765 (parm_constants): Make static.
766 * python/py-record-btrace.c (btpy_list_methods): Make static.
767 * python/py-record.c (recpy_gap_type): Make static.
768 * record.c (record_goto_cmdlist): Make static.
769 * regcache.c (regcache_descr_handle): Make static.
770 * registry.h (DEFINE_REGISTRY): Make definition static.
771 * symmisc.c (std_in, std_out, std_err): Make static.
772 * top.c (previous_saved_command_line): Make static.
773 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
775 * unittests/command-def-selftests.c (nr_duplicates,
776 nr_invalid_prefixcmd, lists): Make static.
777 * unittests/observable-selftests.c (test_notification): Make
779 * unittests/optional/assignment/1.cc (counter): Make static.
780 * unittests/optional/assignment/2.cc (counter): Make static.
781 * unittests/optional/assignment/3.cc (counter): Make static.
782 * unittests/optional/assignment/4.cc (counter): Make static.
783 * unittests/optional/assignment/5.cc (counter): Make static.
784 * unittests/optional/assignment/6.cc (counter): Make static.
786 2021-01-20 Joel Sherrill <joel@rtems.org>
789 * remote.c (struct remote_thread_info) <resume_state>: Rename
791 <get_resume_state>: ... this.
792 (remote_target::resume): Adjust.
793 (remote_target::commit_resume): Adjust.
794 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
796 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
797 Tom Tromey <tom@tromey.com>
799 * stap-probe.c (stap_parse_single_operand): Handle '!'
801 (stap_parse_argument_conditionally): Likewise.
802 Skip spaces after processing open-parenthesis sub-expression.
803 (stap_parse_argument_1): Skip spaces after call to
804 stap_parse_argument_conditionally.
805 Handle case when right-side expression is a parenthesized
807 Skip spaces after call to stap_parse_argument_1.
809 2021-01-19 Lancelot SIX <lsix@lancelotsix.com>
811 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
813 2021-01-19 Luis Machado <luis.machado@linaro.org>
815 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
816 memory and save data.
817 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
818 (trad_frame_set_unknown, trad_frame_set_value_bytes)
819 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
820 (trad_frame_value_bytes_p): Remove.
821 (trad_frame_reset_saved_regs): Adjust documentation.
822 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
823 constructor and reset the state of the registers.
824 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
825 (trad_frame_value_bytes_p, trad_frame_set_value)
826 (trad_frame_set_realreg, trad_frame_set_addr)
827 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
828 (trad_frame_set_reg_realreg): Update to call member function.
829 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
830 (trad_frame_get_prev_register): Likewise.
832 * aarch64-tdep.c (aarch64_analyze_prologue)
833 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
834 (aarch64_prologue_prev_register): Update to use member functions.
835 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
836 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
837 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
838 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
839 (arm_make_epilogue_frame_cache): Likewise.
840 * avr-tdep.c (avr_frame_unwind_cache)
841 (avr_frame_prev_register): Likewise.
842 * cris-tdep.c (cris_scan_prologue): Likewise.
843 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
844 * frv-tdep.c (frv_analyze_prologue): Likewise.
845 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
846 * lm32-tdep.c (lm32_frame_cache): Likewise.
847 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
848 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
849 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
850 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
851 (reset_saved_regs): Adjust to set realreg.
852 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
853 call member functions.
854 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
855 * s390-tdep.c (s390_prologue_frame_unwind_cache)
856 (s390_backchain_frame_unwind_cache): Likewise.
857 * score-tdep.c (score7_analyze_prologue)
858 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
859 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
860 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
861 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
862 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
863 * tilegx-tdep.c (tilegx_analyze_prologue)
864 (tilegx_frame_cache): Likewise.
865 * v850-tdep.c (v850_frame_cache): Likewise.
866 * vax-tdep.c (vax_frame_cache): Likewise.
868 2021-01-19 Luis Machado <luis.machado@linaro.org>
870 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
872 (put_frame_register_bytes): Likewise.
873 Adjust documentation.
874 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
875 (safe_frame_unwind_memory): Likewise.
876 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
877 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
879 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
880 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
881 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
882 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
883 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
884 * dwarf2/loc.c (rw_pieced_value): Likewise.
885 * hppa-tdep.c (hppa_frame_cache): Likewise.
886 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
887 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
888 * i386-linux-tdep.c (i386_linux_sigtramp_start)
889 (i386_linux_rt_sigtramp_start): Likewise.
890 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
891 * i386-tdep.c (i386_register_to_value): Likewise.
892 * i387-tdep.c (i387_register_to_value): Likewise.
893 * ia64-tdep.c (ia64_register_to_value): Likewise.
894 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
895 (m32r_linux_rt_sigtramp_start): Likewise.
896 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
897 * m68k-tdep.c (m68k_register_to_value): Likewise.
898 * mips-tdep.c (mips_register_to_value)
899 (mips_value_to_register): Likewise.
900 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
901 (ppcfbsd_sigtramp_frame_cache): Likewise.
902 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
903 (ppcobsd_sigtramp_frame_cache): Likewise.
904 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
905 (rs6000_register_to_value): Likewise.
906 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
907 * tramp-frame.c (tramp_frame_start): Likewise.
908 * valops.c (value_assign): Likewise.
910 2021-01-19 Luis Machado <luis.machado@linaro.org>
912 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
914 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
915 instead of buffer and size.
916 (trad_frame_set_reg_value_bytes): Likewise.
917 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
918 (trad_frame_set_value_bytes): Likewise.
920 2021-01-18 Mike Frysinger <vapier@gentoo.org>
922 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
924 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
926 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
927 (riscv_fbsd_gregset): Use riscv_supply_regset.
928 (riscv_fbsd_fpregset): Likewise.
929 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
930 (riscv_linux_fregset): Likewise.
931 * riscv-tdep.c (riscv_supply_regset): Define new function.
932 * riscv-tdep.h (riscv_supply_regset): Declare new function.
934 2021-01-18 Tom de Vries <tdevries@suse.de>
937 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
939 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
942 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
944 * remote.c (class remote_target) <remote_hostio_send_command,
945 remote_hostio_parse_result>: Constify parameter.
946 (remote_hostio_parse_result): Likewise.
947 (remote_target::remote_hostio_send_command): Adjust.
948 (remote_target::remote_hostio_pread_vFile): Adjust.
949 (remote_target::fileio_readlink): Adjust.
950 (remote_target::fileio_fstat): Adjust.
952 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
954 * remote.c (remote_target::start_remote): Move wait_status to
957 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
959 * remote.c (class remote_target):
960 <add_current_inferior_and_thread>: Constify parameter.
961 (stop_reply_extract_thread): Likewise.
962 (remote_target::get_current_thread): Likewise.
963 (remote_target::add_current_inferior_and_thread): Likewise.
965 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
967 * remote.c (class remote_target)
968 <remote_unpack_thread_info_response,
969 parse_threadlist_response>: Constify parameter and/or return
970 value and or local variable.
971 (stub_unpack_int): Likewise.
972 (unpack_nibble): Likewise.
973 (unpack_byte): Likewise.
974 (unpack_int): Likewise.
975 (unpack_string): Likewise.
976 (unpack_threadid): Likewise.
977 (remote_target::remote_unpack_thread_info_response): Likewise.
978 (remote_target::parse_threadlist_response): Likewise.
980 2021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
982 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
984 2021-01-14 Lancelot Six <lsix@lancelotsix.com>
986 * MAINTAINERS (Write After Approval): Add myself.
988 2021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
990 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
991 because is_trivially_default_constructible was first implemented with
994 2021-01-14 Tom de Vries <tdevries@suse.de>
997 * objfiles.h (in_plt_section): Handle .plt.sec.
999 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1003 (remote_target::select_thread_for_ambiguous_stop_reply): New
1005 (remote_target::process_stop_reply): Call
1006 select_thread_for_ambiguous_stop_reply.
1008 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
1010 * record-btrace.c (class record_btrace_target): Remove.
1011 (record_btrace_target::commit_resume): Remove.
1012 * record-full.c (class record_full_target): Remove.
1013 (record_full_target::commit_resume): Remove.
1015 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
1017 * remote.c (enum class resume_state): New.
1018 (struct resumed_pending_vcont_info): New.
1019 (struct remote_thread_info) <resume_state, set_not_resumed,
1020 set_resumed_pending_vcont, resumed_pending_vcont_info,
1021 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
1023 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
1024 (remote_target::remote_add_thread): Adjust.
1025 (remote_target::process_initial_stop_replies): Adjust.
1026 (remote_target::resume): Adjust.
1027 (remote_target::commit_resume): Rely on state in
1028 remote_thread_info and not on tp->executing.
1029 (remote_target::process_stop_reply): Adjust.
1031 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1033 * arc-tdep.h (arc_debug_printf): New.
1034 * arc-tdep.c: Use arc_debug_printf.
1035 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
1036 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
1037 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
1039 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1041 * arc-tdep.h (arc_debug): Change type to bool.
1042 * arc-tdep.c (arc_debug): Change type to bool.
1043 (arc_analyze_prologue): Adjust.
1044 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
1045 * arc-linux-nat.c (ps_get_thread_area): Adjust.
1047 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1049 * auto-load.c (auto_load_objfile_script_1): Use bool.
1050 (execute_script_contents): Use bool.
1052 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1054 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
1056 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
1058 * extension-priv.h (struct extension_language_script_ops)
1059 <auto_load_enabled>: Return bool.
1060 * extension.h (ext_lang_auto_load_enabled): Return bool, move
1062 * extension.c (ext_lang_auto_load_enabled): Return bool, move
1064 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
1066 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
1067 move comment to header.
1068 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
1070 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
1071 move comment to header.
1073 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1075 * auto-load.h (file_is_auto_load_safe): Change return type to
1076 bool, move comment here.
1077 * auto-load.c (file_is_auto_load_safe): Change return type and
1078 advice_printed to bool. Move comment to header.
1080 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1082 * jit.c (jit_debug_printf): New, use throughout file.
1084 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1086 * infrun.c (normal_stop): Fix indentation.
1088 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1090 * top.h (readnow_symbol_files, readnever_symbol_files): Move
1092 * symfile.h: ... here.
1093 * symfile.c: Update doc.
1095 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1097 * target.h (baud_rate, serial_parity): Move declarations...
1098 * serial.h: ... here.
1099 * main.c: Include serial.h.
1100 * serial.c (baud_rate, serial_parity): Update doc.
1102 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1104 * top.c (pre_init_ui_hook): Remove.
1106 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1108 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
1109 (aarch64_vnv_type): Add "bf" type in h field of v registers.
1110 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
1111 * features/aarch64-fpu.xml: Add bfloat16 type.
1113 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1115 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
1117 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1119 * f-exp.y (dot_ops): Rename to...
1120 (fortran_operators): ...this. Add a header comment. Add symbol
1122 (yylex): Update to use fortran_operators not dot_ops. Remove
1123 special handling for '**', this is now included in
1126 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1128 * arch/aarch64-insn.h (aarch64_debug_printf): New.
1129 * arch/aarch64-insn.c: Use aarch64_debug_printf.
1130 * aarch64-tdep.c: Use aarch64_debug_printf.
1132 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1134 * solib-aix.c (solib_aix_debug_printf): New, use throughout
1137 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1139 * jit.c (jit_debug): Change type to bool.
1140 (_initialize_jit): Adjust.
1142 2021-01-09 Tom Tromey <tom@tromey.com>
1145 * compile/compile.c (compile_to_object): Avoid crash when
1146 osabi_triplet_regexp returns NULL.
1148 2021-01-09 Tom Tromey <tom@tromey.com>
1150 * tracepoint.h (class collection_list) <append_exp>: Take a
1152 * tracepoint.c (collection_list::append_exp): Take a std::string.
1153 (encode_actions_1): Update.
1155 2021-01-08 Tom Tromey <tromey@adacore.com>
1157 * parse.c (parse_expression): Add void_context_p parameter. Use
1158 parse_exp_in_context.
1159 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
1161 (print_command, call_command): Update.
1162 * expression.h (parse_expression): Add void_context_p parameter.
1164 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1166 * value.c (set_value_component_location): Adjust the VALUE_LVAL
1167 for internalvar components that have a dynamic location.
1169 2021-01-08 Tom de Vries <tdevries@suse.de>
1172 * breakpoint.c (create_exception_master_breakpoint_probe)
1173 (create_exception_master_breakpoint_hook): Factor out
1175 (create_exception_master_breakpoint): ... here. Only try to install
1176 the master exception breakpoint in objfile.debug using the
1177 _Unwind_DebugHook method, if the install using probes in objfile
1180 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1182 * f-lang.c (fortran_value_subarray): Call value_from_component.
1184 2021-01-07 Mike Frysinger <vapier@gentoo.org>
1186 * remote-sim.c: Include memory-map.h.
1187 (gdbsim_target): Define memory_map override.
1188 (gdbsim_target::memory_map): Define.
1190 2021-01-07 Tom Tromey <tromey@adacore.com>
1192 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
1194 2021-01-07 Tom Tromey <tromey@adacore.com>
1196 * ada-lang.c (add_component_interval): Start loop using vector's
1199 2021-01-06 Tom Tromey <tromey@adacore.com>
1201 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
1203 * valarith.c (fixed_point_binop): Handle multiplication
1204 and division specially.
1205 * valops.c (value_to_gdb_mpq): New function.
1206 (value_cast_to_fixed_point): Use it.
1208 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1210 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1211 Call wnoutrefresh instead of tui_win_info::refresh_window.
1213 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1215 * tui/tui-source.c (tui_source_window::show_line_number):
1216 Redraw second space after line number.
1218 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1221 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1222 Fix source pad size in prefresh.
1223 (tui_source_window_base::show_source_content): Grow source pad
1226 2021-01-04 Mike Frysinger <vapier@gentoo.org>
1228 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
1229 (bfin_frame_align): Use align_down.
1231 2021-01-04 Tom de Vries <tdevries@suse.de>
1233 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
1234 terminators that do not terminate anything.
1236 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1238 * debug.c (debug_print_depth): New.
1239 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
1240 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
1241 * infrun.c (start_step_over): Use
1242 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1243 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
1244 INFRUN_SCOPED_DEBUG_START_END.
1245 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1247 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1249 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
1251 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1253 * utils.c (vfprintf_unfiltered): Print timestamp only when
1254 previous debug output ended with a newline.
1256 2021-01-04 Luis Machado <luis.machado@linaro.org>
1258 Update all users of trad_frame_saved_reg to use the new member
1261 Remote all struct keywords from declarations of trad_frame_saved_reg
1262 types, except on forward declarations.
1264 * aarch64-tdep.c: Update.
1265 * alpha-mdebug-tdep.c: Update.
1266 * alpha-tdep.c: Update.
1267 * arc-tdep.c: Update.
1268 * arm-tdep.c: Update.
1269 * avr-tdep.c: Update.
1270 * cris-tdep.c: Update.
1271 * csky-tdep.c: Update.
1272 * frv-tdep.c: Update.
1273 * hppa-linux-tdep.c: Update.
1274 * hppa-tdep.c: Update.
1275 * hppa-tdep.h: Update.
1276 * lm32-tdep.c: Update.
1277 * m32r-linux-tdep.c: Update.
1278 * m32r-tdep.c: Update.
1279 * m68hc11-tdep.c: Update.
1280 * mips-tdep.c: Update.
1281 * moxie-tdep.c: Update.
1282 * riscv-tdep.c: Update.
1283 * rs6000-tdep.c: Update.
1284 * s390-linux-tdep.c: Update.
1285 * s390-tdep.c: Update.
1286 * score-tdep.c: Update.
1287 * sparc-netbsd-tdep.c: Update.
1288 * sparc-sol2-tdep.c: Update.
1289 * sparc64-fbsd-tdep.c: Update.
1290 * sparc64-netbsd-tdep.c: Update.
1291 * sparc64-obsd-tdep.c: Update.
1292 * sparc64-sol2-tdep.c: Update.
1293 * tilegx-tdep.c: Update.
1294 * v850-tdep.c: Update.
1295 * vax-tdep.c: Update.
1297 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
1298 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
1300 * trad-frame.c: Update.
1301 Remove TF_REG_* enum.
1302 (trad_frame_alloc_saved_regs): Add a static assertion to check for
1303 a trivially-constructible struct.
1304 (trad_frame_reset_saved_regs): Adjust to use member function.
1305 (trad_frame_value_p): Likewise.
1306 (trad_frame_addr_p): Likewise.
1307 (trad_frame_realreg_p): Likewise.
1308 (trad_frame_value_bytes_p): Likewise.
1309 (trad_frame_set_value): Likewise.
1310 (trad_frame_set_realreg): Likewise.
1311 (trad_frame_set_addr): Likewise.
1312 (trad_frame_set_unknown): Likewise.
1313 (trad_frame_set_value_bytes): Likewise.
1314 (trad_frame_get_prev_register): Likewise.
1315 * trad-frame.h: Update.
1316 (trad_frame_saved_reg_kind): New enum.
1317 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
1318 <m_kind, m_reg>: New member fields.
1319 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
1320 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
1321 <is_addr, is_unknown, is_value_bytes>: New member functions.
1323 2021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
1325 * target-float.c: Fix typos.
1327 2021-01-02 Hannes Domani <ssbssa@yahoo.de>
1329 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
1331 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1333 * gdbarch.sh: Update copyright year range.
1335 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1337 Update copyright year range in copyright header of all GDB files.
1339 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1341 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
1342 to the list of directories to update.
1344 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1346 * top.c (print_gdb_version): Update copyright year.
1348 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1350 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
1352 For older changes see ChangeLog-2020.
1358 version-control: never