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