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