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