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