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