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